/* ----------------------------------------------------
   DESIGN SYSTEM & RESET
   ---------------------------------------------------- */
:root {
  --fire: #FF5A1F;
  --glow: #FF6A00;
  --ink: #0F0F10;
  --mist: #BFC2C7;
  --volt: #F2F2F2;
  
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.8s var(--ease-premium);
  --transition-medium: all 0.5s var(--ease-premium);
  --transition-fast: all 0.3s ease;
  
  --grid-border: rgba(255, 90, 31, 0.05);
  --card-bg: rgba(15, 15, 16, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 90, 31, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  background-color: var(--ink);
  color: var(--volt);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: auto; /* Handled by Lenis */
}

body.loading {
  overflow: hidden;
}

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

/* Custom cursor only active on fine-pointer devices with hover capability */
@media (hover: hover) and (pointer: fine) {
  body:not(.loading) a,
  body:not(.loading) button {
    cursor: none;
  }
}

button {
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
}

/* ----------------------------------------------------
   ACCESSIBILITY: KEYBOARD FOCUS & SKIP LINK
   ---------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--fire) !important;
  outline-offset: 4px !important;
  border-radius: 4px !important;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--fire);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  z-index: 1000000000;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 20px;
  outline: 2px solid #FFFFFF !important;
  outline-offset: 2px !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ----------------------------------------------------
   GLOBAL SYSTEMS & LAYOUTS
   ---------------------------------------------------- */

/* Noise Texture Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

.custom-cursor-dot,
.custom-cursor-ring {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor-dot {
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--fire);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10001;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }

  .custom-cursor-ring {
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid var(--fire);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
  }
}

/* Brand Wordmark Logo Styling */
.logo-wordmark-img {
  height: 1.45em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Mouse Glow System */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.08) 0%, rgba(255, 106, 0, 0.02) 50%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

/* Page Loader / Transition */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #090909;
  z-index: 999999999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  will-change: opacity, transform, filter;
}

/* Ambient glow in center of loader */
.loader__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.08) 0%, rgba(255, 106, 0, 0.02) 50%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
}

/* Floating particles canvas */
.loader__particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

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

/* Logo container and elements */
.loader__logo-container {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 420px;
  height: 200px;
}

.loader__logo-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  will-change: transform, x, y, scale;
  transform-origin: center center;
}

#loader-orbit-path {
  stroke-dasharray: 251.327;
  stroke-dashoffset: 251.327;
}

#loader-orbit-dot {
  will-change: cx, cy;
}

#loader-y-monogram, #loader-wordmark {
  pointer-events: none;
}

@media (max-width: 600px) {
  .loader__logo-container {
    width: 320px;
    height: 152px;
  }
}

/* Global Grid Background pattern */
.grid-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, var(--grid-border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-border) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Typography & Utilities */
.section-padding {
  padding: 140px 8% 140px 8%;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

@media(max-width: 768px) {
  .section-padding {
    padding: 80px 5% 80px 5%;
  }
}

.overline {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--fire);
  margin-bottom: 20px;
  text-transform: uppercase;
  display: block;
}

.heading-large {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--volt);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.heading-large span {
  color: var(--fire);
  text-shadow: 0 0 20px rgba(255, 90, 31, 0.15);
}

/* Premium Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.btn--primary {
  background-color: var(--fire);
  color: var(--volt);
  box-shadow: 0 4px 20px rgba(255, 90, 31, 0.25);
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.6s ease;
}

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

.btn--primary:hover {
  box-shadow: 0 0 25px var(--glow);
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--volt);
}

.btn--ghost:hover {
  border-color: var(--fire);
  background-color: rgba(255, 90, 31, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 90, 31, 0.1);
}

/* Orange Lighting Pulse Animation */
.pulse-glow {
  animation: pulseGlowAnimation 4s infinite alternate ease-in-out;
}

@keyframes pulseGlowAnimation {
  0% {
    box-shadow: 0 0 10px rgba(255, 90, 31, 0.1), inset 0 0 5px rgba(255, 90, 31, 0.05);
  }
  100% {
    box-shadow: 0 0 25px rgba(255, 90, 31, 0.4), inset 0 0 15px rgba(255, 90, 31, 0.2);
  }
}

/* Magnetic Element Base Class */
.magnetic-wrap {
  display: inline-block;
  position: relative;
}

/* Scroll Reveal Element Classes */
.reveal-item {
  opacity: 0;
}

/* ----------------------------------------------------
   01. HERO SECTION
   ---------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  mix-blend-mode: difference;
  background: linear-gradient(to bottom, rgba(15,15,16,0.8), transparent);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
}

.navbar__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 1px;
  color: var(--volt);
  display: flex;
  align-items: center;
  gap: 7px;
}

.navbar__logo-symbol {
  width: 24px;
  height: 24px;
}

.navbar__menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

@media (max-width: 900px) {
  .navbar__menu {
    display: none;
  }
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mist);
  position: relative;
  transition: var(--transition-fast);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--fire);
  transition: var(--transition-fast);
}

.navbar__link:hover {
  color: var(--volt);
}

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

.navbar__link.active {
  color: var(--volt) !important;
}

.navbar__link.active::after {
  width: 100% !important;
}

.hero-pin-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--ink);
}

.hero-section {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  position: relative;
}

@media(max-width: 768px) {
  .hero-section {
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    gap: 40px;
  }
}

.hero__content {
  width: 50%;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media(max-width: 768px) {
  .hero__content {
    width: 100%;
    text-align: center;
    align-items: center;
  }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__headline span.fire {
  color: var(--fire);
  display: block;
}

.hero__subtext {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--mist);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  gap: 20px;
}

.hero__webgl-container {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  pointer-events: none;
}

@media(max-width: 768px) {
  .hero__webgl-container {
    width: 100%;
    height: 50vh;
    position: relative;
    order: -1;
  }
}

.hero__webgl-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Floating service cards container */
.hero__cards-container {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero__cards-container {
    display: none;
  }
}

