/* ============================================
   NovaTech Innovations — Design System
   Dark Futuristic Theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* NovaTech Brand — Royal Blue #292c73 */
  --bg-primary: #000000;
  --bg-secondary: #050508;
  --bg-surface: #0a0a12;
  --bg-card: #0e0e18;
  --bg-card-hover: #14141f;

  /* Brand primary — Royal Blue from logo */
  --brand-blue: #292c73;
  --brand-blue-light: #3a3e9c;
  --brand-blue-dim: rgba(41, 44, 115, 0.15);
  --brand-blue-glow: rgba(58, 62, 156, 0.30);

  /* Accents now derived from brand blue */
  --accent-cyan: #4a52d6;
  --accent-cyan-dim: rgba(74, 82, 214, 0.08);
  --accent-cyan-glow: rgba(74, 82, 214, 0.18);
  --accent-violet: #6b6fdf;
  --accent-violet-dim: rgba(107, 111, 223, 0.08);

  --text-primary: #ffffff;
  --text-secondary: #a8a8b8;
  --text-muted: #5a5a6e;
  --text-accent: var(--brand-blue-light);

  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.14);

  --gradient-main: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  --gradient-text: linear-gradient(90deg, #ffffff 0%, #c0c4ff 50%, var(--brand-blue-light) 100%);
  --gradient-brand: linear-gradient(135deg, var(--brand-blue) 0%, #1a1d5c 100%);
  --gradient-subtle: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Geist', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing — balanced whitespace (tightened so sections read as continuous) */
  --section-pad: clamp(56px, 7vw, 104px);
  --container-width: 1400px;
  --gap: clamp(20px, 2.5vw, 40px);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.2s var(--ease-out-quart);
  --transition-base: 0.4s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

/* Star pattern background overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cpath d='M90 12l2.5 7.5h7.5l-6 4.5 2.3 7.5-6.3-4.5-6.3 4.5 2.3-7.5-6-4.5h7.5z' fill='%23ffffff' opacity='0.6'/%3E%3Cpath d='M30 75l1.8 5.5h5.5l-4.5 3.2 1.7 5.5-4.5-3.2-4.5 3.2 1.7-5.5-4.5-3.2h5.5z' fill='%23ffffff' opacity='0.35'/%3E%3Cpath d='M150 60l1.5 4.5h4.5l-3.5 2.8 1.3 4.5-3.8-2.8-3.8 2.8 1.3-4.5-3.5-2.8h4.5z' fill='%23ffffff' opacity='0.45'/%3E%3Cpath d='M55 140l2 6h6l-5 3.5 2 6-5-3.5-5 3.5 2-6-5-3.5h6z' fill='%23ffffff' opacity='0.4'/%3E%3Cpath d='M135 130l1.2 3.5h3.5l-2.8 2 1 3.5-2.9-2-2.9 2 1-3.5-2.8-2h3.5z' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='170' cy='15' r='0.8' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='10' cy='30' r='0.6' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='100' cy='100' r='0.7' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='45' cy='45' r='0.5' fill='%23ffffff' opacity='0.35'/%3E%3Ccircle cx='165' cy='95' r='0.6' fill='%23ffffff' opacity='0.25'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

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

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Only apply hover color to standalone text links, not card/bento wrappers */
a:not(.card):not(.bento-item):not(.equip-card):not(.nav-logo):hover {
  color: #fff;
}

/* Ensure card wrapper links don't change child text colors on hover */
a.card, a.bento-item, a.equip-card {
  color: inherit;
}
a.card:hover, a.bento-item:hover, a.equip-card:hover {
  color: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

h1 { font-size: clamp(3rem, 7.5vw, 7rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }

p {
  color: var(--text-secondary);
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent { color: var(--brand-blue-light); }
.text-muted { color: var(--text-muted); }

.label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-header .label {
  margin-bottom: 16px;
  display: block;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.15rem;
  line-height: 1.7;
}

/* --- Grid Systems --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

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

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

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

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   TOP CONTACT BAR
   ============================================ */
.contact-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease;
}

.contact-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.contact-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  min-height: 36px;
}

.contact-bar-left,
.contact-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: #fff;
}

.contact-item svg {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.contact-item:hover svg {
  opacity: 1;
}

.contact-location {
  pointer-events: none;
}

.contact-social {
  padding: 4px;
}

@media (max-width: 1024px) {
  .contact-bar-left { gap: 16px; }
  .contact-item { font-size: 0.68rem; }
  .contact-location { display: none; }
}

@media (max-width: 768px) {
  /* Slim single-row bar on mobile — phone + socials only */
  .contact-bar-inner { flex-direction: row; gap: 10px; padding: 0; height: 46px; min-height: 0; }
  .contact-bar-left { gap: 10px; flex-wrap: nowrap; justify-content: flex-start; min-width: 0; }
  .contact-bar-right { gap: 4px; flex-shrink: 0; }
  .contact-bar-left .contact-item { white-space: nowrap; }
  .contact-bar-left .contact-item:not(:first-child) { display: none; } /* keep only the phone */
  .contact-social { padding: 6px; }
}

@media (max-width: 480px) {
  .contact-item:not(.contact-social) { font-size: 0.66rem; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

@media (max-width: 768px) {
  .nav { top: 46px; }
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity var(--transition-fast);
  z-index: 5;
}

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

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: height var(--transition-base);
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

.nav.scrolled .nav-logo img {
  height: 44px;
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 42px;
  }
}

/* Fallback for text logo */
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-logo-text span {
  color: var(--brand-blue-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a {
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 28px !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 100px;
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition-fast) !important;
  background: transparent;
}

.nav-cta:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--bg-primary) !important;
}

.nav-cta::after { display: none !important; }

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

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: #fff;
  transition: all var(--transition-fast);
  transform-origin: center;
}

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

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

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

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(380px, 85vw);
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    transition: right var(--transition-base);
    padding: 40px;
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 1.3rem;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 60px;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(1.15) contrast(1.05);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, transparent 70%),
    linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0,0,0,0.5) 85%, var(--bg-primary) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content-inner {
  max-width: 720px;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 12px var(--brand-blue-glow);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 5rem) !important;
  margin-bottom: 20px;
  line-height: 1.0;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  max-width: 520px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 16px 32px;
  font-size: 0.78rem;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll .line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent-cyan), transparent);
  animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero sound toggle button — bottom right */
