/* ============================================================
   KORVEX CONSULTING — Shared Design System
   ============================================================ */

/* --- Google Fonts loaded via <link> in HTML for faster parsing --- */

/* --- Design Tokens --- */
:root {
  /* Backgrounds (blue-violet undertone) */
  --bg-deep: #060612;
  --bg-surface: #0c0c1a;
  --bg-elevated: #121220;
  --bg-card: rgba(12, 12, 26, 0.7);

  /* Amethyst Accent Range (from logo crystal) */
  --accent-deep: #3a0060;
  --accent: #9050b0;
  --accent-vivid: #c151e3;
  --accent-bright: #c890e0;
  --accent-lavender: #e0c0f0;
  --accent-glow: rgba(144, 80, 176, 0.15);
  --accent-glow-strong: rgba(193, 81, 227, 0.3);

  /* Text */
  --text-primary: #f0f0f8;
  --text-secondary: #a8a8be;
  --text-muted: #6e6e88;

  /* Borders & Glass */
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(144, 80, 176, 0.2);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-accent: rgba(144, 80, 176, 0.06);

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Layout */
  --container-max: 1280px;
  --container-padding: clamp(1.5rem, 4vw, 4rem);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}


/* ============================================================
   PRELOADER
   ============================================================ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.preloader__symbols {
  display: flex;
  gap: 6px;
}

.preloader__char {
  font-family: 'Space Mono', monospace;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-muted);
  width: 1.2em;
  text-align: center;
  display: inline-block;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.preloader__char--resolved {
  color: var(--text-primary);
  text-shadow: 0 0 20px var(--accent-glow-strong), 0 0 40px var(--accent-glow);
}

.preloader__bar {
  width: clamp(220px, 40vw, 320px);
  height: 2px;
  background: var(--border);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.preloader__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-bright));
  transition: width 0.3s var(--ease-out);
  box-shadow: 0 0 8px var(--accent-glow-strong), 0 0 20px var(--accent-glow);
}

/* Shimmer sweep across the bar */
.preloader__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200, 144, 224, 0.4), transparent);
  animation: preloader-shimmer 1.2s ease-in-out infinite;
  z-index: 1;
}

@keyframes preloader-shimmer {
  0% { left: -40%; }
  100% { left: 140%; }
}


/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Lenis overrides */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  background-color: var(--bg-deep);
  cursor: none;
}

main {
  overflow: clip;
}

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

ul, ol {
  list-style: none;
}

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

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

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


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

/* Headlines — Syne */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -2px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -3px;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  text-shadow: 0 0 40px rgba(144, 80, 176, 0.15);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -1px;
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Eyebrow / Labels — Space Mono */
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  display: block;
}

/* Body — DM Sans (already set on body) */
p {
  max-width: 620px;
}


/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}


/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-bright));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
}


/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  opacity: 0.5;
  will-change: transform;
}


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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  background: transparent;
  border-bottom: none;
  pointer-events: none;
}

.nav__logo {
  display: none;
}

.nav__links {
  position: fixed;
  top: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  z-index: 100;
  pointer-events: auto;
}

.nav__link {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
  position: relative;
  padding: 4px 0;
  pointer-events: auto;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

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

.nav__link:hover::after {
  width: 100%;
}

.nav__link.active {
  color: var(--text-muted);
}

.nav__link.active::after {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  bottom: -8px;
  left: auto;
  right: 0;
  background: var(--accent);
}

/* Book a Call — visually separated */
.nav__link--cta {
  color: var(--accent);
  border-left: 1px solid var(--accent);
  padding-left: 12px;
  margin-top: 4px;
}

.nav__link--cta:hover {
  color: var(--accent-bright);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease-out);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}


/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-deep);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -1px;
  transition: color 0.3s var(--ease-out);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: var(--accent);
}

.mobile-menu__cta {
  margin-top: var(--space-md);
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 14px 32px;
  border: 1px solid var(--accent);
}


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

.footer {
  background: rgba(6, 6, 18, 0.92);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.footer__cta-section {
  text-align: center;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
  position: relative;
}

.footer__cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: var(--accent-glow-strong);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.footer__cta-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-xs);
  position: relative;
  z-index: 1;
}

.footer__cta-subline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: var(--space-md);
}

.footer__cta-subline,
.footer__cta-btn {
  position: relative;
  z-index: 1;
}