.floating-card {
  position: absolute;
  width: 260px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium), background-color 0.5s var(--ease-premium), margin-top 0.5s var(--ease-premium);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(120px);
  margin-top: 0;
}

.floating-card:nth-child(1) {
  top: 15%;
  right: 12%;
}

.floating-card:nth-child(2) {
  top: 48%;
  right: 6%;
}

.floating-card:nth-child(3) {
  bottom: 8%;
  left: -8%;
}

.floating-card:hover {
  border-color: var(--glass-border-hover);
  margin-top: -8px;
  box-shadow: 0 10px 30px rgba(255, 90, 31, 0.1);
}

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

.floating-card__icon {
  color: var(--fire);
  width: 24px;
  height: 24px;
}

.floating-card__arrow {
  color: var(--mist);
  opacity: 0.5;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.floating-card:hover .floating-card__arrow {
  opacity: 1;
  transform: translate(3px, -3px);
  color: var(--fire);
}

.floating-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--volt);
}

.floating-card__desc {
  font-size: 0.85rem;
  color: var(--mist);
  line-height: 1.5;
}

.hero__scroll-explore {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--mist);
  opacity: 0.7;
}

.hero__scroll-arrow {
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--mist);
  border-bottom: 2px solid var(--mist);
  transform: rotate(45deg);
  animation: bounceArrow 1.5s infinite alternate ease-in-out;
}

@keyframes bounceArrow {
  0% { transform: translateY(0) rotate(45deg); }
  100% { transform: translateY(8px) rotate(45deg); }
}

/* Orbit Ring Overlay for WebGL Scene */
.hero__orbit-overlay {
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px dashed rgba(255, 90, 31, 0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(75deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

/* ----------------------------------------------------
   02. BRAND VISION
   ---------------------------------------------------- */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

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

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

.vision-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 48px 32px;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-premium);
}

.vision-card:hover::before {
  transform: scaleX(1);
}

.vision-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 40px rgba(255, 90, 31, 0.15);
}

.vision-card__icon {
  color: var(--fire);
  margin-bottom: 28px;
  width: 32px;
  height: 32px;
}

.vision-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vision-card__desc {
  font-size: 0.95rem;
  color: var(--mist);
  line-height: 1.6;
}

/* ----------------------------------------------------
   03. ABOUT YAWMATIC
   ---------------------------------------------------- */
.about-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

@media(max-width: 900px) {
  .about-split {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }
}

.about__left {
  width: 55%;
}

@media(max-width: 900px) {
  .about__left {
    width: 100%;
  }
}

.about__reveal-text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--volt);
}

.about__desc {
  margin-top: 32px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--mist);
  max-width: 580px;
}

.text-orange {
  color: var(--fire);
}

.text-volt {
  color: var(--volt);
}

.text-glow {
  color: var(--fire);
  text-shadow: 0 0 8px rgba(255, 90, 31, 0.4);
}

.about__reveal-text span {
  opacity: 0.2;
  display: inline-block;
  margin-right: 8px;
}

.about__reveal-text span.active {
  opacity: 1;
}

.about__reveal-text span.orange {
  color: var(--fire);
}

.about__reveal-text span.mist {
  color: var(--mist);
}

.about__right {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
}

@media(max-width: 900px) {
  .about__right {
    width: 100%;
    height: 300px;
  }
}

/* ----------------------------------------------------
   03. ABOUT INTERACTIVE LOGO (3D WEBGL ENERGY CORE)
   ---------------------------------------------------- */
.about-webgl-container {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 8px;
  overflow: visible;
}

#about-webgl-canvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

/* Luxury noise overlay specific to the energy field column */
.about-noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.045;
  pointer-events: none;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------
   04. CAPABILITIES
   ---------------------------------------------------- */
#capabilities {
  position: relative;
  z-index: 4;
}

.capabilities-wrapper {
  width: 100%;
  margin: 0; /* Remove auto-centering to prevent top/bottom clipping and overflow */
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

@media(min-width: 601px) {
  .capabilities-grid {
    padding-top: 40px; /* Make room for the upward stagger */
  }
  /* Card 02 and Card 04 translated translateY(-40px) */
  .capabilities-grid .capability-card:nth-child(even) {
    position: relative;
    top: -40px;
  }
}

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

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

.capability-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 40px 30px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.capability-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 35px rgba(255, 90, 31, 0.12);
}

.capability-card__number {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 90, 31, 0.5);
  margin-bottom: 24px;
  display: block;
}

.capability-card__icon {
  color: var(--volt);
  margin-bottom: 24px;
  width: 28px;
  height: 28px;
  transition: color 0.3s;
}

.capability-card:hover .capability-card__icon {
  color: var(--fire);
}

.capability-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.capability-card__desc {
  font-size: 0.9rem;
  color: var(--mist);
  line-height: 1.6;
}

/* ----------------------------------------------------
   05. SELECTED WORK (EDITORIAL OVERLAPPING CARD STACK)
   ---------------------------------------------------- */
