/* ============================================================
   SCS Labs — Design System & Styles
   Color palette aligned with logo's warm coral-red identity
   ============================================================ */

/* — Google Fonts — */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* — Color Tokens (aligned with logo coral-red) — */
:root {
  --black: #060608;
  --charcoal: #0c0c10;
  --panel: #111117;
  --panel-hover: #16161e;
  --coral: #d4505b;
  --coral-light: #e8636e;
  --coral-dark: #b5393f;
  --rose: #ff8a93;
  --wine: #3d0a10;
  --deep: #1a0508;
  --off-white: #f0eced;
  --muted: #9a8e90;
  --muted-light: #b5a8aa;
  --line: rgba(240, 236, 237, 0.08);
  --line-hover: rgba(240, 236, 237, 0.15);
  --glow: rgba(212, 80, 91, 0.15);
  --glow-strong: rgba(212, 80, 91, 0.35);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--off-white);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* — Typography — */
h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  letter-spacing: -1.5px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.5px;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
}

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral);
}

.muted {
  color: var(--muted);
}

/* — Layout — */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
  position: relative;
}

/* — Section Title — */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .eyebrow {
  margin-bottom: 1rem;
  display: block;
}

.section-header p {
  color: var(--muted);
  max-width: 520px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

/* ============================================================
   LIVE BACKGROUND CANVAS
   ============================================================ */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.4s ease;
}

.nav.scrolled {
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line), 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 0.7rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.3s ease;
  font-weight: 500;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--off-white);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--off-white);
  box-shadow: 0 4px 24px rgba(212, 80, 91, 0.25);
}

/* Animated shine on primary buttons */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 80, 91, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--line-hover);
}

.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 80, 91, 0.1);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
  z-index: 1;
}

/* Radial ambient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 80, 91, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: ambientPulse 8s ease-in-out infinite;
}

@keyframes ambientPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content .eyebrow {
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Animated underline under eyebrow */
.hero-content .eyebrow::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--coral);
  margin-top: 6px;
  border-radius: 1px;
  animation: eyebrowLine 1.5s ease-out 0.5s forwards;
}

@keyframes eyebrowLine {
  to {
    width: 50px;
  }
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content h1 .crimson {
  color: var(--coral);
  position: relative;
  display: inline-block;
}

/* Animated glow behind "Scale." */
.hero-content h1 .crimson::after {
  content: '';
  position: absolute;
  inset: -8px -16px;
  background: radial-gradient(ellipse, rgba(212, 80, 91, 0.15), transparent 70%);
  z-index: -1;
  border-radius: 8px;
  animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.hero-content .subhead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-logo-visual {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 45%;
  z-index: 10;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: heroLogoFadeIn 1.2s ease-out forwards;
}

.hero-logo-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 0 60px rgba(212, 80, 91, 0.25));
  animation: heroLogoFloat 8s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.logo-explanation {
  position: absolute;
  bottom: -40px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 1rem 1.25rem;
  max-width: 320px;
  text-align: center;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: none;
  z-index: 20;
}

.logo-explanation p {
  color: rgba(212, 80, 91, 0.15);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(var(--rose) 0%,
      var(--coral) 50%,
      rgba(212, 80, 91, 0.15) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-logo-visual:hover .hero-logo-img {
  transform: scale(1.04) translateY(-8px);
  filter: drop-shadow(0 0 80px rgba(212, 80, 91, 0.45));
}

.hero-logo-visual:hover .logo-explanation {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}


@keyframes heroLogoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes heroLogoFloat {

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

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

/* ============================================================
   ANIMATED SECTION DIVIDERS
   ============================================================ */
.section-divider {
  position: relative;
  height: 1px;
  background: var(--line);
  margin: 0 auto;
  max-width: 1200px;
  overflow: visible;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  border-radius: 1px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-divider.visible::before {
  width: 120px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--charcoal);
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Animated border gradient on cards */
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
}

/* Corner glow effect on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 0 0, var(--glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Bottom accent line that animates on hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 1px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--glow);
  border-color: var(--line-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  width: 60%;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--wine), var(--coral-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(212, 80, 91, 0.2);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   STATS BAR (animated counters)
   ============================================================ */
.stats {
  background: var(--black);
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  z-index: 1;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: -1px;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* Dividers between stats */
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--line-hover);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
  z-index: 1;
}

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

.project-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
}

.project-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 100% 100%, var(--glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--glow);
  border-color: var(--line-hover);
}

.project-card:hover::before {
  opacity: 1;
}

.project-thumbnail {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.65;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  z-index: 1;
}

.project-card:hover .project-thumb-img {
  transform: scale(1.05);
  opacity: 0.85;
}

/* Shimmer overlay on thumbnail hover */
.project-thumbnail::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transition: left 0.8s ease;
  z-index: 2;
}