.hero-sound-toggle {
  position: absolute;
  bottom: 40px;
  right: 32px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.hero-sound-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.hero-sound-toggle svg {
  flex-shrink: 0;
}

.hero-sound-toggle .icon-unmuted { display: none; }
.hero-sound-toggle.is-active .icon-muted { display: none; }
.hero-sound-toggle.is-active .icon-unmuted { display: inline-block; }

.hero-sound-toggle.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 24px var(--brand-blue-glow);
}

@media (max-width: 640px) {
  .hero-sound-toggle {
    bottom: 90px;
    right: 16px;
    padding: 10px 14px;
  }
  .hero-sound-label { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  width: auto;
}

.btn-primary {
  background: #fff;
  color: #0a0a12;
  border-color: #fff;
}

.btn-primary:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(41, 44, 115, 0.55);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  padding: 18px 0;
}

.btn-ghost:hover {
  color: var(--brand-blue-light);
}

.btn-ghost .arrow {
  transition: transform var(--transition-fast);
}

.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

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

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.card-img {
  border-radius: var(--radius-md);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  border-radius: var(--radius-md);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: clamp(20px, 2vw, 32px);
}

.card-body .label {
  margin-bottom: 12px;
  display: block;
}

.card-body h3 {
  margin-bottom: 12px;
}

.card-body p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Equipment card */
.equip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.equip-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.equip-card .equip-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  transition: all var(--transition-base);
}

.equip-card:hover .equip-icon {
  background: rgba(56, 189, 248, 0.10);
  color: var(--accent-cyan);
  transform: scale(1.05);
}

.equip-card h4 {
  color: var(--text-primary);
  transition: color var(--transition-fast);
  font-size: 1.15rem;
}

.equip-card:hover h4 {
  color: #fff;
}

.equip-card p {
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.65;
}

/* ============================================
   PRODUCT PAGE
   ============================================ */
.product-hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
}

.product-hero::before {
  display: none;
}

.product-hero .label {
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 880px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.product-hero > .container > p {
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 48px;
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: none;
}

@media (max-width: 640px) {
  .product-gallery { grid-template-columns: 1fr; }
}

/* ============================================
   WORK GRID — Premium portfolio with wow-effect
   ============================================ */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 420px;
  grid-auto-flow: dense;
  gap: 8px;
}

.work-card {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  background: #060611;
  isolation: isolate;
  cursor: pointer;
}

/* Featured card — hero-size, spans 2 columns + 2 rows */
.work-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* Tall card — vertical emphasis, spans 2 rows */
.work-card.tall {
  grid-row: span 2;
}

/* Image layer — slow zoom + dark base */
.work-card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.work-card-img img,
.work-card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  filter: brightness(0.78) saturate(1.05);
}

.work-card:hover .work-card-img img,
.work-card:hover .work-card-img video {
  transform: scale(1.08);
  filter: brightness(1.0) saturate(1.15);
}

/* Hover video preview (hidden by default) */
.work-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease, filter 0.8s ease;
  z-index: 1;
  pointer-events: none;
  filter: brightness(1.0) saturate(1.15);
}

.work-card.has-video:hover .work-card-video {
  opacity: 1;
}

.work-card.has-video:hover .work-card-img img {
  opacity: 0;
}

/* Gradient overlay — premium triple gradient */
.work-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.45) 0%,
      transparent 25%,
      transparent 55%,
      rgba(0,0,0,0.55) 85%,
      rgba(0,0,0,0.95) 100%);
  z-index: 2;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.work-card:hover::after {
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.3) 0%,
      transparent 30%,
      transparent 55%,
      rgba(0,0,0,0.45) 85%,
      rgba(0,0,0,0.88) 100%);
}

/* Premium top shine line on hover */
.work-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-blue-light), transparent);
  z-index: 4;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* Text content — properly visible */
.work-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  z-index: 3;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card-body {
  transform: translateY(-6px);
}

/* Category label as premium pill */
.work-card-body .label {
  margin-bottom: 12px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 12px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  transition: all 0.4s ease;
}

.work-card:hover .work-card-body .label {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  color: #fff;
  box-shadow: 0 4px 16px var(--brand-blue-glow);
}

.work-card-body h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}

/* "View Project" CTA — appears on hover */
.work-card-body::after {
  content: 'View Project';
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.work-card:hover .work-card-body::after {
  opacity: 1;
  transform: translateX(0);
}

/* Featured card — bigger and bolder */
.work-card.featured .work-card-body {
  padding: 44px 48px;
}

.work-card.featured .work-card-body h4 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.work-card.featured .work-card-body .label {
  font-size: 0.7rem;
  padding: 7px 16px;
  margin-bottom: 16px;
}

.work-card.featured .work-card-body::after {
  font-size: 0.75rem;
  margin-top: 18px;
}

/* Tall card */
.work-card.tall .work-card-body {
  padding: 32px 30px;
}

.work-card.tall .work-card-body h4 {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
}

/* Number badge — premium touch */
.work-card-number {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.work-card:hover .work-card-number {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal-scale animation for cards */
.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger effect — each card fades in sequentially */
.work-card:nth-child(3n+2) .reveal-scale { transition-delay: 0.08s; }
.work-card:nth-child(3n+3) .reveal-scale { transition-delay: 0.16s; }

@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 360px;
    gap: 6px;
  }
  .work-card.featured { grid-column: span 2; grid-row: span 2; }
  .work-card.tall { grid-row: span 2; }
  .work-card.featured .work-card-body { padding: 32px 36px; }
  .work-card.featured .work-card-body h4 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
    gap: 6px;
  }
  .work-card.featured { grid-column: span 1; grid-row: span 1; }
  .work-card.tall { grid-row: span 1; }
  .work-card.featured .work-card-body { padding: 24px 26px; }
  .work-card.featured .work-card-body h4 { font-size: 1.4rem; }
  .work-card-body { padding: 22px 24px; }
  .work-card-body h4 { font-size: 1.05rem; }
}

/* ============================================
   WORK PROJECT DETAIL PAGES
   ============================================ */

/* Full-bleed hero image */
.work-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
}

.work-hero img,
.work-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-orientation: from-image;
}

.work-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,7,0.15) 0%, rgba(5,5,7,0) 30%, rgba(5,5,7,0) 50%, rgba(5,5,7,0.7) 85%, var(--bg-primary) 100%);
  pointer-events: none;
}

.work-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 clamp(20px, 4vw, 48px) clamp(40px, 6vw, 80px);
  max-width: var(--container-width);
  margin: 0 auto;
}

.work-hero-content .label {
  margin-bottom: 12px;
  display: block;
}