.footer__cta-btn {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent);
  padding: 20px 56px;
  display: inline-block;
  transition: all 0.3s var(--ease-out);
  animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 40px var(--accent-glow-strong); }
}

.footer__cta-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--border-accent);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), inset 0.3s var(--ease-out);
}

.footer__cta-btn:hover::after {
  opacity: 1;
  inset: -8px;
}

.footer__cta-btn:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 40px var(--accent-glow-strong);
}

/* Footer top grid */
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* Brand column */
.footer__logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 6px;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}

.footer__logo:hover {
  color: var(--accent-bright);
}

.footer__tagline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 320px;
}

/* Nav + contact column labels */
.footer__nav-label,
.footer__contact-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer__nav-link {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s ease;
}

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

/* Contact column */
.footer__contact-link {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s ease;
}

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

.footer__contact-link--cta {
  color: var(--accent);
  font-weight: 500;
}

.footer__contact-link--cta:hover {
  color: var(--accent-bright);
}

.footer__location {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  opacity: 0.6;
}

/* Divider */
.footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent) 50%, transparent);
  margin-bottom: 30px;
}

/* Bottom row */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.5;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer__legal-link:hover {
  opacity: 1;
  color: var(--text-secondary);
}


/* ============================================================
   BUTTONS (shared)
   ============================================================ */

.btn-primary {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent);
  padding: 14px 32px;
  display: inline-block;
  transition: all 0.3s var(--ease-out);
}

.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 30px var(--accent-glow-strong);
}

.btn-ghost {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 14px 32px;
  border: 1px solid var(--border-accent);
  display: inline-block;
  transition: all 0.3s var(--ease-out);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* ============================================================
   FIXED BACKGROUND LAYERS (particles + Spline orb)
   ============================================================ */

#hero-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

#spline-orb {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55vw;
  height: 55vw;
  max-width: 750px;
  max-height: 750px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  --spline-viewer-logo-display: none;
}

/* Hide Spline watermark via shadow DOM parts and CSS variable */
spline-viewer::part(logo) {
  display: none !important;
}

#spline-orb img[alt*="logo"],
#spline-orb a[href*="spline"] {
  display: none !important;
}


/* ============================================================
   HERO (Home page)
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

/* Glow orbs */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: var(--accent-glow);
  top: 10%;
  left: -10%;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: var(--accent-glow);
  bottom: 5%;
  right: -5%;
}

/* Mobile watermark (hidden on desktop) */
.hero__watermark {
  display: none;
}

.hero__container {
  position: static;
}

.hero__content {
  position: absolute;
  bottom: 14vh;
  left: 10%;
  max-width: 44%;
  z-index: 2;
  text-align: left;
  text-shadow: 0 2px 30px rgba(6, 6, 18, 0.8);
}

/* Eyebrow with line */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--space-md);
  opacity: 0;
  color: var(--accent-bright);
  font-size: 12px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent-bright);
  flex-shrink: 0;
}

.hero__headline {
  font-size: clamp(3rem, 7.5vw, 5rem);
  letter-spacing: -3px;
  line-height: 1.05;
  margin-bottom: var(--space-sm);
}

.hero__description {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(240, 240, 248, 0.7);
  max-width: 560px;
  margin: 0 0 20px;
  opacity: 0;
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: flex-start;
  opacity: 0;
}

/* ── KORVEX brand title above orb ─────────────────────────── */
.hero__brand-title {
  position: absolute;
  top: 18vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 9vw, 100px);
  letter-spacing: 14px;
  color: var(--text-primary);
  text-align: center;
  pointer-events: none;
  animation: korvexGlow 4s ease-in-out infinite;
}

@keyframes korvexGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(144, 80, 176, 0.08); opacity: 0.9; }
  50% { text-shadow: 0 0 60px rgba(144, 80, 176, 0.2); opacity: 1; }
}

/* ============================================================
   CONTENT SECTIONS — frosted glass over fixed background layers
   ============================================================ */

/* Treatment A: solid overlay (text-heavy sections) */
.ticker,
.problems {
  position: relative;
  z-index: 1;
}

