/* ========================================
   SiTESPAN — Custom Hero + Unique Styles
   ======================================== */

/* --- HERO: Three.js 3D Sphere --- */
.ss-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.ss-hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  will-change: transform, opacity;
}

.ss-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.ss-hero__logo {
  width: clamp(140px, 20vw, 260px);
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 40px rgba(234, 113, 37, 0.3));
}

.ss-hero h1 {
  font-family: 'field-gothic', sans-serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

.ss-hero h1 em {
  font-style: normal;
  color: var(--pf-accent);
}

.ss-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ss-hero__scroll svg {
  animation: ss-scroll-bounce 2s ease-in-out infinite;
}

@keyframes ss-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- UNIQUE SECTION: 3D sphere background --- */
.ss-unique {
  position: relative;
  overflow: hidden;
}

.ss-unique__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.ss-unique__content {
  position: relative;
  z-index: 1;
}

.ss-unique__image {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 2rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(234, 113, 37, 0.15);
}

.ss-unique__image img {
  width: 100%;
  display: block;
}

/* --- Testimonial card overrides (dark orange cards) --- */
.portfolio-testimonials .pt-scard {
  background: rgba(234, 113, 37, 0.08);
  border: 1px solid rgba(234, 113, 37, 0.12);
}

/* --- Font specimen invert (dark mode) --- */
.pf-design__fonts img {
  filter: invert(1);
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .ss-hero {
    min-height: 500px;
  }

  .ss-hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .ss-hero__logo {
    width: 120px;
  }

  .ss-unique__image {
    max-width: 90%;
  }
}
