/* ===== DESIGN SYSTEM ===== */
:root {
  --bg: #080808;
  --bg-surface: #121212;
  --bg-card: rgba(177,138,74,0.06);
  --border: rgba(255,255,255,0.05);
  --border-accent: rgba(177,138,74,0.3);
  --accent: #B18A4A;
  --accent-dark: #8A6A3D;
  --accent-soft: #D5B06B;
  --accent-glow: rgba(177,138,74,0.4);
  --accent-highlight: #F1D28A;
  --charcoal: #1B1A18;
  --bronze: #2B2218;
  --brown: #3D2B1F;
  --ivory: #E7E1D5;
  --text-1: #E7E1D5;
  --text-2: #8A8478;
  --text-3: #4A4640;
  --font-display: 'Orbitron', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;
  --ease-curtain: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

@media (pointer: coarse) {
  body { cursor: auto; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  z-index: 1000;
  transition: none;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent-soft);
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, opacity 0.3s;
}
.cursor-ring.hovering {
  width: 48px;
  height: 48px;
  border-color: var(--accent-highlight);
}

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

/* ===== SCENE 00 — LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s;
}
.loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-bar-track {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.05);
  position: relative;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(177,138,74,0.9);
  transition: width 0.15s;
}
.loader-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  margin-top: var(--space-sm);
}

/* ===== SCENE 01A — NAME REVEAL ===== */
.scene-01a {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  transition: opacity 0.8s ease-in-out;
}
.scene-01a.hidden {
  opacity: 0;
  pointer-events: none;
}
.neon-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: 0.12em;
  color: var(--ivory);
  text-shadow:
    0 0 7px rgba(241,210,138,0.8),
    0 0 20px rgba(213,176,107,0.6),
    0 0 40px rgba(177,138,74,0.5),
    0 0 80px rgba(177,138,74,0.3),
    0 0 120px rgba(138,106,61,0.2);
  display: flex;
  white-space: nowrap;
}
.neon-letter {
  opacity: 0;
  display: inline-block;
}
.neon-letter.revealed {
  opacity: 1;
}
.neon-space { width: 0.3em; }

/* ===== SCENE 01B — CURTAINS ===== */
.scene-01b {
  position: fixed;
  inset: 0;
  z-index: 400;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s, visibility 0.4s;
  background: transparent;
}
.scene-01b.visible {
  visibility: visible;
  opacity: 1;
}
.scene-01b.hidden-done.hidden-done {
  visibility: hidden !important;
  opacity: 0 !important;
  display: none !important;
}

.skip-transition,
.skip-transition .curtain,
.skip-transition .wh-name,
.skip-transition .wh-tagline,
.skip-transition .skill-row,
.skip-transition .rocket-label {
  transition: none !important;
}

.curtain-bg {
  position: absolute;
  inset: 0;
  background: transparent;
}
.industrial-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background:
    repeating-linear-gradient(90deg, rgba(177,138,74,0.03) 0px, transparent 1px, transparent 60px, rgba(177,138,74,0.03) 61px),
    repeating-linear-gradient(0deg, rgba(177,138,74,0.03) 0px, transparent 1px, transparent 40px, rgba(177,138,74,0.03) 41px);
  pointer-events: none;
  display: none;
}
.neon-strips {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 5%,
    rgba(177,138,74,0.5) 15%, rgba(177,138,74,0.5) 18%, transparent 20%,
    transparent 35%,
    rgba(213,176,107,0.4) 40%, rgba(213,176,107,0.4) 43%, transparent 45%,
    transparent 60%,
    rgba(177,138,74,0.5) 65%, rgba(177,138,74,0.5) 68%, transparent 70%
  );
  box-shadow: 0 0 20px rgba(177,138,74,0.3), 0 0 40px rgba(177,138,74,0.1);
  pointer-events: none;
}

/* ===== ROCKET VIGNETTE ===== */
.rocket-vignette {
  position: absolute;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  background: radial-gradient(
    ellipse 45% 70% at 60% 50%,
    transparent 0%,
    transparent 30%,
    rgba(8,8,8,0.3) 50%,
    rgba(8,8,8,0.6) 70%,
    rgba(8,8,8,0.8) 100%
  );
}