/* Treatment B: elevated solid (visual sections) */
.work-preview,
.testimonials {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.ticker {
  background: rgba(6, 6, 18, 0.6);
}

.problems {
  background: rgba(6, 6, 18, 0.6);
}

.work-preview {
  background: rgba(18, 18, 32, 0.65);
}

.testimonials {
  background: rgba(18, 18, 32, 0.65);
}


/* ============================================================
   SECTION DIVIDERS — gradient accent lines between sections
   ============================================================ */

.section-divider {
  height: 1px;
  width: 60%;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0.3;
  position: relative;
  z-index: 1;
}


/* ============================================================
   AMBIENT GLOW ORBS — fixed atmospheric fog
   ============================================================ */

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.ambient-glow--tl {
  width: 400px;
  height: 400px;
  background: var(--accent-glow);
  filter: blur(60px);
  top: 10%;
  left: -10%;
  opacity: 0.4;
}

.ambient-glow--br {
  width: 500px;
  height: 500px;
  background: rgba(58, 0, 96, 0.2);
  filter: blur(60px);
  bottom: 5%;
  right: -15%;
  opacity: 0.3;
}


/* ============================================================
   TICKER DIVIDER
   ============================================================ */

.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker__content {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-right: 24px;
  flex-shrink: 0;
}

.ticker__diamond {
  color: var(--accent);
  margin: 0 20px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================================
   PROBLEMS → SOLUTIONS (Home page)
   ============================================================ */

.problems {
  padding: 140px 0;
}

.problems__headline {
  margin-bottom: var(--space-lg);
}

/* Section image placeholder */
.section-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-image--placeholder {
  height: 260px;
  background: linear-gradient(135deg, var(--accent-deep), var(--bg-elevated));
  opacity: 0.3;
  border-radius: 2px;
  margin-bottom: var(--space-xl);
}

.section-image-wrap {
  position: relative;
  margin-bottom: var(--space-xl);
  overflow: hidden;
  border-radius: 2px;
}

.section-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-deep) 100%);
  pointer-events: none;
}

.problems__list {
  position: relative;
}

.problems__pair {
  opacity: 0;
}

.problems__divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  background-size: 200% 100%;
  transform-origin: left;
  transform: scaleX(0);
  animation: shimmerLine 3s linear infinite paused;
}

.problems__divider--last {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  background-size: 200% 100%;
  transform-origin: left;
  transform: scaleX(0);
  animation: shimmerLine 3s linear infinite paused;
}

.problems__divider--visible {
  animation-play-state: running;
}

@keyframes shimmerLine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.problems__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  padding: 60px 0;
  position: relative;
}

.problems__index {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--accent);
  opacity: 0.08;
  letter-spacing: -2px;
  line-height: 1;
  position: absolute;
  top: 40px;
  left: 0;
  pointer-events: none;
}

.problems__problem {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.2;
  max-width: none;
  position: relative;
  z-index: 1;
}

.problems__solution {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--accent-bright);
  line-height: 1.7;
  max-width: 560px;
  position: relative;
  z-index: 1;
}


/* ============================================================
   ROBOT BREAK (Home page)
   ============================================================ */



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


/* ============================================================
   CLIENT LOGOS (shared)
   ============================================================ */

.client-logo {
  display: inline-block;
  object-fit: contain;
  flex-shrink: 0;
}

.client-logo--sm {
  width: 32px;
  height: 32px;
}

.client-logo--testimonial {
  width: 60px;
  height: 60px;
}

.client-logo--lg {
  width: 100px;
  height: 100px;
}

