/* ═══════════════════════════════════════════
   Stellar Kinetics — Shared Design System
   ═══════════════════════════════════════════ */

/* ── Page Transition Overlay ── */
#sk-transition {
  position: fixed;
  inset: 0;
  background: #141313;
  z-index: 9999;
  pointer-events: none;
  transform: translateX(0);
  transition: transform 0.58s cubic-bezier(0.76, 0, 0.24, 1);
}
#sk-transition.out {
  transform: translateX(101%);
}

/* ── Nav Shrink ── */
.sk-nav {
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease !important;
}
.sk-nav.shrunk {
  height: 52px !important;
  background: rgba(14,14,14,0.97) !important;
  box-shadow: 0 1px 32px rgba(0,0,0,0.6);
}

/* ── Scroll Reveal ── */
.sk-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.sk-reveal.visible { opacity: 1; transform: translateY(0); }

.sk-reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.sk-reveal-left.visible { opacity: 1; transform: translateX(0); }

.sk-reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.sk-reveal-right.visible { opacity: 1; transform: translateX(0); }

.sk-reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.sk-reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.sk-d1 { transition-delay: 0.08s; }
.sk-d2 { transition-delay: 0.16s; }
.sk-d3 { transition-delay: 0.24s; }
.sk-d4 { transition-delay: 0.32s; }
.sk-d5 { transition-delay: 0.40s; }

/* ── Divider Line Reveal ── */
.sk-line {
  height: 1px;
  background: rgba(201,198,197,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.sk-line.visible { transform: scaleX(1); }

/* ── Image Zoom on Hover ── */
.sk-img-wrap { overflow: hidden; }
.sk-img-wrap img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.sk-img-wrap:hover img { transform: scale(1.04); }

/* ── Card Hover ── */
.sk-card {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.sk-card:hover {
  border-color: rgba(201,198,197,0.3) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

/* ── Button Press Feel ── */
.sk-press { transition: transform 0.15s ease, opacity 0.15s ease; }
.sk-press:active { transform: scale(0.97); }

/* ── Counter Number ── */
.sk-counter {
  font-variant-numeric: tabular-nums;
}

/* ── Cursor Glow (subtle) ── */
.sk-cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,198,197,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}

/* ── Section Label ── */
.sk-label {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  color: #c9c6c5;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sk-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #c9c6c5;
  flex-shrink: 0;
}

/* ── Shop Product Card ── */
.sk-product {
  display: block;
  transition: opacity 0.3s ease;
}
.sk-product:hover { opacity: 0.85; }

/* ── Footer ── */
.sk-footer {
  background: #0e0e0e;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Responsive Section Spacing ── */
@media (max-width: 768px) {
  .py-section-gap { padding-top: 80px !important; padding-bottom: 80px !important; }
  .mb-section-gap { margin-bottom: 80px !important; }
  .pt-section-gap { padding-top: 80px !important; }
  .pb-section-gap { padding-bottom: 80px !important; }
}

/* ── Form Inputs ── */
.sk-input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(201,198,197,0.14) !important;
  border-radius: 1px;
  padding: 14px 18px !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #e5e2e1 !important;
  width: 100%;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.3s ease, background 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  display: block;
}
.sk-input::placeholder { color: rgba(196,199,199,0.3) !important; }
.sk-input:focus {
  border-color: rgba(201,198,197,0.45) !important;
  background: rgba(255,255,255,0.07) !important;
}
.sk-input option { background: #1c1b1b; color: #e5e2e1; }

/* ── Form Error Messages ── */
.sk-field-error { display: none; font-family:'Geist',sans-serif; font-size:11px; color:#ff6b6b; letter-spacing:.1em; margin-top:8px; }
.sk-field-error.visible { display: block; }

/* ── Mobile Navigation ── */
.sk-nav-actions { display: flex; align-items: center; gap: 20px; }

.sk-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .sk-hamburger { display: none !important; } }

.sk-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #e5e2e1;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease, width 0.35s ease;
  transform-origin: center;
}
.sk-hamburger span:nth-child(3) { width: 66%; }
.sk-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sk-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sk-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

.sk-mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 48;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  pointer-events: none;
}
.sk-mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.sk-nav.shrunk + .sk-mobile-menu { top: 52px; }
@media (min-width: 1024px) { .sk-mobile-menu { display: none !important; } }

.sk-mobile-menu-inner {
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
}
.sk-mobile-link {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  color: #c4c7c7;
  text-decoration: none;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, padding-left 0.2s;
}
.sk-mobile-link:hover { color: #fff; padding-left: 8px; }
.sk-mobile-link.active { color: #fff; }
.sk-mobile-cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  padding: 18px;
  background: #fff;
  color: #000;
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.sk-mobile-cta:hover { background: #c9c6c5; }

.sk-btn-desktop { display: none !important; }
@media (min-width: 1024px) { .sk-btn-desktop { display: inline-block !important; } }

/* ── Scroll-to-Top ── */
.sk-scroll-top {
  position: fixed;
  bottom: 40px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: rgba(20,20,20,0.92);
  border: 1px solid rgba(201,198,197,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.sk-scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.sk-scroll-top:hover { background: rgba(50,50,50,0.95); }

/* ── Social Links ── */
.sk-social-link {
  color: rgba(255,255,255,0.25);
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
}
.sk-social-link:hover { color: rgba(255,255,255,0.75); }

/* ── Nav Link Underline Animation ── */
.sk-link {
  position: relative;
}
.sk-link:not(.active)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(201,198,197,0.6);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sk-link:not(.active):hover::after {
  width: 100%;
}

/* ── Section Reveal with Stagger on Children ── */
.sk-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.sk-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0.05s; }
.sk-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: 0.15s; }
.sk-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: 0.25s; }
.sk-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay: 0.35s; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* ── Selection Color ── */
::selection { background: rgba(201,198,197,0.2); color: #fff; }

/* ── Team Card Border Left Accent ── */
.sk-team-accent {
  position: relative;
}
.sk-team-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: #c9c6c5;
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.sk-team-accent:hover::before { height: 100%; }