@media (max-width: 767px) {
  .rocket-vignette {
    background: linear-gradient(
      to right,
      rgba(8,8,8,0.85) 0%,
      rgba(8,8,8,0.7) 25%,
      rgba(8,8,8,0.3) 50%,
      transparent 70%,
      transparent 100%
    );
  }
}

/* ===== AMBIENT FIREFLY LIGHTS ===== */
.ambient-lights {
  position: absolute;
  inset: 0;
  z-index: 405;
  pointer-events: none;
  overflow: hidden;
}
.ambient-light {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.ambient-light-1 {
  width: 600px; height: 500px;
  bottom: 10%; right: 25%;
  background: radial-gradient(ellipse, rgba(177,138,74,0.35), transparent 70%);
}
.ambient-light-2 {
  width: 500px; height: 450px;
  top: 15%; left: 8%;
  background: radial-gradient(ellipse, rgba(213,176,107,0.25), transparent 70%);
}
.ambient-light-3 {
  width: 450px; height: 400px;
  top: 40%; right: 10%;
  background: radial-gradient(ellipse, rgba(138,106,61,0.3), transparent 70%);
}
.ambient-light-4 {
  width: 550px; height: 450px;
  bottom: 25%; left: 20%;
  background: radial-gradient(ellipse, rgba(241,210,138,0.2), transparent 70%);
}

.curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 410;
  transition: transform 1.2s var(--ease-curtain);
}
.curtain-left {
  left: 0;
  background: linear-gradient(to right, #080806, #12100a);
  border-right: 1px solid rgba(177,138,74,0.25);
  box-shadow: inset -20px 0 40px rgba(0,0,0,0.8), 4px 0 30px rgba(177,138,74,0.1);
}
.curtain-right {
  right: 0;
  background: linear-gradient(to left, #080806, #12100a);
  border-left: 1px solid rgba(177,138,74,0.25);
  box-shadow: inset 20px 0 40px rgba(0,0,0,0.8), -4px 0 30px rgba(177,138,74,0.1);
}
.curtain-left.open { transform: translateX(-100%); }
.curtain-right.open { transform: translateX(100%); }

.warehouse-grid {
  position: relative;
  z-index: 410;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  width: 100%;
}
.wh-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 15vw;
  background: linear-gradient(to right, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.7) 60%, transparent 100%);
}
.wh-left-content { max-width: 580px; transform: scale(1.1); transform-origin: left center; }
.wh-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  color: var(--ivory);
  letter-spacing: 0.12em;
  text-shadow:
    0 0 7px rgba(241,210,138,0.6),
    0 0 20px rgba(213,176,107,0.4),
    0 0 40px rgba(177,138,74,0.3),
    0 0 80px rgba(177,138,74,0.15);
  margin-bottom: var(--space-sm);
}
.wh-tagline {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.4vw, 14px);
  color: rgba(213,176,107,0.3);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.15s, transform 0.6s ease-out 0.15s, color 2s ease-in-out, text-shadow 2s ease-in-out;
}
.wh-tagline.glow {
  color: rgba(241,210,138,1);
  text-shadow:
    0 0 10px rgba(241,210,138,0.8),
    0 0 30px rgba(213,176,107,0.5),
    0 0 60px rgba(177,138,74,0.3);
}

.wh-name.fade-in,
.wh-tagline.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.skill-rows { display: flex; flex-direction: column; gap: var(--space-sm); }
.skill-row {
  background: rgba(177,138,74,0.04);
  border: 1px solid rgba(177,138,74,0.12);
  border-left: 2px solid var(--accent);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: -4px 0 12px rgba(177,138,74,0.2);
  opacity: 0;
  transform: translateX(-10px);
  cursor: default;
  transform-origin: left center;
  transition: opacity 0.3s, transform 0.25s ease-out, background 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.skill-row.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.skill-row.visible:hover {
  background: rgba(177,138,74,0.12);
  border-color: rgba(177,138,74,0.4);
  transform: translateX(0) scale(1.06);
  box-shadow: -4px 0 20px rgba(177,138,74,0.35), 0 6px 24px rgba(0,0,0,0.4);
}
.skill-icon { font-size: 20px; color: var(--accent-soft); flex-shrink: 0; }
.skill-info { display: flex; flex-direction: column; gap: 2px; }
.skill-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(10px, 1.4vw, 14px);
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.skill-sub {
  font-family: var(--font-mono);
  font-size: clamp(9px, 1.1vw, 12px);
  color: var(--text-2);
}

.wh-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.wh-right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(177,138,74,0.2), transparent);
  box-shadow: 0 0 12px rgba(177,138,74,0.1);
}

