/* ═══════════════════════════════════════════════════════════════
   Carlos Gonzalez — Voice Actor Portfolio
   Font: Sora + Playfair Display. GSAP-driven scroll animations.
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #1a1a1f;
  --bg-alt: #2c2c38;
  --text: #e8e8ec;
  --text-2: #7c7c88;
  --accent: #c4982a;
  --accent-hover: #d5ab3d;
  --border: rgba(255,255,255,0.07);
  --font: 'Sora', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  cursor: default;
}

ul { list-style: none; }
a { color: inherit; text-decoration: none !important; border: none !important; }
a, button, select, input, textarea { cursor: pointer !important; }

.container { max-width: 1800px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 100px); }

.label {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--accent); margin-bottom: 12px;
}

/* ───── Custom Cursor (disabled) ───── */
.cursor, .cursor-follower { display: none !important; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--accent); z-index: 1000; width: 0%;
  transform-origin: left;
}

/* ───── 3D Objects & Visualizer ───── */
.floating-3d-rings {
  position: absolute; top: 120vh; right: -10vw;
  width: 40vw; height: 40vw; min-width: 400px; min-height: 400px;
  pointer-events: none; z-index: 0;
  perspective: 1000px; transform-style: preserve-3d;
  opacity: 0.15;
}
.floating-3d-rings.rings-bottom {
  top: auto; bottom: -5vh; right: auto; left: -15vw;
}
.ring {
  position: absolute; top: 50%; left: 50%;
  border: 1px solid var(--text); border-radius: 50%;
  transform-style: preserve-3d;
}
.ring.r1 { width: 100%; height: 100%; margin-top: -50%; margin-left: -50%; animation: rotate1 25s linear infinite; }
.ring.r2 { width: 80%; height: 80%; margin-top: -40%; margin-left: -40%; border-color: var(--accent); animation: rotate2 30s linear infinite reverse; }
.ring.r3 { width: 60%; height: 60%; margin-top: -30%; margin-left: -30%; animation: rotate1 20s linear infinite; }
@keyframes rotate1 { 0% { transform: rotateX(60deg) rotateY(0deg) rotateZ(0deg); } 100% { transform: rotateX(60deg) rotateY(360deg) rotateZ(360deg); } }
@keyframes rotate2 { 0% { transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg); } 100% { transform: rotateX(45deg) rotateY(45deg) rotateZ(360deg); } }

#demos { position: relative; overflow: hidden; }
.audio-wave-visualizer {
  position: absolute; bottom: 0; left: 0; right: 0; height: 150px;
  display: flex; align-items: flex-end; justify-content: center; gap: 4px;
  pointer-events: none; z-index: 0; opacity: 0; transition: opacity 0.8s ease;
  mask-image: linear-gradient(to top, black, transparent);
  -webkit-mask-image: linear-gradient(to top, black, transparent);
}
.audio-wave-visualizer.active { opacity: 0.15; }
.wave-bar {
  width: 2px; height: 10px; background: var(--accent);
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
}