/* Work preview card — logo fills card background at low opacity */
.wp-card__logo {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  object-fit: contain;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

/* Case study title — logo inline with heading */
.cs__title-with-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonials__attribution {
  display: flex;
  align-items: center;
  gap: 14px;
}


/* ============================================================
   WHY KORVEX — Pinned Scroll (Home page)
   ============================================================ */

.why {
  position: relative;
  z-index: 1;
  height: 400vh;
  background: transparent;
}

.why__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.why__layout {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Top band: eyebrow + headline + progress — sits above the orb */
.why__left {
  padding-top: 10vh;
  padding-bottom: var(--space-md);
  flex-shrink: 0;
}

.why__headline {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.1;
  color: var(--text-muted);
  background: none;
  text-shadow: none;
}

.why__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.why__counter {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--text-muted);
}

.why__counter-current {
  color: var(--accent);
  font-weight: 700;
}

.why__progress-bar {
  width: 160px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.why__progress-fill {
  width: 25%;
  height: 100%;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

/* Center: value props — fixed to viewport center (aligned with orb) */
.why__right {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  padding: 0 var(--container-padding);
  pointer-events: none;
  z-index: 2;
}

.why__prop {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.why__prop[data-why="0"] {
  opacity: 1;
  pointer-events: auto;
}

.why__number {
  display: none;
}

.why__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--text-primary);
}

.why__desc {
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.why__line {
  display: none;
}

/* Mobile stacked fallback */
.why__mobile {
  display: none;
}

.why__mobile-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: var(--space-xl);
}

.why__mobile-prop {
  opacity: 0;
}


/* ============================================================
   WORK PREVIEW (Home page)
   ============================================================ */

.work-preview {
  padding: 140px 0;
}

.work-preview__headline {
  margin-bottom: var(--space-xl);
}

/* Preview cards container */
.wp-cards {
  display: flex;
  flex-direction: column;
}

/* Each card — full-width horizontal row */
.wp-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-lg);
  padding: 48px 0;
  text-decoration: none;
  position: relative;
  transition: background 0.3s var(--ease-out);
}

.wp-card:hover {
  background: var(--glass);
}

.wp-card:hover .wp-card__link {
  color: var(--accent-bright);
}

.wp-card:hover .wp-card__link::after {
  width: 100%;
}

/* Giant background number */
.wp-card__number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(4.5rem, 8vw, 7rem);
  color: var(--accent);
  opacity: 0.1;
  line-height: 0.8;
  letter-spacing: -3px;
  align-self: start;
}

/* Card body — right side content */
.wp-card__body {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 12px var(--space-xl);
  align-items: start;
}

/* Meta: title + industry */
.wp-card__meta {
  grid-column: 1;
  grid-row: 1;
}

.wp-card__title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.wp-card__industry {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Stat block — top right */
.wp-card__stat-block {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.wp-card__stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--accent-vivid);
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: 0 0 40px rgba(144, 80, 176, 0.15);
  white-space: nowrap;
}

.wp-card__stat-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
}

/* Summary — spans full width */
.wp-card__summary {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

/* Read link */
.wp-card__link {
  grid-column: 1;
  grid-row: 3;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  display: inline-block;
  transition: color 0.3s var(--ease-out);
}

.wp-card__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

/* Divider between cards */
.wp-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0.2;
  transform: scaleX(0);
  transform-origin: center;
}

/* View all link */
.work-preview__link-wrap {
  text-align: center;
  margin-top: var(--space-xl);
}

.work-preview__link {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.work-preview__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.work-preview__link:hover::after {
  width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
  .wp-card {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding: 36px 0;
  }

  .wp-card__number {
    font-size: clamp(3.5rem, 12vw, 5rem);
  }

  .wp-card__body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wp-card__stat-block {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
    align-items: flex-start;
  }

  .wp-card__summary {
    grid-column: 1;
  }

  .wp-card__link {
    grid-column: 1;
  }
}


/* ============================================================
   TESTIMONIALS — carousel (Home page)
   ============================================================ */

.testimonials {
  padding: 120px 0 140px;
  text-align: center;
}

.testimonials__headline {
  margin-bottom: var(--space-xl);
}

.testimonials__carousel {
  position: relative;
  min-height: 280px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonials__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.testimonials__slide--active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.testimonials__quote-mark {
  display: none;
}

.testimonials__text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 30px 0;
  padding: 0;
  border: none;
  max-width: none;
}

.testimonials__attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonials__name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.testimonials__role {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonials__dot--active {
  background: var(--accent);
  transform: scale(1.3);
}

.testimonials__dot:hover {
  background: var(--accent-bright);
}


/* ── Problems Network (Home — SPOT 1) ───────────────────────── */

.problems-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

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


/* ── Pulse Line Transition (Home — SPOT 2) ──────────────────── */

.pulse-line {
  width: 100%;
  height: 100px;
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.pulse-line__svg {
  width: 100%;
  height: 100%;
  display: block;
}

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


/* ── Work Card Accent SVGs (Home — SPOT 3) ──────────────────── */

.wp-card__accent {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  height: auto;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

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


/* ============================================================
   HERO BACKGROUND IMAGE (sub-pages)
   ============================================================ */

.page-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.page-hero__bg-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-deep), var(--bg-elevated));
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.page-hero__bg-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--bg-deep));
  z-index: 0;
  pointer-events: none;
}