.rocket-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(177,138,74,0.35);
  margin-top: var(--space-md);
  opacity: 0;
  transition: opacity 0.6s ease-out 0.3s;
}
.rocket-label.fade-in {
  opacity: 1;
  animation: labelPulse 2s ease-in-out infinite;
}
@keyframes labelPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

/* ===== HERO2 SCROLL-SCRUB CANVAS ===== */
/* z-index 395: below scene01b (400) so UI elements remain on top */
.hero2-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 395;
  pointer-events: none;
  display: none;
}
.hero2-canvas.active {
  display: block;
}

/* ===== HERO SPACER ===== */
.hero-spacer {
  position: relative;
  height: 300vh;
  z-index: 1;
}

/* ===== HERO VIDEO (inside scene01b) ===== */
.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 399;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-video.playing {
  opacity: 1;
}

/* Phone portrait (≤ 500px): offset hero backgrounds left */
@media (max-width: 500px) {
  .hero-video {
    left: -40vw;
    width: calc(100% + 40vw);
  }
  .hero2-canvas {
    left: -40vw;
    width: calc(100% + 40vw);
  }
}

/* ===== SCROLL CANVAS (scene 02) ===== */
.scrub-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s;
}
.scrub-canvas.active {
  opacity: 1;
  visibility: visible;
}

/* ===== SCENE 02 — SCROLL SCRUB ===== */
.scrub-spacer {
  position: relative;
  height: 400vh;
  z-index: 1;
}

/* ===== SCRUB TITLE ===== */
.scrub-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 55;
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: 0.08em;
  opacity: 0;
  transition: top 0.6s ease-out, font-size 0.6s ease-out, letter-spacing 0.6s ease-out, word-spacing 0.6s ease-out;
}
.scrub-title.active {
  opacity: 1;
}
.scrub-title.slide-top {
  top: 8vh;
  font-size: clamp(20px, 3.5vw, 38px);
  letter-spacing: 0.2em;
  word-spacing: 0.3em;
}
.scrub-title-letter {
  opacity: 0;
  display: inline-block;
  color: var(--ivory);
  transition: opacity 0.15s ease-out;
}
.scrub-title-letter.lit {
  opacity: 1;
  text-shadow:
    0 0 7px rgba(241,210,138,0.8),
    0 0 20px rgba(213,176,107,0.5),
    0 0 40px rgba(177,138,74,0.3);
  animation: letterFlicker 0.2s ease-out;
}
@keyframes letterFlicker {
  0% { opacity: 0; }
  20% { opacity: 0.7; }
  40% { opacity: 0.3; }
  60% { opacity: 0.9; }
  80% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ===== SCRUB DIM OVERLAY ===== */
.scrub-dim {
  position: fixed;
  inset: 0;
  z-index: 51;
  pointer-events: none;
  background: rgba(8,8,8,0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.scrub-dim.active {
  opacity: 1;
}

/* ===== SERVICE CARDS ===== */
.service-cards-row {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 60;
  display: flex;
  gap: 24px;
  height: 66vh;
  pointer-events: none;
}
.service-cards-row.visible {
  pointer-events: auto;
}
.service-card {
  width: 280px;
  height: 100%;
  background: rgba(27,26,24,0.3);
  border: 1px solid rgba(177,138,74,0.15);
  border-radius: 16px;
  padding: 32px 24px;
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, border-color 0.3s, box-shadow 0.3s;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213,176,107,0.5), transparent);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(177,138,74,0.06) 0%, transparent 50%, rgba(177,138,74,0.03) 100%);
  pointer-events: none;
}
.service-card.visible:hover, .service-card.visible:focus-visible {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(213,176,107,0.4);
  box-shadow:
    0 8px 32px rgba(177,138,74,0.2),
    0 0 60px rgba(177,138,74,0.08),
    inset 0 1px 0 rgba(213,176,107,0.15);
  outline: none;
}
.sc-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.service-card:hover .sc-img {
  opacity: 1;
}
.sc-icon { font-size: 20px; color: var(--accent-soft); }
.sc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(11px, 1.4vw, 14px);
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sc-divider {
  width: 24px;
  height: 1px;
  background: rgba(177,138,74,0.3);
}
.sc-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid rgba(213,176,107,0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  cursor: pointer;
  text-decoration: none;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease-out, border-color 0.3s;
  box-shadow: 0 0 12px rgba(177,138,74,0.15);
}
.sc-btn::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(241,210,138,0.3), transparent 50%, rgba(177,138,74,0.2));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.sc-btn:hover {
  transform: scale(1.05);
  border-color: rgba(241,210,138,0.5);
  box-shadow:
    0 0 20px rgba(177,138,74,0.4),
    0 0 50px rgba(177,138,74,0.2),
    0 4px 16px rgba(0,0,0,0.3);
}
.sc-btn:hover::after {
  opacity: 1;
}
.sc-btn:active {
  transform: scale(0.97);
}