.work-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 800px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Project info bar */
.work-meta {
  display: flex;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}

.work-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work-meta-item .meta-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.work-meta-item .meta-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Work description — elegant two-column */
.work-description {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(50px, 6vw, 80px) 0;
  align-items: start;
}

.work-description-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: none;
  position: sticky;
  top: 120px;
}

.work-description-body p {
  font-size: 1rem;
  line-height: 1.75;
  max-width: none;
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.work-description-body p:first-child::first-letter {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  float: left;
  line-height: 0.85;
  padding: 4px 12px 0 0;
  font-weight: 700;
  color: var(--brand-blue-light);
}

/* Bold inline highlights — premium SEO accent */
.work-description-lead strong,
.work-description-body strong {
  color: #fff;
  font-weight: 600;
  position: relative;
}

.work-description-body strong {
  color: var(--text-primary);
}

/* Work tags — premium SEO chips */
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.work-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  padding: 6px 14px;
  background: rgba(58, 62, 156, 0.08);
  border: 1px solid rgba(58, 62, 156, 0.2);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.work-tag:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .work-description {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Premium Work Gallery — uniform grid with rhythm */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 6px;
}

/* Base item — every item is a fixed-size cell */
.work-gallery > * {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #060611;
  isolation: isolate;
  transform-origin: center;
}

/* Featured: every 7th item spans 2x2 — adds rhythm */
.work-gallery > *:nth-child(7n+1) {
  grid-column: span 2;
  grid-row: span 2;
}

/* Wide: every 11th — full row span */
.work-gallery > *:nth-child(11n+5) {
  grid-column: span 2;
}

/* Tall: every 13th — vertical span */
.work-gallery > *:nth-child(13n+3) {
  grid-row: span 2;
}

/* Images */
.work-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  image-orientation: from-image;
  transition: transform 1.2s var(--ease-out-expo), filter 0.6s ease;
  filter: brightness(0.92);
}

.work-gallery > *:hover img {
  transform: scale(1.06);
  filter: brightness(1.0);
}

/* Premium overlay shimmer on hover */
.work-gallery > *::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(41,44,115,0) 0%, rgba(41,44,115,0) 50%, rgba(41,44,115,0.0) 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.work-gallery > *:hover::before {
  opacity: 1;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(0,0,0,0.4) 100%);
}

/* Top shine on hover */
.work-gallery > *::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-blue-light), transparent);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.work-gallery > *:hover::after {
  opacity: 1;
}

/* Video items */
.work-gallery-video {
  position: relative;
  background: #060611;
}

.work-gallery-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out-expo), filter 0.6s ease;
  filter: brightness(0.92);
}

.work-gallery-video:hover video {
  transform: scale(1.06);
  filter: brightness(1.0);
}

/* Play button — refined glass-style */
.work-gallery-video .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: all 0.4s var(--ease-out-expo);
}

.work-gallery-video .play-icon::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.work-gallery-video:hover .play-icon {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 12px 40px var(--brand-blue-glow);
}

/* Fallback for old play button (legacy) */
.work-gallery-video:not(:has(.play-icon))::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpolygon points='8,5 19,12 8,19'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 55% center;
  background-size: 20px;
  z-index: 3;
  pointer-events: none;
  transition: all 0.4s var(--ease-out-expo);
}

.work-gallery-video:not(:has(.play-icon)):hover::after {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue-light);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 12px 40px var(--brand-blue-glow);
}

/* Item number badge */
.work-gallery > *[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  background: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.work-gallery > *[data-num]:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal */
.work-gallery > * {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.work-gallery > *.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
  .work-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
  }
  .work-gallery > *:nth-child(7n+1) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 640px) {
  .work-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 4px;
  }
  .work-gallery > *:nth-child(7n+1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .work-gallery > *:nth-child(11n+5),
  .work-gallery > *:nth-child(13n+3) {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Video embed for work pages */
.work-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
}

.work-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-orientation: from-image;
}

/* Back navigation for work detail pages — premium floating pill */
.work-back {
  position: fixed;
  top: 130px;
  left: clamp(20px, 3vw, 48px);
  z-index: 1005;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  transition: all 0.35s var(--ease-out-expo);
  opacity: 0;
  transform: translateX(-12px);
  animation: workBackIn 0.6s 0.4s ease forwards;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.work-back:hover {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  transform: translateX(-3px) translateY(-1px);
  box-shadow: 0 12px 32px var(--brand-blue-glow);
}

.work-back svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.work-back:hover svg {
  transform: translateX(-3px);
}

@keyframes workBackIn {
  to { opacity: 1; transform: translateX(0); }
}

/* On scroll, when nav becomes solid, hide work-back to avoid overlap */
.nav.scrolled ~ .work-back,
.nav.scrolled + .work-back {
  /* Keep visible even when scrolled */
}

@media (max-width: 768px) {
  .work-back {
    top: 170px;
    padding: 10px 16px;
    font-size: 0.68rem;
  }
}

/* Fullscreen lightbox for work gallery images */
.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5,5,7,0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  cursor: zoom-out;
}
.work-lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.work-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  image-orientation: from-image;
  border-radius: 4px;
  transform: scale(0.92);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-lightbox.active img {
  transform: scale(1);
}
.work-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.work-lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}
.work-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.work-lightbox-nav:hover {
  background: rgba(255,255,255,0.15);
}
.work-lightbox-nav.prev { left: 20px; }
.work-lightbox-nav.next { right: 20px; }
.work-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Hero parallax-like effect on scroll */
.work-hero img {
  transition: transform 0.1s linear;
}

/* Work page section headers — premium pill */
.work-section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--brand-blue-dim);
  border: 1px solid rgba(58, 62, 156, 0.25);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.work-section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-blue-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-blue-light);
}

/* Horizontal rule between sections */
.work-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0;
  border: none;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}

.feature-item {
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: none;
  border-radius: var(--radius-md);
}

.feature-item h4 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item h4 .icon {
  color: var(--accent-cyan);
}

.feature-item p {
  font-size: 1rem;
  line-height: 1.7;
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 16px 0;
  font-size: 0.95rem;
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 40%;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.specs-table td:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* Old WORK/PORTFOLIO styles removed — see WORK GRID section above */

/* ============================================
   VIDEO EMBED
   ============================================ */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video play button overlay */
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-thumb:hover img {
  transform: scale(1.03);
}

.video-thumb .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.video-thumb:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: #0a0a0a;
  margin-left: 3px;
}

/* ============================================
   STATS
   ============================================ */