/* ───── Nav ───── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; border: none !important;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(10,10,11,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1800px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 100px);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-weight: 700; font-size: 0.875rem; color: var(--text); letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.8125rem; font-weight: 500; color: var(--text-2); transition: color 0.2s var(--ease); }
.nav-cta {
  background: var(--accent) !important; color: var(--bg) !important;
  padding: 8px 20px; border-radius: 6px; font-weight: 600 !important;
  transition: transform 0.16s var(--ease), background 0.2s var(--ease) !important;
}
.nav-cta:active { transform: scale(0.97) !important; }

.nav-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 600; color: var(--text-2);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.nav-back-link svg { flex-shrink: 0; transition: transform 0.2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .nav-back-link:hover { color: var(--text); }
  .nav-back-link:hover svg { transform: translateX(-3px); }
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 101;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(10,10,11,0.97); backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 1.25rem; font-weight: 600; color: var(--text-2); transition: color 0.2s var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--text); }
  .nav-cta:hover { background: var(--accent-hover) !important; }
  .mobile-menu a:hover { color: var(--text); }
}

/* ───── Hero ───── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(196,152,42,0.08) 0%, transparent 60%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.hero-avatar {
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  background: var(--bg-alt);
  position: relative;
  width: 240px; height: 240px;
  flex-shrink: 0;
}
.hero-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

.hero-text { margin-top: 40px; }

.hero-tag {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); margin-bottom: 16px;
  will-change: transform, opacity;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 0.95; letter-spacing: -0.02em;
  margin-bottom: 20px; color: var(--text);
  will-change: transform, opacity;
}
.hero-title em { font-style: italic; color: var(--accent); }
.title-line {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}
.hero-sub {
  font-size: clamp(0.875rem, 1.2vw, 1.0625rem); color: var(--text-2);
  line-height: 1.6; letter-spacing: 0.005em;
  will-change: transform, opacity;
  max-width: 480px; margin: 0 auto 32px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  will-change: transform, opacity;
}

/* Mobile hero */
@media (max-width: 899px) {
  .hero-avatar { width: 200px; height: 200px; }
  .hero-text { margin-top: 28px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--text-2); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; z-index: 2;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  display: flex; justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 4px;
  animation: scrollWheel 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
@keyframes scrollWheel { 
  0% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(12px); opacity: 0; }
  41% { transform: translateY(-8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 6px;
  font-family: var(--font); font-size: 0.8125rem; font-weight: 600;
  border: none; cursor: pointer; letter-spacing: 0.01em;
  transition: transform 0.16s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-full { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.02); }
}

/* ───── Sections ───── */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -0.02em;
}
.section-header h2 em { font-style: italic; color: var(--accent); }
.section-sub { color: var(--text-2); font-size: clamp(0.9375rem, 1.5vw, 1.25rem); margin-top: 12px; }

/* ───── Section Dividers (SVG curves) ───── */
.section-divider {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
}
.section-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--bg-alt);
}
.section-divider--flip svg {
  fill: var(--bg);
}

/* ───── About ───── */
.about-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 8vw, 160px); align-items: start; }
.about-text h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 24px; letter-spacing: -0.02em;
}
.about-text h2 em { font-style: italic; color: var(--accent); }
.about-text p { color: var(--text-2); margin-bottom: 20px; font-size: clamp(0.9375rem, 1.5vw, 1.25rem); line-height: 1.8; }