/* Nebula wisps (atmosphere for cards) */
.nebula-wisp {
  position: fixed;
  pointer-events: none;
  z-index: 55;
  opacity: 0;
  transition: opacity 0.5s;
}
.nebula-wisp-1 {
  width: 400px; height: 300px; top: 15%; right: 5%;
  background: radial-gradient(ellipse, rgba(177,138,74,0.04), transparent);
  filter: blur(8px);
}
.nebula-wisp-2 {
  width: 300px; height: 350px; top: 40%; right: 20%;
  background: radial-gradient(ellipse, rgba(213,176,107,0.03), transparent);
  filter: blur(8px);
}
.nebula-wisp-3 {
  width: 350px; height: 250px; bottom: 10%; right: 10%;
  background: radial-gradient(ellipse, rgba(138,106,61,0.03), transparent);
  filter: blur(8px);
}

/* ===== SCENE 03 — CONTACT ===== */
/* ===== SCENE 04 — ROCKET LANDING CTA ===== */
.land-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s;
}
.land-canvas.active {
  opacity: 1;
  visibility: visible;
}
.land-spacer {
  position: relative;
  height: 300vh;
  z-index: 1;
  background: var(--bg);
}
.land-dim {
  position: fixed;
  inset: 0;
  z-index: 51;
  pointer-events: none;
  background: rgba(8,8,8,0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.land-dim.active {
  opacity: 1;
}
.land-cta {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  opacity: 0;
  pointer-events: none;
}
.land-cta.visible {
  opacity: 1;
  pointer-events: auto;
}

.scene-contact {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  z-index: 200;
  padding: var(--space-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
  overflow: hidden;
}
.scene-contact.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(177,138,74,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.contact-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(177,138,74,0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.contact-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 52px);
  color: var(--ivory);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
.contact-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
  margin-bottom: var(--space-lg);
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(27,26,24,0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--accent-soft);
  font-family: var(--font-display);
  font-size: clamp(10px, 1.4vw, 13px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 12px;
  border: 1px solid rgba(177,138,74,0.2);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.3),
    0 0 40px rgba(177,138,74,0.1),
    inset 0 1px 0 rgba(213,176,107,0.1);
  cursor: pointer;
  transition: transform 0.2s ease-out, border-color 0.3s, box-shadow 0.3s;
  min-height: 44px;
  min-width: 44px;
  position: relative;
  overflow: hidden;
}
.contact-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213,176,107,0.4), transparent);
}
.contact-btn:hover, .contact-btn:focus-visible {
  border-color: rgba(213,176,107,0.4);
  box-shadow:
    0 8px 32px rgba(177,138,74,0.2),
    0 0 60px rgba(177,138,74,0.15),
    inset 0 1px 0 rgba(213,176,107,0.15);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}