.stats-row {
  display: flex;
  gap: clamp(32px, 5vw, 80px);
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat .number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   CONTACT / FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

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

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 340px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  border-color: var(--brand-blue-light);
  color: #fff;
  background: var(--brand-blue);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(9) { transition-delay: 0.45s; }
.stagger-children .reveal:nth-child(10) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(11) { transition-delay: 0.55s; }
.stagger-children .reveal:nth-child(12) { transition-delay: 0.6s; }
.stagger-children .reveal:nth-child(13) { transition-delay: 0.65s; }
.stagger-children .reveal:nth-child(14) { transition-delay: 0.7s; }
.stagger-children .reveal:nth-child(15) { transition-delay: 0.75s; }

/* Glow effects — disabled for minimal aesthetic */
.glow-line {
  display: none;
}

/* Floating particles */
.particle-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 1px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  opacity: 0.15;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* Noise overlay — premium film grain (slightly stronger for tactile feel) */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

/* WCAG AA — premium focus-visible (keyboard navigation feels expensive) */
*:focus-visible {
  outline: 2px solid var(--brand-blue-light, #3a3e9c);
  outline-offset: 3px;
  border-radius: 4px;
  transition: outline-offset 0.18s ease;
}

button:focus-visible,
a:focus-visible,
.btn:focus-visible {
  outline-offset: 4px;
}

/* Skip-to-content link for screen reader / keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 99999;
  padding: 12px 20px;
  background: var(--brand-blue, #292c73);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  display: none;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  margin: 0 auto 40px;
  text-align: center;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.loader-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: loader-pulse 1.6s ease-in-out infinite;
}

.loader-logo-img {
  height: 80px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(58, 62, 156, 0.4));
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--brand-blue-light), transparent);
  animation: loader-fill 1.4s var(--ease-out-expo) infinite;
}

@keyframes loader-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.98); }
}

@media (max-width: 640px) {
  .loader-logo-img { height: 60px; }
  .loader-bar { width: 160px; }
}

@keyframes loader-fill {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ============================================
   PAGE-SPECIFIC BACKGROUND EFFECTS
   ============================================ */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ============================================
   UTILITIES
   ============================================ */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ============================================
   PREMIUM UPGRADE — SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-main);
  z-index: 10001;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
  transition: none;
}

/* ============================================
   PREMIUM — FOCUS VISIBLE (ACCESSIBILITY)
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* ============================================
   PREMIUM — ENHANCED CARD SYSTEM
   ============================================ */
.card {
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  will-change: transform;
}

/* Clean hover — no glow, subtle lift only */
.card::before {
  display: none;
}

.card:hover {
  transform: translateY(-4px);
}

.card:hover .card-img img {
  transform: scale(1.08);
}

/* Card body label hover accent */
.card:hover .card-body .label {
  text-shadow: none;
}

/* ============================================
   PREMIUM — BENTO GRID (EQUIPMENT INDEX)
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 380px;
  gap: 6px;
}

.bento-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #0a0a0f;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  transition: all 0.5s var(--ease-out-expo);
  will-change: transform;
  border: none;
  filter: brightness(0.88);
}

/* Premium gradient overlay — matches work-card */
.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 8, 0.15) 0%,
    transparent 40%,
    rgba(5, 5, 8, 0.92) 100%
  );
  transition: all 0.5s var(--ease-out-expo);
  z-index: 1;
}

/* Premium top shine */
.bento-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
}

.bento-item:hover {
  filter: brightness(1.05);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.bento-item:hover::after {
  opacity: 1;
}

.bento-item:hover::before {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 8, 0.1) 0%,
    rgba(5, 5, 8, 0.4) 40%,
    rgba(5, 5, 8, 0.92) 100%
  );
}

.bento-content {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 32px);
  width: 100%;
}

.bento-content .label {
  margin-bottom: 8px;
  display: block;
  opacity: 0.8;
  transition: all 0.4s var(--ease-out-expo);
}

.bento-item:hover .bento-content .label {
  opacity: 1;
  text-shadow: none;
}

.bento-content h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin-bottom: 6px;
  transition: color 0.3s ease;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.bento-item:hover .bento-content h3 {
  color: #fff;
}

.bento-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  max-width: none;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s var(--ease-out-expo);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.bento-item:hover .bento-content p {
  max-height: 60px;
  opacity: 1;
  margin-top: 8px;
  color: rgba(255,255,255,0.75);
}

/* NovaTech equipment icons */
.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--accent-cyan);
  opacity: 0.7;
  margin-bottom: 8px;
  transition: all 0.4s var(--ease-out-expo);
}

.bento-icon svg {
  width: 100%;
  height: 100%;
}

.bento-item:hover .bento-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* Explore arrow indicator */
.bento-content .bento-arrow {
  position: absolute;
  top: 50%;
  right: clamp(20px, 3vw, 32px);
  transform: translateY(-50%) translateX(-8px);
  opacity: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
}

.bento-item:hover .bento-arrow {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.bento-arrow svg {
  width: 16px;
  height: 16px;
  stroke: #0a0a0a;
  fill: none;
  stroke-width: 2.5;
}

/* Bento size variants */
.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .bento-wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .bento-wide { grid-column: span 1; }
  .bento-content p {
    max-height: 40px;
    opacity: 0.7;
  }
}

/* ============================================
   PREMIUM — FEATURE ITEMS UPGRADE
   ============================================ */
.feature-item {
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: default;
  isolation: isolate;
}

a.feature-item { cursor: pointer; }

/* Premium top shine on hover */
.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-blue-light), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
  z-index: 2;
}

.feature-item:hover::before { opacity: 1; }

.feature-item:hover {
  background: linear-gradient(180deg, rgba(58,62,156,0.08) 0%, rgba(58,62,156,0.02) 100%);
  border-color: rgba(58, 62, 156, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(58,62,156,0.15) inset;
}

/* Brand SVG icon — premium block */
.feature-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--brand-blue);
  margin-bottom: 22px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-blue-light) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-icon img {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1;
  filter: brightness(0) invert(1);
  transition: transform 0.5s var(--ease-out-expo);
}

.feature-item:hover .feature-icon {
  background: var(--brand-blue-light);
  box-shadow: 0 8px 24px var(--brand-blue-glow);
  transform: rotate(-3deg) scale(1.05);
}

.feature-item:hover .feature-icon::before { opacity: 1; }

.feature-item:hover .feature-icon img {
  transform: scale(1.1);
}

.feature-item h4 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* Legacy emoji icon support (fallback) */
.feature-item h4 .icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1rem;
  margin-right: 10px;
  transition: all 0.4s var(--ease-out-expo);
}