/* ── Hero Graphic (sub-page decorative SVGs) ────────────────── */

.hero-graphic {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 700px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.hero-graphic img {
  width: 100%;
  height: auto;
  display: block;
}

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


/* ============================================================
   UTILITY: text reveal structure
   ============================================================ */

.line {
  overflow: hidden;
  display: block;
}

.line span {
  display: inline-block;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  /* ── Global ──────────────────────────────────────────────── */
  body { cursor: auto; }
  button { cursor: pointer; }
  .cursor-dot, .cursor-ring { display: none !important; }

  .section {
    padding: var(--space-xl) 0;
  }

  /* ── Nav ──────────────────────────────────────────────────── */
  .nav {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6, 6, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__logo {
    display: flex;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 6px;
    color: var(--text-primary);
    text-decoration: none;
  }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  /* Section headlines — bigger and clearer on mobile */
  h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    letter-spacing: -1px;
    text-shadow: none;
    line-height: 1.15;
  }

  /* ── Hero — clean centered layout ────────────────────────── */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 40px;
  }

  .hero__brand-title {
    display: none;
  }

  .hero__container {
    width: 100%;
  }

  .hero__content {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 100%;
    width: 100%;
    padding: 0 24px;
    text-align: center;
    text-shadow: none;
  }

  .hero__eyebrow {
    justify-content: center;
    font-size: 10px;
    letter-spacing: 3px;
  }

  .hero__eyebrow::before {
    display: none;
  }

  .hero__headline {
    font-size: clamp(32px, 9vw, 44px);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero__description {
    font-size: 15px;
    line-height: 1.65;
    padding: 0 8px;
    max-width: 100%;
  }

  .hero__description br { display: none; }

  .hero__ctas {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero__ctas .btn-primary,
  .hero__ctas .btn-ghost {
    width: 100%;
    max-width: 280px;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 16px 32px;
  }

  .hero__glow--1 { width: 280px; height: 280px; }
  .hero__glow--2 { width: 180px; height: 180px; }

  /* Hide Spline on mobile — shadow DOM can't be styled properly */
  #spline-orb,
  spline-viewer { display: none !important; }
  .ambient-glow { display: none; }

  .hero__watermark {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 220px;
    height: auto;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
  }

  /* ── Ticker ──────────────────────────────────────────────── */
  .ticker { padding: 14px 0; }
  .ticker__content { font-size: 12px; letter-spacing: 4px; }

  /* ── Problems ────────────────────────────────────────────── */
  .problems { padding: 60px 0; }

  .problems__index {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    position: static;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
  }

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

  .problems__problem {
    grid-column: 2;
    font-size: clamp(1.125rem, 4.5vw, 1.5rem);
    margin-bottom: 4px;
  }

  .problems__solution {
    grid-column: 2;
    font-size: 15px;
  }

  /* ── Why — stacked fallback ──────────────────────────────── */
  .why { height: auto; }
  .why__pin { display: none; }

  .why__mobile {
    display: block;
    padding: 60px 0;
  }

  .why__mobile-grid {
    gap: 48px;
    margin-top: var(--space-lg);
  }

  .why__mobile .why__number {
    position: static;
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 8px;
    display: block;
  }

  .why__mobile .why__title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    margin-bottom: 8px;
  }

  .why__mobile .why__desc {
    font-size: 15px;
    line-height: 1.65;
  }

  /* ── Work Preview ────────────────────────────────────────── */
  .work-preview { padding: 60px 0; }
  .work-preview__headline { margin-bottom: var(--space-lg); }

  .wp-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }

  .wp-card__number { font-size: clamp(3rem, 10vw, 4rem); }

  .wp-card__body {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wp-card__stat-block {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
    align-items: flex-start;
  }

  .wp-card__summary { grid-column: 1; font-size: 15px; }
  .wp-card__link { grid-column: 1; padding: 12px 0; }

  /* ── Testimonials ────────────────────────────────────────── */
  .testimonials { padding: 60px 0; }

  .testimonials__carousel { min-height: 360px; }
  .testimonials__text { font-size: 16px; line-height: 1.7; }

  .testimonials__dot {
    width: 10px;
    height: 10px;
  }

  /* ── Footer ──────────────────────────────────────────────── */
  .footer { padding: 48px 0 24px; }

  .footer__cta-glow { width: 300px; height: 300px; }
  .footer__cta-btn { padding: 18px 40px; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer__tagline { max-width: 100%; }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__legal { gap: 16px; }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-lg) 0;
  }
}