.contact-btn:active {
  transform: scale(0.97);
}
.contact-neon-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177,138,74,0.3), transparent);
  box-shadow: 0 0 20px rgba(177,138,74,0.15);
}

/* ===== ABOUT ME ===== */
.about-wrap {
  position: relative;
  z-index: 200;
}
.scene-about {
  position: relative;
  z-index: 200;
  background: var(--bg);
  padding: var(--space-3xl) 0 var(--space-2xl);
  width: 100%;
  overflow: hidden;
  visibility: hidden;
}
.scene-about.revealed {
  visibility: visible;
}
@media (max-width: 767px) {
  .scene-about {
    padding: var(--space-lg) 0 var(--space-lg);
  }
}
.about-fade-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  z-index: 300;
  pointer-events: none;
  transition: none;
}
.about-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.about-glow {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  filter: blur(80px);
  transition: opacity 3s ease-in-out, transform 8s ease-in-out;
}
.about-glow-1 {
  width: 600px; height: 500px;
  top: 0%; left: 5%;
  background: radial-gradient(ellipse, rgba(210,70,20,0.24), rgba(180,80,30,0.08) 60%, transparent);
  animation: lava-drift-1 8s ease-in-out infinite;
}
.about-glow-2 {
  width: 550px; height: 450px;
  bottom: 5%; right: 0%;
  background: radial-gradient(ellipse, rgba(230,130,20,0.2), rgba(210,100,15,0.07) 60%, transparent);
  animation: lava-drift-2 10s ease-in-out infinite;
}
.about-glow-3 {
  width: 500px; height: 450px;
  top: 30%; left: 50%;
  background: radial-gradient(ellipse, rgba(190,50,15,0.22), rgba(170,60,25,0.07) 60%, transparent);
  animation: lava-drift-3 9s ease-in-out infinite;
}
.about-glow-4 {
  width: 550px; height: 500px;
  top: 60%; left: 0%;
  background: radial-gradient(ellipse, rgba(240,150,40,0.18), rgba(220,110,20,0.06) 60%, transparent);
  animation: lava-drift-4 11s ease-in-out infinite;
}
.about-glow-5 {
  width: 480px; height: 420px;
  top: 10%; right: 15%;
  left: auto;
  background: radial-gradient(ellipse, rgba(200,60,10,0.2), rgba(180,70,20,0.06) 60%, transparent);
  animation: lava-drift-5 7s ease-in-out infinite;
}
@keyframes lava-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(35%, 25%) scale(1.3); }
  50%  { transform: translate(-20%, 40%) scale(0.8); }
  75%  { transform: translate(40%, -15%) scale(1.2); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes lava-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-35%, -25%) scale(1.2); }
  50%  { transform: translate(25%, -35%) scale(0.85); }
  75%  { transform: translate(-40%, 20%) scale(1.25); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes lava-drift-3 {
  0%   { transform: translate(-50%, -50%) scale(1); }
  25%  { transform: translate(-25%, -30%) scale(1.3); }
  50%  { transform: translate(-70%, -65%) scale(0.8); }
  75%  { transform: translate(-35%, -25%) scale(1.2); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
@keyframes lava-drift-4 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(30%, -30%) scale(1.25); }
  50%  { transform: translate(-25%, -20%) scale(0.85); }
  75%  { transform: translate(20%, 30%) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes lava-drift-5 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-30%, 35%) scale(1.2); }
  50%  { transform: translate(35%, 20%) scale(0.85); }
  75%  { transform: translate(-20%, -30%) scale(1.3); }
  100% { transform: translate(0, 0) scale(1); }
}
.about-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.about-neon-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177,138,74,0.3), transparent);
  box-shadow: 0 0 20px rgba(177,138,74,0.15);
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}
.carousel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.carousel-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.carousel-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.carousel-track {
  display: flex;
  gap: 16px;
  animation: carouselScroll 30s linear infinite;
  width: max-content;
}
.carousel-track:hover {
  animation-play-state: paused;
}
.carousel-img {
  width: 320px;
  height: 220px;
  border-radius: var(--border-radius-lg, 12px);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
@keyframes carouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* About content grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5vw;
  align-items: start;
}
.about-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.about-text.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(177,138,74,0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.about-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--ivory);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}
.about-body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Stat cards */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}
.about-stats.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-stat {
  background: rgba(27,26,24,0.6);
  border: 1px solid rgba(177,138,74,0.12);
  border-left: 2px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: -4px 0 12px rgba(177,138,74,0.1);
  transition: transform 0.25s ease-out, border-color 0.2s, box-shadow 0.2s;
}
.about-stat:hover {
  transform: scale(1.04);
  border-color: rgba(177,138,74,0.3);
  box-shadow: -4px 0 20px rgba(177,138,74,0.25), 0 4px 16px rgba(0,0,0,0.3);
}
.about-stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--accent-soft);
  letter-spacing: 0.04em;
}
.about-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About mobile */
@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: 0 var(--space-lg);
  }
  .carousel-img {
    width: 260px;
    height: 180px;
  }
  .carousel-fade {
    width: 60px;
  }
  .about-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 0;
    padding: 0;
    width: 200vw;
    transition: none;
  }
  .about-text {
    width: 100vw;
    min-width: 100vw;
    padding: 0 var(--space-lg);
    box-sizing: border-box;
  }
  .about-stats {
    width: 100vw;
    min-width: 100vw;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    justify-content: center;
    box-sizing: border-box;
    opacity: 1;
    transform: none;
  }
  .about-stats.visible {
    opacity: 1;
    transform: none;
  }
  .about-stat {
    flex: none;
    width: 100%;
    min-width: 0;
    border-left-width: 2px;
    padding: 14px 16px;
    background: rgba(12,12,10,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(177,138,74,0.15);
    border-radius: 12px;
    box-shadow:
      0 0 20px rgba(177,138,74,0.1),
      inset 0 0 12px rgba(177,138,74,0.04);
  }
}