.feature-item:hover h4 .icon {
  background: var(--brand-blue);
  transform: scale(1.05);
}

/* ============================================
   PREMIUM — STATS UPGRADE
   ============================================ */
.stat {
  text-align: left;
  position: relative;
  padding-left: 24px;
}

.stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gradient-main);
  border-radius: 1px;
  opacity: 0.5;
}

.stat:first-child {
  padding-left: 0;
}

.stat:first-child::before {
  display: none;
}

/* ============================================
   PREMIUM — CTA SECTION UPGRADE
   ============================================ */
.cta-section {
  text-align: center;
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cta-section::before {
  display: none;
}

/* ============================================
   PREMIUM — ENHANCED ANIMATION TYPES
   ============================================ */

/* Blur-in reveal */
.reveal-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* Scale-in reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Image clip reveal */
.reveal-clip {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s var(--ease-out-expo);
}

.reveal-clip.visible {
  clip-path: inset(0 0 0 0);
}

/* Text shimmer on gradient headings */
@keyframes text-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-gradient-animated {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet), var(--accent-cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 4s linear infinite;
}

/* ============================================
   PREMIUM — 3D TILT SUPPORT
   ============================================ */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card .card-body,
.tilt-card .bento-content {
  transform: translateZ(20px);
}

/* ============================================
   PREMIUM — ENHANCED CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  pointer-events: none;
  z-index: 10002;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background 0.3s ease;
  /* Removed mix-blend-mode: difference — was causing text to become invisible */
}

.cursor-dot.cursor-hover {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  mix-blend-mode: normal;
}

.cursor-dot.cursor-click {
  transform: translate(-50%, -50%) scale(0.8);
}

@media (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ============================================
   PREMIUM — SECTION DIVIDERS
   ============================================ */
.section-divider {
  position: relative;
  height: 1px;
  background: var(--border-color);
  overflow: visible;
}

.section-divider::after {
  display: none;
}

/* ============================================
   PREMIUM — BUTTON RIPPLE EFFECT
   ============================================ */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: btn-ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes btn-ripple {
  to { transform: scale(4); opacity: 0; }
}

/* Enhanced button hover — clean, no glow */
.btn-primary:hover {
  background: #fff;
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   PREMIUM — NAV LINK MICRO-INTERACTIONS
   ============================================ */
.nav-links a {
  position: relative;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
}

/* ============================================
   PREMIUM — SOCIAL LINKS UPGRADE
   ============================================ */
.social-links a {
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  display: none;
}

.social-links a:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: translateY(-2px);
}

.social-links a svg {
  position: relative;
  z-index: 1;
}

/* ============================================
   PREMIUM — MOBILE-FIRST DESIGN OVERHAUL
   ============================================ */

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 999;
  padding: 0;
  background: transparent;
  border: none;
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.4s ease;
  pointer-events: none;
}

.mobile-cta-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-cta-bar .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 0.78rem;
  border-radius: 100px;
  background: var(--brand-blue);
  color: #fff;
  border: 1px solid var(--brand-blue-light);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.06) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-cta-bar .btn:hover {
  background: var(--brand-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(41, 44, 115, 0.55);
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: block;
  }

  /* Hero redesign for mobile */
  .hero {
    min-height: 90vh;
    min-height: 90svh;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

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

  .hero-scroll {
    display: none;
  }

  /* Stats: horizontal scroll on mobile */
  .stats-row {
    gap: 0;
    justify-content: stretch !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat {
    text-align: center;
    padding-left: 0;
  }

  .stat::before {
    display: none;
  }

  .stat .number {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  /* Section headers centered on mobile */
  .section-header {
    text-align: center;
  }

  .section-header p {
    margin-left: auto;
    margin-right: auto;
  }

  /* About split: image first on mobile */
  .about-split {
    gap: 32px;
  }

  .about-split > div:last-child {
    order: -1;
  }

  .about-image {
    aspect-ratio: 16/10;
  }

  /* Cards: full-bleed on mobile */
  .card {
    border-radius: var(--radius-md);
  }

  .card-img {
    aspect-ratio: 16/9;
  }

  /* Full-width buttons on mobile */
  .text-center .btn {
    width: 100%;
    justify-content: center;
  }

  /* CTA section padding */
  .cta-section {
    padding: clamp(60px, 12vw, 100px) 0;
  }

  .cta-section h2 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  /* Mobile menu improvements */
  .nav-links {
    gap: 28px;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
  }

  .nav-links a {
    font-size: 1.4rem;
    font-weight: 600;
  }

  .nav-links a::after {
    bottom: -6px;
    height: 3px;
  }

  /* Old work-item mobile styles removed */

  /* Footer mobile */
  .footer-grid {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  /* Product hero mobile */
  .product-hero {
    padding: 120px 0 60px;
  }

  .product-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  /* Bento items: always show description on mobile */
  .bento-content p {
    max-height: 40px;
    opacity: 0.6;
    margin-top: 6px;
  }
}

/* Small phone optimizations */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 2rem;
  }

  .bento-grid {
    grid-auto-rows: 200px;
  }

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

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

  .nav-logo {
    font-size: 1.2rem;
  }
}

/* Tablet-specific layouts */
@media (min-width: 641px) and (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
  }

  .about-split {
    gap: 40px;
  }

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

/* ============================================
   PREMIUM — SMOOTH PAGE TRANSITIONS (PRELOAD)
   ============================================ */
body.page-enter {
  animation: page-fade-in 0.6s var(--ease-out-expo);
}

@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PREMIUM — PARALLAX SECTIONS
   ============================================ */
[data-parallax] {
  will-change: transform;
}

/* ============================================
   PREMIUM — IMAGE HOVER ZOOM WITH GRAIN
   ============================================ */
.card-img::after {
  display: none;
}

/* ============================================
   PREMIUM — EQUIP CARD REDESIGN
   ============================================ */
.equip-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
  transition: all 0.5s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.equip-card::after {
  display: none;
}

.equip-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

.equip-card .equip-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-secondary);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}

.equip-card:hover .equip-icon {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: scale(1.05);
}

/* ============================================
   PREMIUM — TECH GRID (Equipment quick-access)
   ============================================ */
.tech-grid-section {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

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

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

.tech-card {
  position: relative;
  display: block;
  padding: 22px 22px 24px;
  background: var(--brand-blue);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: all 0.4s var(--ease-out-expo);
  min-height: 150px;
}

.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.tech-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-card:hover {
  background: var(--brand-blue-light);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--brand-blue-glow), 0 0 0 1px rgba(255,255,255,0.06) inset;
}