.selected-work-section {
  width: 100%;
  position: relative;
  background-color: #0b0b0c;
  padding: 120px 8% 140px 8%;
  scroll-margin-top: 80px;
  z-index: 5;
}

.selected-work-intro {
  max-width: 720px;
  margin-bottom: 70px;
}

.selected-work-intro .heading-large {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 12px 0 18px 0;
}

.selected-work-intro__desc {
  color: var(--mist);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
}

.cards-stack-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Stack Card Element */
.stack-card {
  position: relative;
  width: 100%;
  transform-origin: top center;
  will-change: transform, filter, opacity;
}

.stack-card__inner {
  width: 100%;
  background: linear-gradient(135deg, rgba(22, 22, 25, 0.95) 0%, rgba(15, 15, 16, 0.98) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
}

.stack-card__inner:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 35px 70px rgba(255, 90, 31, 0.12), inset 0 1px 0 rgba(255, 90, 31, 0.2);
}

.stack-card__top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.stack-card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--mist);
}

@media (min-width: 1025px) {
  /* On desktop, cards pin and overlap as the showcase scrolls */
  .stack-card {
    position: sticky;
    top: 130px;
  }
  .stack-card:nth-child(1) { top: 130px; }
  .stack-card:nth-child(2) { top: 155px; }
  .stack-card:nth-child(3) { top: 180px; }
  .stack-card:nth-child(4) { top: 205px; }
  .stack-card:nth-child(5) { top: 230px; }
}

@media (max-width: 1024px) {
  .selected-work-section {
    padding: 80px 6% 100px 6%;
  }
  .cards-stack-container {
    gap: 28px;
  }
  .stack-card__inner {
    padding: 36px 30px;
  }
}

@media (max-width: 640px) {
  .selected-work-section {
    padding: 60px 5% 80px 5%;
  }
  .stack-card__inner {
    padding: 28px 20px;
    border-radius: 10px;
  }
  .stack-card__num {
    font-size: 0.75rem;
  }
}

/* ----------------------------------------------------
   FEATURED WORK (LEGACY HORIZONTAL SCROLL FOR /work)
   ---------------------------------------------------- */
.featured-work-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b0b0c;
  position: relative;
  z-index: 5;
  scroll-margin-top: 100px;
}

.horizontal-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  padding: 0 40px 0 8%;
  width: max-content;
  gap: 40px;
  will-change: transform;
}

.featured-work__header-card {
  width: 520px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 40px;
}

.featured-work__header-card .heading-large {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .featured-work__header-card {
    width: 320px;
  }
  .featured-work__header-card .heading-large {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }
}

.work-card {
  width: clamp(380px, 35vw, 480px);
  min-height: 520px;
  height: auto;
  background-color: var(--ink);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .work-card {
    width: clamp(290px, 80vw, 350px);
    min-height: 460px;
    padding: 30px;
  }
}

/* Gradient corner glow effect */
.work-card__glow-corner {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.5s var(--ease-premium), opacity 0.5s;
}

.work-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 45px rgba(255, 90, 31, 0.1);
}

.work-card:hover .work-card__glow-corner {
  transform: scale(1.3);
  opacity: 0.8;
}

.work-card__category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fire);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 10px;
  text-transform: uppercase;
}

.work-card__desc {
  color: var(--mist);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .work-card__desc {
    font-size: 0.9rem;
    margin: 16px 0;
  }
}

.work-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.work-card__tags {
  display: flex;
  gap: 12px;
  list-style: none;
}

.work-card__tag {
  font-size: 0.8rem;
  color: var(--mist);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.02);
}

.work-card__link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--volt);
  transition: var(--transition-fast);
  background-color: var(--ink);
}

.work-card:hover .work-card__link {
  background-color: var(--fire);
  border-color: var(--fire);
  transform: rotate(-45deg);
  box-shadow: 0 0 15px rgba(255, 90, 31, 0.3);
}

/* ----------------------------------------------------
   06. PROCESS EXPERIENCE
   ---------------------------------------------------- */
.timeline-container {
  max-width: 900px;
  margin: 60px auto 0 auto;
  position: relative;
  padding-left: 60px; /* Content shifted to clear the centered timeline */
}

@media (max-width: 600px) {
  .timeline-container {
    padding-left: 40px; /* Adjusted mobile spacing */
  }
}

.timeline-line-track {
  position: absolute;
  top: 0;
  left: 30px; /* Center reference line on desktop/tablet */
  width: 4px;
  height: 100%;
  background-color: #181818; /* Dark graphite track */
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 600px) {
  .timeline-line-track {
    left: 20px; /* Centered reference line on mobile */
  }
}

.timeline-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%; /* Fills progressively via GSAP */
  background-color: var(--fire);
  box-shadow: 0 0 12px var(--fire);
  transform-origin: top center;
  will-change: height;
}

.timeline-step {
  position: relative;
  margin-bottom: 100px;
  padding-left: 20px;
  transition: var(--transition-medium);
}

.timeline-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-step__marker {
  position: absolute;
  left: -30px; /* Aligns exactly with left: 30px reference line */
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--ink);
  border: 3px solid var(--fire); /* Vibrant orange nodes visible initially */
  z-index: 2;
  transform: translateX(-50%);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
  box-shadow: 0 0 8px rgba(255, 90, 31, 0.25); /* Initial premium subtle glow */
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .timeline-step__marker {
    left: -20px; /* Aligns with mobile reference line */
    width: 18px;
    height: 18px;
  }
}