/* ============================================================
   SERVICES PAGE
   ============================================================ */

/* ── Services Hero ────────────────────────────────────────── */

.svc-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--bg-deep);
  overflow: hidden;
}

.svc-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.svc-hero__glow--1 {
  width: 500px;
  height: 500px;
  background: rgba(144, 80, 176, 0.12);
  top: -10%;
  right: -5%;
}

.svc-hero__glow--2 {
  width: 420px;
  height: 420px;
  background: rgba(58, 0, 96, 0.15);
  bottom: -15%;
  left: -8%;
}

.svc-hero__container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.svc-hero__eyebrow {
  opacity: 0;
}

.svc-hero__headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.svc-hero__description {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0;
}

/* Service anchor tags */
.svc-hero__tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.svc-hero__tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
}

.svc-hero__tag:hover {
  color: var(--accent-bright);
}

.svc-hero__tag-dot {
  color: var(--accent);
  font-size: 14px;
}


/* ── Service Sections ─────────────────────────────────────── */

.svc-sections {
  position: relative;
  z-index: 1;
  background: rgba(6, 6, 18, 0.88);
  padding-top: 140px;
  padding-bottom: 140px;
}

.svc-section {
  padding: 60px 0;
}

.svc-section + .svc-divider {
  /* divider between services */
}

.svc-section__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-xl);
  align-items: start;
}

/* Layout B: reversed columns */
.svc-section--b .svc-section__grid {
  grid-template-columns: 45% 55%;
}

.svc-section--b .svc-section__info {
  order: 2;
}

.svc-section--b .svc-section__details {
  order: 1;
}

.svc-section__number {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(6rem, 12vw, 10rem);
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
}

.svc-section__title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 40px rgba(144, 80, 176, 0.15);
}

.svc-section__body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

.svc-section__label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--space-sm);
}

.svc-section__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: var(--space-lg);
}

.svc-section__list li {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-section__list li::before {
  content: '';
  display: block;
  width: 12px;
  height: 1px;
  background: var(--accent-bright);
  flex-shrink: 0;
}

.svc-section__cta {
  opacity: 0;
}

.svc-section__cta .btn-primary:hover,
.svc-section__cta .btn-ghost:hover {
  box-shadow: 0 0 30px var(--accent-glow);
}

/* Divider between services */
.svc-divider {
  height: 2px;
  width: 60%;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  background-size: 200% 100%;
  opacity: 0.3;
  animation: shimmerLine 3s linear infinite;
  transform: scaleX(0);
}

/* Spacing between service sections: 120px total via padding */
.svc-divider + .svc-section {
  margin-top: 0;
}


/* ── Services Page Responsive ─────────────────────────────── */

@media (max-width: 768px) {
  .svc-hero {
    padding: 140px 0 60px;
  }

  .svc-hero__glow--1 { width: 250px; height: 250px; }
  .svc-hero__glow--2 { width: 200px; height: 200px; }

  .svc-sections {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .svc-section__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .svc-section--b .svc-section__info {
    order: 1;
  }

  .svc-section--b .svc-section__details {
    order: 2;
  }

  .svc-section__body {
    max-width: none;
  }
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ── About Hero ──────────────────────────────────────────── */

.abt-hero {
  position: relative;
  padding: 180px 0 80px;
  background: var(--bg-deep);
  overflow: hidden;
}

.abt-hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.abt-hero__container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.abt-hero__eyebrow {
  opacity: 0;
}

.abt-hero__headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto;
}


/* ── Company Story ───────────────────────────────────────── */

.abt-story {
  padding: 140px 0;
  background: var(--bg-deep);
}

.abt-story__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.abt-story__para {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  line-height: 1.8;
  max-width: none;
}

.abt-story__para--1 {
  font-weight: 400;
  color: var(--text-primary);
}

.abt-story__para--2,
.abt-story__para--3 {
  font-weight: 300;
  color: var(--text-secondary);
}

.abt-story__accent {
  color: var(--accent);
}

.abt-story__emphasis {
  color: var(--accent-bright);
}


/* ── Section Dividers ────────────────────────────────────── */

.abt-divider {
  height: 2px;
  width: 60%;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  background-size: 200% 100%;
  opacity: 0.3;
  animation: shimmerLine 3s linear infinite;
  transform: scaleX(0);
  transform-origin: left;
}


/* ── The Team ────────────────────────────────────────────── */

.abt-team {
  padding: 140px 0 120px;
  background: var(--bg-deep);
}

.abt-team__eyebrow {
  /* inherits .eyebrow */
}

.abt-team__headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: var(--space-xl);
  text-shadow: 0 0 40px rgba(144, 80, 176, 0.15);
}

.abt-team__columns {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-xl);
}