.tech-card:hover::before,
.tech-card:hover::after { opacity: 1; }

.tech-card-num {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  display: block;
  margin-bottom: 12px;
  transition: color 0.4s ease;
}

.tech-card:hover .tech-card-num {
  color: rgba(255, 255, 255, 0.7);
}

.tech-card h4 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  line-height: 1.15;
}

.tech-card:hover h4 {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.tech-card ul {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-card ul li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  padding: 3px 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.tech-card:hover ul li {
  color: rgba(255, 255, 255, 0.85);
}

/* Stagger animation delay */
.tech-card.reveal { transition-delay: 0s; }
.tech-card:nth-child(4n+2) { transition-delay: 0.05s; }
.tech-card:nth-child(4n+3) { transition-delay: 0.10s; }
.tech-card:nth-child(4n+4) { transition-delay: 0.15s; }

/* ============================================
   PREMIUM — TECH DETAIL PAGES (Equipment)
   ============================================ */
.tech-hero {
  padding: 140px 0 60px;
  background:
    radial-gradient(ellipse at top left, rgba(41,44,115,0.15) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tech-breadcrumb {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.tech-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.tech-breadcrumb a:hover { color: var(--brand-blue-light); }

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: rgba(41, 44, 115, 0.18);
  border: 1px solid rgba(58, 62, 156, 0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: 24px;
}

.tech-pill img {
  width: 22px;
  height: 22px;
  padding: 4px;
  background: var(--brand-blue);
  border-radius: 50%;
  filter: brightness(0) invert(1);
}

.tech-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem) !important;
  max-width: 900px;
  margin-bottom: 24px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.tech-tagline {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem) !important;
  color: rgba(255,255,255,0.75) !important;
  max-width: 760px !important;
  line-height: 1.5;
  margin-top: 0;
}

/* Tech Specs */
.tech-specs-section {
  padding-top: 0;
  padding-bottom: 60px;
}

.tech-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: rgba(255,255,255,0.04);
  padding: 1px;
  border-radius: 4px;
}

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

.tech-spec {
  padding: 36px 32px;
  background: var(--bg-primary);
  border-radius: 4px;
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
  isolation: isolate;
}

.tech-spec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-blue);
  z-index: 1;
  transition: background 0.3s ease;
}

.tech-spec:hover {
  background: rgba(41, 44, 115, 0.08);
}

.tech-spec:hover::before { background: var(--brand-blue-light); }

.tech-spec-value {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
}

.tech-spec-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: 14px;
}

.tech-spec p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Tech Description */
.tech-description {
  max-width: 880px;
  margin: 0 auto;
}

.tech-description p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
  margin-bottom: 22px;
  color: var(--text-secondary);
  max-width: none;
}

.tech-description p:first-child::first-letter {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  float: left;
  line-height: 0.85;
  padding: 6px 14px 0 0;
  font-weight: 700;
  color: var(--brand-blue-light);
}

/* Tech Gallery — uniform tiles */
.tech-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 8px;
}

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

@media (max-width: 640px) {
  .tech-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
}

.tech-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  background: #060611;
  transition: transform 0.8s var(--ease-out-expo), filter 0.4s ease;
  filter: brightness(0.92);
  cursor: pointer;
}

.tech-gallery img:hover {
  transform: scale(1.04);
  filter: brightness(1.02);
}

/* First gallery item — featured */
.tech-gallery > *:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 640px) {
  .tech-gallery > *:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ============================================
   TECH DETAIL — Subheadings, Lists, Tag Pills
   ============================================ */
.tech-subhead {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 36px 0 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  position: relative;
}

.tech-subhead::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--brand-blue-light);
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.tech-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-list li:last-child {
  border-bottom: none;
}

.tech-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 16px;
  height: 1px;
  background: var(--brand-blue-light);
}

.tech-list li strong {
  color: #fff;
  font-weight: 600;
}

.tech-list li a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid rgba(58, 62, 156, 0.35);
  border-radius: 100px;
  background: rgba(41, 44, 115, 0.1);
  transition: all 0.3s ease;
}

.tech-list li a:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  color: #fff;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.tech-pill-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  padding: 8px 16px;
  background: rgba(41, 44, 115, 0.1);
  border: 1px solid rgba(58, 62, 156, 0.25);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.tech-pill-tag:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================
   TECH PAGE — Link Button (link to work portfolio)
   ============================================ */
.tech-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(41, 44, 115, 0.15);
  border: 1px solid rgba(58, 62, 156, 0.4);
  border-radius: 100px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
  backdrop-filter: blur(8px);
}

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

.tech-link-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--brand-blue-glow);
}

.tech-link-btn:hover svg {
  transform: translateX(4px);
}

/* YouTube variant — red YT brand accent */
.tech-link-btn-yt {
  background: rgba(255, 0, 0, 0.08);
  border-color: rgba(255, 80, 80, 0.35);
}

.tech-link-btn-yt svg {
  color: #ff0000;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tech-link-btn-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
}

.tech-link-btn-yt:hover svg {
  color: #fff;
  transform: scale(1.1);
}

/* ============================================
   PREMIUM — YouTube Embed (Equipment pages)
   ============================================ */
.youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #060611;
  isolation: isolate;
  transition: all 0.5s var(--ease-out-expo);
}

.youtube-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out-expo), filter 0.4s ease;
  filter: brightness(0.78) saturate(1.05);
}

.youtube-embed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.youtube-embed::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-blue-light), transparent);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.youtube-embed:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--brand-blue-glow);
}

.youtube-embed:hover img {
  transform: scale(1.05);
  filter: brightness(1.0) saturate(1.15);
}

.youtube-embed:hover::after {
  opacity: 1;
}

.youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 60px;
  z-index: 3;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.4s var(--ease-out-expo);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

.youtube-play svg {
  width: 100%;
  height: 100%;
  display: block;
}

.youtube-embed:hover .youtube-play {
  transform: translate(-50%, -50%) scale(1.1);
}

.youtube-embed.loaded img,
.youtube-embed.loaded .youtube-play,
.youtube-embed.loaded::before {
  display: none;
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 5;
}

/* Tech gallery — 2-column pair variant */
.tech-gallery-pair {
  grid-template-columns: repeat(2, 1fr) !important;
}