/* Completed State Marker (remains orange as you scroll down) */
.timeline-step.active .timeline-step__marker {
  border-color: var(--fire);
  background-color: var(--fire);
  box-shadow: 0 0 12px rgba(255, 90, 31, 0.4);
}

/* Current State Marker Effects (Subtle active node pulse continuous) */
.timeline-step.current .timeline-step__marker {
  border-color: var(--fire);
  background-color: var(--fire);
  box-shadow: 0 0 20px var(--glow), 0 0 8px var(--fire);
  animation: pulseMarkerContinuous 2.0s infinite ease-in-out;
}

@keyframes pulseMarkerContinuous {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.6), 0 0 12px var(--glow);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 90, 31, 0), 0 0 20px var(--glow);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0), 0 0 12px var(--glow);
  }
}

.timeline-step__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.timeline-step__number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.timeline-step.active .timeline-step__number {
  color: rgba(255, 90, 31, 0.5);
}

.timeline-step.current .timeline-step__number {
  color: var(--fire);
  text-shadow: 0 0 12px rgba(255, 90, 31, 0.6);
}

.timeline-step__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.6s var(--ease-premium), color 0.6s var(--ease-premium), text-shadow 0.6s var(--ease-premium);
}

.timeline-step.active .timeline-step__title {
  color: rgba(255, 255, 255, 0.7);
  transform: translateX(0);
  text-shadow: none;
}

.timeline-step.current .timeline-step__title {
  color: var(--volt);
  transform: translateX(10px); /* Premium active heading highlight slide */
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.timeline-step__content {
  font-size: 1.05rem;
  color: var(--mist);
  max-width: 580px;
  line-height: 1.6;
  opacity: 0.3; /* Dim when inactive for premium focus */
  transition: opacity 0.5s ease;
}

.timeline-step.active .timeline-step__content {
  opacity: 0.75;
}

.timeline-step.current .timeline-step__content {
  opacity: 1.0; /* Pure visible text when active */
}

/* ----------------------------------------------------
   07. ECOSYSTEM
   ---------------------------------------------------- */
#ecosystem .heading-large {
  text-shadow: 0 0 18px rgba(255, 90, 31, 0.18), 0 0 35px rgba(255, 106, 0, 0.08);
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  letter-spacing: -0.5px;
}

.ecosystem-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  position: relative;
  height: 480px;
  width: 100%;
}

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

.ecosystem-node {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 24px 36px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 2;
  width: 280px;
  transition: transform 0.6s var(--ease-premium), opacity 0.6s var(--ease-premium), border-color 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ecosystem-node--center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.08);
  border-color: rgba(255, 90, 31, 0.35);
  padding: 36px 56px;
  width: max-content;
  min-width: 320px;
  box-shadow: 0 0 45px rgba(255, 90, 31, 0.25);
  z-index: 3;
}

/* Soft energy core foundation */
.ecosystem-node--center::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 106, 0, 0.18) 0%, rgba(255, 90, 31, 0.04) 50%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  animation: energyBreathing 6s infinite alternate ease-in-out;
}

@keyframes energyBreathing {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
}

.ecosystem-node--center:hover {
  transform: translate(-50%, -53%) scale(1.1);
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 60px rgba(255, 106, 0, 0.4);
}

.ecosystem-node--left {
  left: 6%;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  opacity: 0.65;
  z-index: 2;
}

.ecosystem-node--left:hover {
  transform: translateY(-53%) scale(0.95);
  opacity: 0.9;
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 40px rgba(255, 90, 31, 0.15);
}

@media (max-width: 900px) {
  .ecosystem-node--left {
    left: 5%;
  }
}

.ecosystem-node--right {
  right: 6%;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  opacity: 0.65;
  z-index: 2;
}

.ecosystem-node--right:hover {
  transform: translateY(-53%) scale(0.95);
  opacity: 0.9;
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 40px rgba(255, 90, 31, 0.15);
}

@media (max-width: 900px) {
  .ecosystem-node--right {
    right: 5%;
  }
}

@media(max-width: 680px) {
  .ecosystem-container {
    height: 600px;
    flex-direction: column;
    gap: 40px;
    justify-content: space-around;
  }
  .ecosystem-node {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 280px;
  }
  .ecosystem-svg {
    display: none;
  }
}