.about-numbers { padding-top: 80px; }
.number-row { display: flex; gap: clamp(32px, 6vw, 120px); }
.number-item { text-align: center; }
.number { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; display: inline; }
.number-suffix { font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 700; color: var(--text-2); }
.number-label { display: block; margin-top: 4px; font-size: 0.6875rem; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

/* ───── Clients Marquee ───── */
.clients-section {
  padding: 32px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.clients-marquee {
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.clients-track { display: flex; gap: 56px; width: max-content; animation: marquee 35s linear infinite; }
.clients-track img { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.35; transition: opacity 0.3s var(--ease); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@media (hover: hover) and (pointer: fine) { .clients-track img:hover { opacity: 0.7; } }
@media (prefers-reduced-motion: reduce) { .clients-track { animation: none; } }

/* ───── Demos (Tracklist Layout) ───── */
.demo-list { display: flex; flex-direction: column; }
.demo-row {
  display: grid;
  grid-template-columns: 40px 1fr auto 2fr;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  will-change: transform, opacity;
  transition: background 0.3s var(--ease);
}
.demo-row:first-child { border-top: 1px solid var(--border); }
.demo-num {
  font-size: 0.75rem; font-weight: 600; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.demo-info h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.demo-lang {
  font-size: 0.75rem; color: var(--accent); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .demo-row { transition: padding-left 0.25s var(--ease), background 0.3s var(--ease); }
  .demo-row:hover { padding-left: 12px; background: rgba(255,255,255,0.02); }
}
@media (max-width: 700px) {
  .demo-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .demo-num { display: none; }
}

.audio-player { display: flex; align-items: center; gap: 16px; }
.play-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--bg);
  transition: transform 0.2s var(--ease), background 0.3s var(--ease);
}
.play-btn.playing { background: var(--accent-hover); }
.play-btn:active { transform: scale(0.92); }
.play-btn svg { width: 16px; height: 16px; }
.play-btn .icon-play { margin-left: 3px; }
.waveform { flex: 1; height: 3px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; cursor: pointer; }
.waveform-fill { height: 100%; width: 0%; background: var(--accent); border-radius: 3px; transition: width 0.1s linear; }
.time, .duration { font-size: 0.6875rem; color: var(--text-2); font-variant-numeric: tabular-nums; min-width: 28px; }
.duration { color: rgba(255,255,255,0.2); }
@media (hover: hover) and (pointer: fine) {
  .play-btn:hover { transform: scale(1.05); background: var(--accent-hover); }
  .waveform:hover { height: 5px; }
}

/* Watch TV Campaigns CTA */
.btn-tv-campaigns {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 1.375rem; padding: 24px 64px;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(196,152,42,0.25);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn-tv-campaigns:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(196,152,42,0.35);
  }
}

/* ───── Services ───── */
.services-list { display: flex; flex-direction: column; }
.service-row {
  display: flex; gap: 24px; align-items: baseline;
  padding: 28px 0; border: none !important;
  will-change: transform, opacity;
}
.service-num { font-size: 0.75rem; font-weight: 600; color: var(--text-2); min-width: 28px; font-variant-numeric: tabular-nums; }
.service-text h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.service-text p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
  .service-row { transition: padding-left 0.25s var(--ease); }
  .service-row:hover { padding-left: 8px; }
}

/* ───── Agents ───── */
.agents-list { padding-top: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.agent-item h3 { font-size: 1.125rem; font-family: var(--font-display); font-weight: 700; margin-bottom: 8px; letter-spacing: 0.01em; }
.agent-email { color: var(--text-2); font-size: 0.875rem; transition: color 0.2s var(--ease); display: inline-block; }
@media (hover: hover) and (pointer: fine) { .agent-email:hover { color: var(--accent); } }

/* ───── Testimonial ───── */
.testimonial { text-align: center; max-width: 580px; margin: 0 auto; perspective: 800px; }
blockquote {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 400; font-style: italic; line-height: 1.55; margin-bottom: 16px;
}
cite { font-style: normal; font-size: 0.8125rem; color: var(--text-2); font-weight: 500; }

/* ───── Contact ───── */
.contact-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; letter-spacing: 0.02em; }
.input-wrapper { position: relative; width: 100%; border-radius: 6px; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.input-wrapper:focus-within { border-color: var(--accent); box-shadow: 0 0 15px rgba(196,152,42,0.1); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  background: transparent; border: none;
  color: var(--text); font-family: var(--font); font-size: 0.875rem;
  outline: none; caret-color: transparent; /* Hide native caret */
}
.form-group select { cursor: pointer; caret-color: auto; }
.form-group textarea { resize: vertical; min-height: 100px; display: block; caret-color: var(--accent); }

/* Custom Dropdown */
.custom-select-wrapper { position: relative; user-select: none; width: 100%; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--border); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.custom-select-wrapper.open { border-color: var(--accent); box-shadow: 0 0 15px rgba(196,152,42,0.1); z-index: 10; }
.contact-direct { text-align: center; max-width: 800px; margin: 0 auto; }
.mega-email {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 4rem);
  line-height: 0.95; font-weight: 700;
  color: var(--text); display: block;
  margin-bottom: 64px; text-decoration: none;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .mega-email:hover { color: var(--accent); transform: translateY(-5px); }
}
.contact-details-grid {
  display: flex; flex-wrap: wrap; gap: 48px; justify-content: center;
  border-top: 1px solid var(--border); padding-top: 48px;
}

.ghost-caret {
  position: absolute; top: 12px; left: 14px;
  width: 2px; height: 1.2em; background: var(--accent);
  opacity: 0; pointer-events: none;
  border-radius: 2px; z-index: 2;
}
.ghost-caret.blinking { animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.ghost-measure {
  position: absolute; top: 0; left: -9999px;
  visibility: hidden; white-space: pre;
  font-family: var(--font); font-size: 0.875rem;
  padding: 0; margin: 0;
}

.contact-details { display: flex; flex-direction: column; gap: 28px; padding-top: 4px; }
.detail h4 { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-2); margin-bottom: 4px; }
.detail p { color: var(--text); font-size: 0.875rem; }

/* ───── Video Gallery ───── */
.video-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px;
  margin-top: 48px; padding-bottom: 80px;
}
.video-card {
  position: relative; border-radius: 12px; overflow: hidden;
  background: var(--bg-alt); aspect-ratio: 16/9; cursor: pointer;
  border: 1px solid var(--border); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.video-card video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: grayscale(40%) brightness(0.8);
}
.video-card:hover { transform: translateY(-8px); border-color: rgba(196,152,42,0.4); }
.video-card:hover video { transform: scale(1.05); filter: grayscale(0%) brightness(1); }
.video-card-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(15,15,16,0.8), transparent);
  pointer-events: none; opacity: 1; transition: opacity 0.4s var(--ease);
}
.video-card:hover .video-card-overlay { opacity: 0; }
.play-icon-overlay {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(196,152,42,0.9); display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 0 30px rgba(196,152,42,0.4);
  transform: scale(0.9); transition: transform 0.4s var(--ease);
}
.play-icon-overlay svg { width: 24px; height: 24px; margin-left: 4px; }
.video-card:hover .play-icon-overlay { transform: scale(1.1); opacity: 0; }
.video-title {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  font-size: 0.875rem; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Audio-only fallback for unsupported video codecs */
.video-card--audio-only video { display: none; }
.video-card--audio-only {
  background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(196,152,42,0.08) 100%);
}
.video-card--audio-only .video-card-overlay {
  opacity: 1 !important;
  flex-direction: column; gap: 8px;
  background: linear-gradient(to top, rgba(15,15,16,0.9) 30%, rgba(15,15,16,0.4));
}
.audio-only-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent);
  background: rgba(196,152,42,0.12); border: 1px solid rgba(196,152,42,0.25);
  padding: 4px 10px; border-radius: 4px;
}