.project-card:hover .project-thumbnail::after {
  left: 200%;
}

.project-thumbnail svg {
  width: 100%;
  height: 100%;
}

.project-body {
  padding: 1.75rem 2rem 2rem;
}

.project-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(212, 80, 91, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(212, 80, 91, 0.15);
}

.project-body h3 {
  margin-bottom: 0.5rem;
}

.project-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.project-link:hover {
  color: var(--rose);
  gap: 0.8rem;
}

/* ============================================================
   CONTACT / CTA BAND
   ============================================================ */
.contact {
  background: var(--charcoal);
  text-align: center;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

/* Ambient glow behind CTA section */
.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(212, 80, 91, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: ambientPulse 6s ease-in-out infinite;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-inner h2 {
  margin-bottom: 1rem;
}

.contact-inner p {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--off-white);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
}

.social-btn svg {
  transition: transform 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}

.social-btn:hover svg {
  transform: scale(1.1);
}

/* WhatsApp Specific Hover */
.social-btn--whatsapp:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.15);
}

/* Instagram Specific Hover */
.social-btn--instagram:hover {
  border-color: #E1306C;
  background: rgba(225, 48, 108, 0.08);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.15);
}

/* Facebook Specific Hover */
.social-btn--facebook:hover {
  border-color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.15);
}

/* Email Specific Hover */
.social-btn--email:hover {
  border-color: #4A90D9;
  background: rgba(74, 144, 217, 0.08);
  box-shadow: 0 8px 24px rgba(74, 144, 217, 0.15);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  z-index: 1;
  position: relative;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============================================================
   SCROLL REVEAL (enhanced)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Staggered children */
.reveal-stagger>.reveal:nth-child(1) {
  transition-delay: 0s;
}

.reveal-stagger>.reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.reveal-stagger>.reveal:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-stagger>.reveal:nth-child(4) {
  transition-delay: 0.45s;
}

/* ============================================================
   ANIMATED TEXT CURSOR (for hero typewriter effect)
   ============================================================ */
#typed-word {
  display: inline;
}

.typed-period {
  display: inline;
}


/* Reserve height so the h1 doesn't collapse when the word is empty */
.hero-content h1 {
  min-height: 1.15em;
}

.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--coral);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: cursorBlink 0.8s ease-in-out infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ============================================================
   MOUSE FOLLOWER GLOW
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(212, 80, 91, 0.06), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

/* ============================================================
   FOCUS STATES (Accessibility)
   ============================================================ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-logo-visual {
    animation: none;
  }

  .hero-logo-img {
    animation: none;
  }

  .project-thumbnail svg {
    animation: none !important;
  }

  .service-card,
  .project-card {
    transition-duration: 0.15s;
  }

  #bg-canvas {
    display: none;
  }

  .cursor-glow {
    display: none;
  }

  .hero::before {
    animation: none;
  }

  .contact::before {
    animation: none;
  }

  .hero-content .eyebrow::after {
    animation: none;
    width: 50px;
  }

  .hero-content h1 .crimson::after {
    animation: none;
  }

  .btn-primary::before {
    display: none;
  }

  .typed-cursor {
    animation: none;
    opacity: 1;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-logo-visual {
    width: 40%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--panel);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

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

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

  .hero {
    min-height: auto;
    padding: 8rem 0 5rem;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-content .eyebrow::after {
    margin: 6px auto 0;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-logo-visual {
    display: none;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item::after {
    display: none !important;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

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

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

  .stat-number {
    font-size: 2.2rem;
  }
}