.tech-gallery-pair > *:first-child {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

@media (max-width: 640px) {
  .tech-gallery-pair {
    grid-template-columns: 1fr !important;
  }
}

/* Tech gallery — 2 portrait images side-by-side (no cropping) */
.tech-gallery-portrait-pair {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-auto-rows: auto !important;
  gap: 16px;
}

.tech-gallery-portrait-pair > *:first-child {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

.tech-gallery-portrait-pair img {
  width: 100%;
  height: auto !important;
  max-height: 720px;
  object-fit: contain !important;
  background: #000;
  border-radius: 12px;
  border: 1px solid rgba(58, 62, 156, 0.15);
}

@media (max-width: 640px) {
  .tech-gallery-portrait-pair {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   $10K CHECKLIST — Mobile + Hierarchy refinements
   ============================================ */

/* Text-wrap balance for premium heading line breaks */
h1, h2, h3, .section-header h2, .tech-hero h1 {
  text-wrap: balance;
}

/* Slightly more whitespace in tech-pills for breathing room */
.tech-pills {
  gap: 16px;
}

/* Touch targets ≥ 44px for accessibility (Apple HIG / WCAG 2.5.5) */
@media (max-width: 768px) {
  .btn,
  .tech-link-btn,
  .nav-cta,
  .contact-item,
  .concept-arrow,
  .nav-toggle {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Mobile carousel arrows — move below ribbon, hide overlap */
@media (max-width: 768px) {
  .concept-arrow-prev,
  .concept-arrow-next {
    top: auto;
    bottom: -56px;
    transform: none;
  }
  .concept-arrow-prev { left: 40%; }
  .concept-arrow-next { right: 40%; }

  .concept-carousel {
    padding-bottom: 64px;
  }
}

/* Concept slide labels — more padding on narrow screens */
@media (max-width: 480px) {
  .concept-slide figcaption {
    padding: 52px 18px 18px;
  }
  .concept-title {
    font-size: 0.95rem;
  }
  .concept-tag {
    font-size: 0.6rem;
  }
}

/* Mobile: tighter prose with comfortable reading */
@media (max-width: 640px) {
  .concepts-prose {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .concepts-prose p {
    margin-bottom: 16px;
  }
}

/* Reduce hero font size on small screens — designed, not shrunk */
@media (max-width: 480px) {
  .product-hero h1,
  .tech-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    letter-spacing: -0.02em;
  }
}

/* ============================================
   PREMIUM MICRO-INTERACTIONS — handcrafted feel
   ============================================ */

/* 1. Cursor-following spotlight glow on cards */
.has-spotlight {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  isolation: isolate;
}

.has-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--spot-x) var(--spot-y),
    rgba(120, 130, 230, 0.22),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.45s var(--ease-out-expo);
  pointer-events: none;
  z-index: 1;
}

.has-spotlight:hover::before {
  opacity: 1;
}

/* Make sure card content sits above spotlight */
.has-spotlight > * {
  position: relative;
  z-index: 2;
}

/* 2. Magnetic buttons — smooth elastic transform */
.magnetic {
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* 3. 3D Tilt — subtle parallax on cards */
.tilt-3d {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 4. Footer/nav diagonal underline animation */
.hover-underline {
  position: relative;
  display: inline-block;
}

.hover-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}

.hover-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 6. Shimmer/glint sweep on primary CTAs */
.shimmer-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  transition: left 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.shimmer-btn:hover::after {
  left: 130%;
}

/* 7. Image fade-in on scroll */
@keyframes premiumImgIn {
  from { opacity: 0; transform: scale(1.04); filter: blur(8px) brightness(0.7); }
  to { opacity: 1; transform: scale(1); filter: blur(0) brightness(1); }
}

.img-fade-in {
  animation: premiumImgIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Stat number — monospace tabular to prevent layout shift during counter */
.kuka-spec-val,
.tech-spec-value {
  font-variant-numeric: tabular-nums;
}

/* ============================================
   NovaInstall — 6-step Production Workflow
   ============================================ */
.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.workflow-step {
  flex: 1 1 160px;
  max-width: 200px;
  background: rgba(20, 22, 50, 0.55);
  border: 1px solid rgba(58, 62, 156, 0.3);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.5s var(--ease-out-expo);
}

.workflow-step:hover {
  border-color: rgba(120, 130, 230, 0.7);
  transform: translateY(-4px);
}

.workflow-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--brand-blue-light);
  margin-bottom: 8px;
  padding: 3px 10px;
  background: rgba(89, 95, 220, 0.15);
  border-radius: 100px;
}

.workflow-step h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 8px 0 6px;
  color: #fff;
}

.workflow-step p {
  font-size: 0.78rem;
  color: rgba(220, 225, 245, 0.65);
  margin: 0;
  line-height: 1.5;
}

.workflow-arrow {
  color: rgba(120, 130, 230, 0.6);
  flex: 0 0 24px;
}

@media (max-width: 900px) {
  .workflow-arrow {
    transform: rotate(90deg);
    flex-basis: auto;
    width: 100%;
  }
  .workflow-step {
    max-width: none;
    flex-basis: calc(100% - 32px);
  }
}

/* Production stages — 3 photos workshop → install → live */
.production-stages {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
  margin-top: 32px;
}

.production-stage {
  flex: 1 1 280px;
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a18;
  border: 1px solid rgba(58, 62, 156, 0.25);
  transition: border-color 0.4s ease, transform 0.6s var(--ease-out-expo);
}

.production-stage:hover {
  border-color: rgba(120, 130, 230, 0.55);
  transform: translateY(-4px);
}

.production-stage img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out-expo);
}

.production-stage:hover img {
  transform: scale(1.05);
}

.production-stage figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 22px 22px;
  background: linear-gradient(0deg, rgba(0, 0, 12, 0.95) 0%, rgba(0, 0, 12, 0.55) 60%, transparent 100%);
}

.production-stage-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: 6px;
}

.production-stage figcaption p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  margin: 0;
}

.production-stage-arrow {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(120, 130, 230, 0.6);
}

@media (max-width: 900px) {
  .production-stage-arrow {
    flex-basis: 100%;
    transform: rotate(90deg);
  }
}

/* ============================================
   CONCEPTS — Hero animated background + WOW
   ============================================ */
.concepts-hero {
  position: relative;
  overflow: hidden;
}

.concepts-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(58, 62, 156, 0.32) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(89, 95, 220, 0.28) 0%, transparent 70%);
  filter: blur(60px);
  animation: conceptsHeroPulse 12s ease-in-out infinite;
}

.concepts-hero .container {
  position: relative;
  z-index: 1;
}

@keyframes conceptsHeroPulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.85; }
  50% { transform: scale(1.15) translate(-2%, 1%); opacity: 1; }
}