.abt-team__col p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: none;
}

.abt-team__highlight {
  color: var(--text-primary);
}


/* ── Values ──────────────────────────────────────────────── */

.abt-values {
  padding: 120px 0 140px;
  background: var(--bg-deep);
}

.abt-values__eyebrow {
  /* inherits .eyebrow */
}

.abt-values__headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: var(--space-xl);
  text-shadow: 0 0 40px rgba(144, 80, 176, 0.15);
}

.abt-values__list {
  display: flex;
  flex-direction: column;
}

.abt-values__row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 32px 0;
}

.abt-values__number {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--accent);
  opacity: 0.2;
  width: 100px;
  flex-shrink: 0;
  line-height: 1;
}

.abt-values__text {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.abt-values__divider-line {
  height: 1px;
  background: var(--border);
  transform: scaleX(0);
  transform-origin: left;
}


/* ── About Page Responsive ───────────────────────────────── */

@media (max-width: 768px) {
  .abt-hero {
    padding: 140px 0 60px;
  }

  .abt-hero__glow {
    width: 280px;
    height: 280px;
  }

  .abt-story {
    padding: 80px 0;
  }

  .abt-story__content {
    gap: var(--space-md);
  }

  .abt-story__para {
    font-size: 18px;
  }

  .abt-team {
    padding: 80px 0;
  }

  .abt-team__columns {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .abt-values {
    padding: 80px 0;
  }

  .abt-values__number {
    width: 70px;
  }
}


/* ============================================================
   WORK PAGE
   ============================================================ */

/* ── Work Hero ──────────────────────────────────────────────── */

.wrk-hero {
  position: relative;
  padding: 180px 0 80px;
  background: var(--bg-deep);
  overflow: hidden;
}

.wrk-hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.wrk-hero__container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.wrk-hero__eyebrow {
  opacity: 0;
}

.wrk-hero__headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.wrk-hero__description {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0;
}


/* ── Work Content Wrapper ───────────────────────────────────── */

.wrk-content {
  position: relative;
  z-index: 1;
  background: rgba(6, 6, 18, 0.88);
  padding-top: 80px;
  padding-bottom: 140px;
}


/* ── Case Study Section ────────────────────────────────────── */

.cs {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.cs__bg-logo {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  object-fit: contain;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.cs > .container {
  position: relative;
  z-index: 1;
}

/* Header: number + tags row */
.cs__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.cs__number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 10vw, 9rem);
  color: var(--accent);
  opacity: 0.1;
  line-height: 0.8;
  letter-spacing: -4px;
  flex-shrink: 0;
}

.cs__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: flex-end;
  padding-bottom: 8px;
}

.cs__tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--glass-accent);
  border: 1px solid var(--border-accent);
  padding: 5px 12px;
}

/* Title row */
.cs__title-row {
  margin-bottom: var(--space-lg);
}

.cs__title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.cs__industry {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Stat block — hero numbers */
.cs__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: var(--space-xl);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cs__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs__stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--accent-vivid);
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: 0 0 30px var(--accent-glow);
}

.cs__stat-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Divider inside case study */
.cs__divider {
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.25;
  margin-bottom: var(--space-xl);
  transform: scaleX(0);
  transform-origin: left;
}

/* Two-column body */
.cs__body {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.cs__col-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-md);
}

.cs__col p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: none;
  margin-bottom: var(--space-md);
}

.cs__col p:last-child {
  margin-bottom: 0;
}

/* Build list */
.cs__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs__list li {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.cs__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.cs__list li strong {
  font-weight: 500;
  color: var(--text-primary);
}

/* Result callout */
.cs__result {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 32px 36px;
  position: relative;
}

.cs__result::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
  pointer-events: none;
}