/* Orbit System Upgrades */
.ecosystem-orbit {
  stroke: #FF5A1F;
  stroke-width: 1.2px;
  opacity: 0.2;
  filter: drop-shadow(0 0 2px #FF6A00);
}

/* Connection pulsing data-flow */
.ecosystem-pulse-line-left {
  stroke-dasharray: 40, 340;
  stroke-dashoffset: 380;
  animation: pulseFlowLeft 6s infinite linear;
  opacity: 0.8;
  filter: drop-shadow(0 0 2px #FF6A00);
}

.ecosystem-pulse-line-right {
  stroke-dasharray: 40, 340;
  stroke-dashoffset: 0;
  animation: pulseFlowRight 6s infinite linear;
  opacity: 0.8;
  filter: drop-shadow(0 0 2px #FF6A00);
}

@keyframes pulseFlowLeft {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulseFlowRight {
  to {
    stroke-dashoffset: 380;
  }
}

.ecosystem-node__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--volt);
  text-transform: uppercase;
}

.ecosystem-node--center .ecosystem-node__title {
  font-size: 1.6rem;
  color: var(--fire);
  letter-spacing: 1px;
}

.ecosystem-node__desc {
  font-size: 0.85rem;
  color: var(--mist);
}

.ecosystem-node__pulsar {
  width: 8px;
  height: 8px;
  background-color: var(--fire);
  border-radius: 50%;
  position: absolute;
  top: 12px;
  right: 12px;
  box-shadow: 0 0 8px var(--glow);
  animation: pulseNodeDot 1.5s infinite alternate ease-in-out;
}

@keyframes pulseNodeDot {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* ----------------------------------------------------
   08. MOTION + TECH SHOWCASE
   ---------------------------------------------------- */
.tech-showcase-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0b0b0c;
}

.tech-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

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

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

.tech-card {
  background: rgba(15, 15, 16, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 48px 32px;
  transition: var(--transition-medium);
}

.tech-card:hover {
  border-color: var(--glass-border-hover);
  background-color: rgba(255, 90, 31, 0.02);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 90, 31, 0.1);
}

.tech-card__icon {
  color: var(--fire);
  margin-bottom: 24px;
  width: 28px;
  height: 28px;
}

.tech-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tech-card__desc {
  font-size: 0.9rem;
  color: var(--mist);
  line-height: 1.6;
}

/* ----------------------------------------------------
   09. SOCIAL PRESENCE
   ---------------------------------------------------- */
.instagram-mockup-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 60px 0 50px 0;
}

@media (max-width: 1024px) {
  .instagram-mockup-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .instagram-mockup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.insta-card {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1c1c1e 0%, #0f0f10 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-medium);
}

.insta-card__gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 90, 31, 0.3) 0%, transparent 70%);
  opacity: 0.2;
  transition: var(--transition-fast);
}

.insta-card:hover {
  border-color: var(--fire);
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 90, 31, 0.15);
  z-index: 5;
}

.insta-card:hover .insta-card__gradient-overlay {
  opacity: 0.6;
}

.insta-card__inner-glow {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--fire) 0%, transparent 70%);
  opacity: 0;
  filter: blur(10px);
  transition: var(--transition-medium);
}

.insta-card:hover .insta-card__inner-glow {
  opacity: 0.8;
  width: 120px;
  height: 120px;
}

.insta-card__camera-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  width: 32px;
  height: 32px;
  transition: var(--transition-fast);
}

.insta-card:hover .insta-card__camera-icon {
  color: var(--volt);
  transform: scale(1.1);
}

.social-btn-container {
  display: flex;
  justify-content: center;
}

/* ----------------------------------------------------
   10. TRUST / STATS
   ---------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: #080809;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 60px 40px;
  text-align: center;
  transition: var(--transition-medium);
}

.stat-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 35px rgba(255, 90, 31, 0.08);
  transform: translateY(-5px);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--fire);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(255, 90, 31, 0.2);
}

.stat-card__label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--volt);
}

/* ----------------------------------------------------
   11. CONTACT EXPERIENCE
   ---------------------------------------------------- */
.contact-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
}

.contact-glow-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 90, 31, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 24px;
  z-index: 2;
}

.contact-headline span.orange {
  color: var(--fire);
  display: block;
  text-shadow: 0 0 35px rgba(255, 90, 31, 0.2);
}

.contact-subtext {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--mist);
  margin-bottom: 48px;
  max-width: 600px;
  line-height: 1.5;
  z-index: 2;
}

.contact-btn {
  z-index: 10;
}

/* ----------------------------------------------------
   12. FOOTER
   ---------------------------------------------------- */
.footer {
  border-top: 1px solid rgba(255, 90, 31, 0.25);
  background-color: #0b0b0c;
  padding: 80px 8% 40px 8%;
  position: relative;
  overflow: hidden;
}

.footer__mobile-cta {
  display: none;
}

.footer__social-btn .social-text {
  display: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.footer__logo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer__logo-col {
    align-items: center;
  }
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--volt);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fire);
  letter-spacing: 1px;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

@media(max-width: 600px) {
  .footer__menu {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

.footer__link {
  font-size: 0.95rem;
  color: var(--mist);
  transition: var(--transition-fast);
}

.footer__link:hover {
  color: var(--volt);
}

.footer__socials-col {
  display: flex;
  gap: 16px;
}

.footer__social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--mist);
  transition: var(--transition-fast);
  background-color: var(--ink);
}

.footer__social-btn:hover {
  border-color: var(--fire);
  color: var(--volt);
  background-color: rgba(255, 90, 31, 0.05);
  transform: translateY(-3px);
}

.footer__social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--mist);
  opacity: 0.6;
}

.footer__credit {
  font-size: 0.8rem;
  color: var(--mist);
  opacity: 0.6;
}

/* Small Rotating Orbit Animation on Y symbol */
.logo-orbit-svg {
  width: 38px;
  height: 38px;
}

.logo-orbit-svg__ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
  stroke-dasharray: 4, 3;
}

.logo-orbit-svg__rotator {
  transform-origin: center;
  animation: rotateOrbitRingOnly 10s linear infinite;
}

@keyframes rotateOrbitRingOnly {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ----------------------------------------------------
   CUSTOM SELECT DROPDOWN — YAWMATIC PREMIUM DESIGN
   ---------------------------------------------------- */
.custom-select-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

/* Keep native select in DOM for form binding but visually hidden */
.custom-select-wrapper > select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  border: 0;
  padding: 0;
}