/* ===== STATIC SERVICES (reduced motion) ===== */
.static-services {
  display: none;
  position: relative;
  z-index: 200;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--bg);
}
.static-services-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  color: var(--ivory);
  text-align: center;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.08em;
}
.static-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}
.static-card {
  background: rgba(27,26,24,0.85);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 40px var(--space-lg);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  background: transparent;
  width: 100%;
  position: relative;
  z-index: 200;
}
.footer-links {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xs);
}
.footer-links a {
  color: var(--text-3);
  transition: color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--accent-soft); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .scrub-spacer,
  .scrub-canvas,
  .hero-video,
  .service-card,
  .nebula-wisp,
  .scroll-companion,
  .scene-01a,
  .scene-01b,
  .cursor-dot,
  .cursor-ring,
  .land-canvas,
  .land-spacer,
  .land-cta,
  .scroll-progress { display: none !important; }

  #staticServices { display: block !important; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scene-contact, .land-cta {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    position: relative;
    display: flex;
  }
}

/* ===== MOBILE (375px) ===== */
@media (max-width: 767px) {
  .warehouse-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 100vh;
  }
  .wh-left {
    padding: var(--space-lg);
    padding-top: 20vh;
    padding-right: var(--space-lg);
    align-items: flex-start;
    justify-content: flex-start;
    background: linear-gradient(to bottom, rgba(8,8,8,0.8) 0%, rgba(8,8,8,0.5) 60%, transparent 100%);
    z-index: 1;
  }
  .wh-right {
    display: none;
  }
  .wh-right::before { display: none; }

  .service-cards-row {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    width: max-content;
    height: 75vh;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    padding: 0 16px;
    transition: none;
  }
  .service-card {
    width: calc(100vw - 48px);
    min-width: calc(100vw - 48px);
    height: 100%;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 14px;
  }
  .service-card .sc-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
  }
  .service-card .sc-title {
    font-size: 12px;
  }
  .service-card .sc-desc {
    font-size: 12px;
    line-height: 1.6;
  }
  .service-card .sc-btn {
    padding: 10px 18px;
    font-size: 10px;
    width: 100%;
    justify-content: center;
  }

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

  .contact-headline {
    font-size: clamp(24px, 7vw, 36px);
  }
}

/* ===== TABLET (768px – 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .warehouse-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card {
    width: clamp(200px, 30vw, 320px);
  }
  .static-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}