/* Featured first slide — make it 1.4× larger for visual hierarchy */
.concept-carousel-track > .concept-slide:first-child {
  flex: 0 0 540px;
}

.concept-carousel-track > .concept-slide:first-child img {
  height: 480px;
}

.concept-carousel-track > .concept-slide:first-child .concept-title {
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .concept-carousel-track > .concept-slide:first-child {
    flex: 0 0 320px;
  }
  .concept-carousel-track > .concept-slide:first-child img {
    height: 340px;
  }
}

/* Section dividers — subtle gradient lines */
.concepts-divider {
  position: relative;
  height: 1px;
  margin: 24px auto;
  max-width: 600px;
  background: linear-gradient(90deg, transparent 0%, rgba(89, 95, 220, 0.5) 50%, transparent 100%);
}

.concepts-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  box-shadow: 0 0 14px var(--brand-blue-light);
}

/* ============================================
   CONCEPTS — Prose + horizontal carousel "лента"
   ============================================ */
.concepts-prose {
  max-width: 920px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(220, 225, 245, 0.86);
}

.concepts-prose p {
  margin: 0 0 18px;
}

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

.concepts-prose strong {
  color: #fff;
  font-weight: 600;
}

/* Horizontal carousel ribbon */
.concept-carousel {
  position: relative;
  margin-top: 32px;
  padding: 24px 0;
}

.concept-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(40px, calc((100vw - 1400px) / 2));
  scrollbar-width: thin;
  scrollbar-color: var(--brand-blue) transparent;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.concept-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.concept-carousel-track::-webkit-scrollbar-track {
  background: rgba(58, 62, 156, 0.08);
  border-radius: 3px;
}

.concept-carousel-track::-webkit-scrollbar-thumb {
  background: rgba(58, 62, 156, 0.5);
  border-radius: 3px;
}

.concept-slide {
  flex: 0 0 380px;
  scroll-snap-align: start;
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a18;
  border: 1px solid rgba(58, 62, 156, 0.2);
  transition: transform 0.6s var(--ease-out-expo), border-color 0.4s ease;
}

.concept-slide:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 130, 230, 0.55);
}

.concept-slide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease-out-expo);
}

.concept-slide:hover img {
  transform: scale(1.06);
}

.concept-slide figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 56px 22px 22px;
  background: linear-gradient(0deg, rgba(0, 0, 12, 0.92) 0%, rgba(0, 0, 12, 0.55) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.concept-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(168, 175, 230, 0.95);
}

.concept-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: #fff;
}

/* Carousel navigation arrows */
.concept-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 18, 40, 0.85);
  border: 1px solid rgba(58, 62, 156, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.concept-arrow:hover {
  background: var(--brand-blue);
  transform: translateY(-50%) scale(1.08);
}

.concept-arrow-prev { left: 16px; }
.concept-arrow-next { right: 16px; }

@media (max-width: 768px) {
  .concept-slide { flex: 0 0 280px; }
  .concept-slide img { height: 280px; }
  .concept-arrow { width: 40px; height: 40px; }
}

/* ============================================
   Tech spec grid — key/value spec block (LED screens etc.)
   ============================================ */
.tech-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 18px;
  border: 1px solid rgba(58, 62, 156, 0.25);
  border-radius: 14px;
  overflow: hidden;
}

.tech-spec-grid > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(58, 62, 156, 0.15);
  border-right: 1px solid rgba(58, 62, 156, 0.15);
  background: rgba(20, 22, 50, 0.35);
}

.tech-spec-grid > div:nth-child(2n) {
  border-right: none;
}

.tech-spec-grid > div dt,
.tech-spec-grid > div .sg-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(168, 175, 230, 0.8);
}

.tech-spec-grid > div dd,
.tech-spec-grid > div .sg-value {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

@media (max-width: 560px) {
  .tech-spec-grid {
    grid-template-columns: 1fr;
  }
  .tech-spec-grid > div {
    border-right: none;
  }
}

/* ============================================
   Winch spec list — inside tech-spec cards
   ============================================ */
.winch-spec-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(58, 62, 156, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.winch-spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.winch-spec-list li span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(168, 175, 230, 0.75);
  white-space: nowrap;
  flex-shrink: 0;
}

.winch-spec-list li b {
  color: #fff;
  font-weight: 500;
  text-align: right;
}

/* ============================================
   KUKA Robotic Arms — 2 model cards layout
   ============================================ */
.kuka-models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .kuka-models {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.kuka-model {
  background: rgba(20, 22, 50, 0.45);
  border: 1px solid rgba(58, 62, 156, 0.25);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
  transition: border-color 0.4s ease, transform 0.6s var(--ease-out-expo);
}

.kuka-model:hover {
  border-color: rgba(89, 95, 220, 0.5);
  transform: translateY(-3px);
}

@media (max-width: 700px) {
  .kuka-model {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.kuka-model-photo {
  background: linear-gradient(180deg, #fff 0%, #f0f2fa 100%);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.kuka-model-photo img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
}

.kuka-model-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(168, 175, 230, 0.95);
  display: inline-block;
  margin-bottom: 12px;
}

.kuka-model-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 16px;
}

.kuka-model-desc {
  color: rgba(220, 225, 245, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.kuka-model-desc strong {
  color: #fff;
  font-weight: 600;
}

.kuka-model-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(58, 62, 156, 0.2);
  border-bottom: 1px solid rgba(58, 62, 156, 0.2);
  margin-bottom: 20px;
}

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

.kuka-spec-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}

.kuka-spec-lab {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(168, 175, 230, 0.7);
}

.kuka-model-diagram {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kuka-model-diagram img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
}

/* Tech gallery — single hero image (full width, no grid) */
.tech-gallery-single {
  display: block !important;
  grid-template-columns: none !important;
}

.tech-gallery-single > img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(58, 62, 156, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #fff;
}

/* ============================================
   HOW WE WORK / PROCESS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process-step {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: transform .4s var(--ease-out-expo), border-color .4s ease, background .4s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue-glow);
  background: rgba(58, 62, 156, 0.06);
}
.process-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 15%, var(--brand-blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-steps { grid-template-columns: 1fr; gap: 16px; } }

/* Lighten hero video on mobile — show the poster image instead of the 10MB showreel */
.hero-bg { background-color: #06060a; background-image: url(../img/hero-poster.jpg); background-size: cover; background-position: center; }
@media (max-width: 768px) {
  .hero-video { display: none !important; }
}