/* Visible trigger button — matches .form-control exactly */
.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  color: var(--volt);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 500;
  outline: none;
  transition: var(--transition-fast);
  text-align: left;
  gap: 8px;
  cursor: none;
}

.custom-select__trigger:hover {
  border-color: rgba(255, 90, 31, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.custom-select-wrapper.is-open .custom-select__trigger {
  border-color: var(--fire);
  background: rgba(255, 255, 255, 0.04);
}

.custom-select__label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Chevron icon */
.custom-select__chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--mist);
  transition: transform 0.2s var(--ease-premium);
}

.custom-select-wrapper.is-open .custom-select__chevron {
  transform: rotate(180deg);
  color: var(--fire);
}

/* Dropdown panel */
.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.custom-select-wrapper.is-open .custom-select__dropdown {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Options list */
.custom-select__options {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 90, 31, 0.3) transparent;
}

.custom-select__options::-webkit-scrollbar {
  width: 4px;
}

.custom-select__options::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select__options::-webkit-scrollbar-thumb {
  background: rgba(255, 90, 31, 0.3);
  border-radius: 4px;
}

/* Individual option */
.custom-select__option {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 48px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #F5F5F5;
  border-radius: 8px;
  cursor: none;
  transition: background 0.12s ease, color 0.12s ease;
  user-select: none;
}

.custom-select__option:hover {
  background: rgba(255, 90, 31, 0.12);
  color: #FFFFFF;
}

.custom-select__option.is-selected {
  background: #FF5A1F;
  color: #FFFFFF;
}

.custom-select__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 4px 8px;
}

/* Mobile Navigation Element Defaults (Hidden on Desktop > 1024px) */
.mobile-menu,
.navbar__hamburger {
  display: none !important;
}

/* ====================================================
   MOBILE & TABLET RESPONSIVENESS SYSTEM (<= 1024px)
   ==================================================== */