.cs__result p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.8;
  max-width: none;
  position: relative;
  z-index: 1;
}

/* Section divider between case studies */
.cs__section-divider {
  height: 1px;
  width: 50%;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0.2;
  transform: scaleX(0);
}

/* Case study testimonials */
.cs__testimonial {
  margin-top: 60px;
  padding: 40px 50px;
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  position: relative;
}

.cs__testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(144, 80, 176, 0.04) 0%, transparent 60%);
  border-radius: 0 4px 4px 0;
  pointer-events: none;
}

.cs__testimonial-quote {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 80px;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.15;
  margin-bottom: -10px;
  position: relative;
  z-index: 1;
}

.cs__testimonial-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
  padding: 0;
  border: none;
  position: relative;
  z-index: 1;
}

.cs__testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.cs__testimonial-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}

.cs__testimonial-role {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}


/* ── Work Page Responsive ───────────────────────────────────── */

@media (max-width: 768px) {
  .wrk-hero {
    padding: 140px 0 60px;
  }

  .wrk-hero__glow {
    width: 250px;
    height: 250px;
  }

  .wrk-content {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .cs {
    padding: 60px 0 40px;
  }

  .cs__header {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .cs__number {
    font-size: clamp(4rem, 15vw, 6rem);
  }

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

  .cs__body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .cs__result {
    padding: 24px 28px;
  }

  .cs__testimonial {
    padding: 30px 24px;
  }

  .cs__testimonial-quote {
    font-size: 60px;
  }

  .cs__testimonial-text {
    font-size: 16px;
  }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ── Contact Hero ────────────────────────────────────────── */

.ctc-hero {
  position: relative;
  padding: 160px 0 40px;
  background: var(--bg-deep);
  overflow: hidden;
}

.ctc-hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.ctc-hero__container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ctc-hero__headline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  text-shadow: 0 0 40px rgba(144, 80, 176, 0.15);
}

.ctc-hero__subline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: var(--space-sm) auto 0;
  line-height: 1.7;
  opacity: 0;
}


/* ── Contact Body Layout ─────────────────────────────────── */

.ctc-body {
  padding: 60px 0 140px;
  background: var(--bg-deep);
}

.ctc-body__wrap {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}


/* ── Form ────────────────────────────────────────────────── */

.ctc-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ctc-field {
  display: flex;
  flex-direction: column;
}

.ctc-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ctc-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: none;
}

.ctc-input::placeholder {
  color: var(--text-muted);
}

.ctc-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 0 20px var(--accent-glow);
}

.ctc-input--textarea {
  padding: 18px;
  resize: vertical;
  min-height: 140px;
}

.ctc-submit {
  width: 100%;
  padding: 18px;
  margin-top: 12px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  border: none;
  transition: box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.ctc-submit:hover {
  box-shadow: 0 0 30px var(--accent-glow);
  background: var(--accent-bright);
}

.ctc-disclaimer {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: none;
}


/* ── Success State ─────────────────────────────────────── */

.ctc-success {
  text-align: center;
  padding: 80px 0;
}

.ctc-success__check {
  width: 72px;
  height: 72px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.ctc-success__title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-primary);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.ctc-success__text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 12px;
}

.ctc-success__time {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}

.ctc-success__link {
  display: inline-block;
}


/* ── Info Column ─────────────────────────────────────────── */

.ctc-info-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 4px;
}

.ctc-info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ctc-info__prefer {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: none;
  margin-bottom: 4px;
}

.ctc-info__book {
  align-self: flex-start;
}

.ctc-info__label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ctc-info__email {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--accent-bright);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.ctc-info__email:hover {
  color: var(--accent-lavender);
  text-decoration: underline;
}

.ctc-info__location {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--text-primary);
}

.ctc-info__response {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-secondary);
  max-width: none;
}

.ctc-info__response-fast {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--accent);
  max-width: none;
}


/* ── Contact Responsive ──────────────────────────────────── */

@media (max-width: 768px) {
  .ctc-hero {
    padding: 140px 0 30px;
  }

  .ctc-hero__glow {
    width: 250px;
    height: 250px;
  }

  .ctc-body {
    padding: 40px 0 80px;
  }

  .ctc-body__wrap {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .ctc-info-col {
    padding-top: 0;
  }
}