/* ───── Lightbox Modal ───── */
.lightbox-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox-modal.active { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lightbox-content {
  position: relative; z-index: 1001; width: 90%; max-width: 1200px;
  border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transform: translateY(40px) scale(0.95); transition: transform 0.5s var(--ease);
}
.lightbox-modal.active .lightbox-content { transform: translateY(0) scale(1); }
.lightbox-video-container { width: 100%; aspect-ratio: 16/9; background: #000; }
.lightbox-video-container video { width: 100%; height: 100%; outline: none; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; z-index: 1002;
  background: rgba(0,0,0,0.5); border-radius: 50%; border: none; color: #fff; cursor: pointer;
  padding: 8px; transition: background 0.2s, transform 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: var(--accent); transform: rotate(90deg); }
.lightbox-close svg { width: 24px; height: 24px; }

/* ───── Footer ───── */
.footer { padding: 28px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-2); letter-spacing: 0.01em; }

/* ───── Accessibility ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:0.01ms!important; transition-duration:0.01ms!important; }
  .title-line { clip-path: none !important; }
}

@media (pointer: coarse) {
  /* Disable custom cursor on touch devices */
  body, a, button, select, input, textarea { cursor: auto !important; }
  .cursor, .cursor-follower { display: none !important; }
}

/* ───── Responsive ───── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-numbers { padding-top: 0; }
  .number-row { justify-content: flex-start; gap: 32px; }
  .demo-item { grid-template-columns: 1fr; gap: 12px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