@media (max-width: 1024px) {
  /* ====================================================
     MOBILE PERFORMANCE: ELIMINATE ALL SCROLL JITTER
     Stop GPU compositor thrashing caused by:
     – continuous CSS animations during scroll
     – fixed compositing layers (mouse-glow, noise)
     – backdrop-filter on non-modal elements
     – missing will-change hints on transformed elements
     ==================================================== */

  /* 1. Kill the fixed mouse-glow overlay entirely — it creates a permanent
        GPU compositor layer with mix-blend-mode: screen across the entire page. */
  .mouse-glow {
    display: none !important;
  }

  /* 2. Kill the noise SVG overlay fixed layer — feTurbulence filter forces
        a separate repaint layer on every scroll frame. */
  .noise-overlay {
    display: none !important;
  }

  /* 3. Stop all CSS animations that run on-screen during scroll.
        These cause repaint/composite work on every animation frame while the
        user is actively scrolling, producing the jittery stuttering. */
  .hero__scroll-arrow,
  .logo-orbit-svg__rotator,
  .pulse-glow,
  .about-webgl-container::after,
  .ecosystem-node,
  .timeline-step__marker::after,
  .timeline-line-fill {
    animation: none !important;
    animation-play-state: paused !important;
  }

  /* 4. Promote the hero content to its own GPU layer so the browser can
        scroll everything underneath it without repainting the text. */
  .hero-section,
  .hero__content,
  .navbar {
    will-change: transform;
    transform: translateZ(0);
  }

  /* 5. Add contain: paint to each section so off-screen section content
        does not trigger compositing work while scrolling past the hero. */
  .section-padding,
  .featured-work-container,
  .footer {
    contain: paint;
  }

  /* 6. Stop backdrop-filter on the navbar on mobile. backdrop-filter creates
        a stacking context and forces compositing of everything behind it on
        every scroll frame — the single largest cause of hero scroll jitter. */
  .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(9, 9, 10, 0.92) !important;
  }

  /* Touch scroll optimization & hardware acceleration */
  html {
    overflow-x: clip !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: auto !important;
  }

  body {
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    overscroll-behavior-y: auto !important;
  }

  /* Scroll locking & custom cursor visibility */
  body.no-scroll {
    overflow: hidden !important;
    height: 100% !important;
  }
  
  .custom-cursor-dot, 
  .custom-cursor-ring {
    display: none !important;
  }
  
  a, button, select, input, textarea, .custom-select__option, .custom-select__trigger {
    cursor: pointer !important;
  }


  /* Mobile Full-Screen Navigation Overlay System */
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 999999 !important;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .mobile-menu.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 10, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1;
  }

  .mobile-menu__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: max(20px, env(safe-area-inset-top)) 6% max(24px, env(safe-area-inset-bottom)) 6%;
    box-sizing: border-box;
    overflow-y: auto;
  }

  .mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-menu__brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-menu__close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: var(--volt);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: var(--transition-fast);
  }

  .mobile-menu__close:active {
    background: var(--fire);
    border-color: var(--fire);
    transform: scale(0.92);
  }

  .mobile-menu__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
    gap: 28px;
  }

  .mobile-menu__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
    margin: 0;
  }

  .mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 5.5vw, 2.2rem);
    font-weight: 800;
    color: var(--volt);
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .mobile-menu__link:active,
  .mobile-menu__link:hover {
    color: var(--fire);
    transform: translateX(8px);
  }

  .mobile-menu__num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fire);
    opacity: 0.85;
  }

  .mobile-menu__cta-wrap {
    width: 100%;
    margin-top: 8px;
  }

  .mobile-menu__cta-btn {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: center !important;
    font-size: 1rem !important;
  }

  .mobile-menu__footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
  }

  .mobile-menu__tagline {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--mist);
    opacity: 0.6;
    text-transform: uppercase;
  }

  /* Section Padding */
  .section-padding {
    padding: clamp(50px, 8vw, 80px) 6% !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .apply-card {
    padding: 24px 16px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .form-control, input, select, textarea {
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Ensure top section under navbar on mobile has generous space from wordmark */
  main > section:first-child,
  .hero-section,
  .creators-hero {
    padding-top: max(110px, calc(95px + env(safe-area-inset-top))) !important;
  }

  .heading-large,
  .creators-hero__headline,
  .hero__headline {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .heading-large {
    font-size: clamp(1.6rem, 6.5vw, 2.8rem) !important;
    margin-bottom: 30px !important;
  }

  .creators-hero__headline {
    font-size: clamp(1.6rem, 7vw, 3rem) !important;
    letter-spacing: -0.5px !important;
    line-height: 1.05 !important;
  }

  /* Buttons & Touch Targets */
  .btn, button, a.btn {
    min-height: 52px !important;
    padding: 14px 28px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
  }

  /* Specific mobile navbar CTA button override */
  .navbar__cta .btn,
  .navbar__cta a.btn {
    min-height: 32px !important;
    height: 32px !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    border-radius: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hamburger Menu Button */
  .navbar__hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer !important;
    padding: 0;
    z-index: 100000;
  }
  
  .hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--volt);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    transform-origin: center;
    border-radius: 2px;
  }
  
  .navbar__hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--fire);
  }
  
  .navbar__hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .navbar__hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--fire);
  }

  .navbar__menu {
    display: none !important;
  }

  .navbar__cta {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
  }

  .navbar {
    padding: max(10px, env(safe-area-inset-top)) 16px 10px 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    mix-blend-mode: normal !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Wordmark logo styling with clean alignment and breathing room */
  .navbar__logo {
    transform: scale(0.72) !important;
    transform-origin: left center !important;
    flex-shrink: 0 !important;
  }

  .mobile-menu__brand .logo-wordmark-img {
    height: 1.15em !important;
  }

  /* Mobile Hero Container & Full Viewport Composition (Touch Scroll Optimized) */
  .hero-pin-wrapper {
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
    overflow: visible !important;
  }

  .hero-section,
  .creators-hero {
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding: max(100px, calc(85px + env(safe-area-inset-top))) 6% max(24px, calc(16px + env(safe-area-inset-bottom))) 6% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .hero__webgl-container,
  .hero__orbit-overlay {
    display: none !important;
  }

  .hero__content {
    width: 100% !important;
    text-align: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: auto 0 !important;
    transform: translateZ(0) !important;
  }

  .hero__headline,
  .hero__headline span,
  .hero__headline span.fire {
    text-shadow: none !important;
    filter: none !important;
  }

  .hero__headline {
    font-size: clamp(2.3rem, 8.2vw, 3.8rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.03em !important;
    margin-top: 0 !important;
    margin-bottom: clamp(12px, 2.5vh, 20px) !important;
    text-transform: uppercase;
  }

  .hero__subtext {
    font-size: clamp(0.9rem, 3.4vw, 1.1rem) !important;
    line-height: 1.6 !important;
    color: var(--mist) !important;
    max-width: 340px !important;
    width: 92% !important;
    margin: 0 auto clamp(18px, 3.5vh, 28px) auto !important;
  }

  .hero__ctas {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 360px !important;
    gap: 12px !important;
    margin: 0 auto !important;
  }

  .hero__ctas .magnetic-wrap {
    width: 100% !important;
    display: block !important;
  }

  .hero__ctas .btn {
    width: 100% !important;
    min-height: 50px !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
  }

  .hero__cards-container {
    display: none !important;
  }

  .hero__scroll-explore {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    align-self: center !important;
    opacity: 0.7 !important;
    flex-shrink: 0 !important;
  }

  /* Next section begins cleanly below the viewport fold */
  #vision.section-padding {
    padding-top: clamp(60px, 10vw, 90px) !important;
  }

  /* Prevent iOS Auto-Zoom on Form Input Focus */
  .form-control, input, select, textarea, .custom-select__trigger {
    font-size: 16px !important;
    min-height: 52px !important;
  }

  textarea.form-control {
    min-height: 120px !important;
  }

  /* Brand Vision Split & Capabilities stagger */
  .about-split {
    flex-direction: column !important;
    text-align: center !important;
    gap: 40px !important;
  }

  .about__left, 
  .about__right {
    width: 100% !important;
  }

  .about__right {
    height: auto !important;
  }

  .about-webgl-container {
    width: 280px !important;
    height: 280px !important;
    max-width: 85vw !important;
    margin: 0 auto;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .about-webgl-container::after {
    display: none !important;
  }

  .vision-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .vision-card {
    padding: 36px 24px !important;
  }

  .capabilities-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .capabilities-grid .capability-card:nth-child(even) {
    top: 0 !important;
  }

  /* Featured Work Card Stacking */
  .featured-work-container {
    min-height: auto !important;
    height: auto !important;
    padding: clamp(60px, 10vw, 100px) 6% !important;
    overflow: visible !important;
  }

  .horizontal-scroll-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 28px !important;
    transform: none !important;
  }

  .featured-work__header-card {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    align-items: center !important;
  }

  .work-card {
    width: 100% !important;
    min-height: auto !important;
    padding: 36px 24px !important;
  }

  .timeline-container {
    padding-left: 36px !important;
    margin-top: 40px !important;
  }

  .timeline-line-track {
    left: 18px !important;
  }

  .timeline-step__marker {
    left: -18px !important;
  }

  .timeline-step {
    margin-bottom: 60px !important;
  }

  .ecosystem-container {
    height: auto !important;
    min-height: 400px !important;
    flex-direction: column !important;
    gap: 28px !important;
    justify-content: center !important;
    padding: 30px 0 !important;
    position: relative !important;
  }

  .ecosystem-container::before {
    content: '';
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, var(--fire), transparent);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
  }

  .ecosystem-node {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .ecosystem-node--center {
    min-width: auto !important;
    width: 100% !important;
    max-width: 320px !important;
  }

  .ecosystem-svg {
    display: none !important;
  }

  .tech-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .instagram-mockup-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Forms & inputs */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

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

  /* intl-tel-input touch sizing */
  .iti__country {
    padding: 12px 14px !important;
  }

  .contact-section {
    height: auto !important;
    min-height: 80vh !important;
    padding: clamp(60px, 10vw, 100px) 6% !important;
  }

  .contact-headline {
    font-size: clamp(1.8rem, 6.8vw, 3.2rem) !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  .contact-headline span.orange {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  /* Mobile Footer Premium Redesign (Apple/Linear/Vercel/Framer Inspired) */
  .footer {
    padding: 44px 6% max(32px, env(safe-area-inset-bottom)) 6% !important;
    background-color: #070708 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .footer__mobile-cta {
    display: none !important;
  }

  .footer-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 28px !important;
    margin-bottom: 32px !important;
  }

  .footer__logo-col {
    align-items: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
  }

  /* Subtle signature logo on mobile (hides repeated 50px SVG orbit logo) */
  .footer__logo {
    font-size: 1.1rem !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .footer__logo .logo-orbit-svg {
    display: none !important;
  }

  .footer__logo .logo-wordmark-img {
    height: 1.1em !important;
    opacity: 0.9 !important;
  }

  .footer__tagline {
    font-size: 0.75rem !important;
    letter-spacing: 0.15em !important;
    color: var(--mist) !important;
    opacity: 0.6 !important;
    font-weight: 600 !important;
    margin-top: 4px !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
  }

  .footer__nav-col {
    width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 24px !important;
  }

  .footer__menu {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    text-align: left !important;
  }

  .footer__link {
    font-size: 0.88rem !important;
    color: var(--mist) !important;
    opacity: 0.8 !important;
    font-weight: 500 !important;
    transition: opacity 0.2s ease, color 0.2s ease !important;
    display: inline-block !important;
  }

  .footer__link:hover {
    opacity: 1 !important;
    color: var(--fire) !important;
  }

  .footer__socials-col {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 20px !important;
  }

  .footer__social-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1px solid var(--glass-border) !important;
    background-color: var(--ink) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: var(--mist) !important;
    padding: 0 !important;
    transition: var(--transition-fast) !important;
  }

  .footer__social-btn .social-text {
    display: none !important;
  }

  .footer__social-btn::after {
    display: none !important;
    content: none !important;
  }

  .footer__social-btn svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
  }

  .footer__social-btn:hover,
  .footer__social-btn:active {
    border-color: var(--fire) !important;
    color: var(--volt) !important;
    background-color: rgba(255, 90, 31, 0.08) !important;
    transform: translateY(-2px) !important;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    text-align: left !important;
  }

  .footer__copy {
    font-size: 0.74rem !important;
    color: var(--mist) !important;
    opacity: 0.4 !important;
    font-weight: 400 !important;
  }

  .footer__credit {
    font-size: 0.7rem !important;
    color: var(--mist) !important;
    opacity: 0.25 !important;
    letter-spacing: 0.15em !important;
    font-family: var(--font-display) !important;
    text-transform: uppercase !important;
  }

  /* Dashboard Admin View responsiveness overrides */
  .cc-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    z-index: 10002 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5) !important;
  }

  .cc-sidebar.is-open {
    transform: translateX(0) !important;
  }

  .cc-main {
    width: 100vw !important;
  }

  .cc-header {
    padding: 16px 20px !important;
  }

  .cc-content {
    padding: 20px !important;
  }

  .pipeline-container {
    height: auto !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .pipeline-column {
    flex: 1 1 auto !important;
  }

  .msg-layout {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  /* Ultra-compact screen tuning (320px - 360px screens) */
  @media (max-width: 360px) {
    .hero__headline {
      font-size: 2.1rem !important;
      line-height: 1.05 !important;
    }
    .heading-large {
      font-size: 1.9rem !important;
      line-height: 1.1 !important;
    }
    .section-padding {
      padding: 60px 4% !important;
    }
    .work-card,
    .stack-card__inner,
    .vision-card,
    .capability-card {
      padding: 24px 16px !important;
    }
    .navbar__logo {
      transform: scale(0.65) !important;
    }
    .navbar__cta .btn {
      padding: 8px 12px !important;
      font-size: 0.72rem !important;
    }
    .about-webgl-container {
      width: 240px !important;
      height: 240px !important;
    }
  }
}

/* ----------------------------------------------------
   ACCESSIBILITY: REDUCED MOTION PREFERENCE
   ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .stack-card {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  .custom-cursor-dot,
  .custom-cursor-ring,
  .mouse-glow {
    display: none !important;
  }
  a, button {
    cursor: pointer !important;
  }
}
