/* ================================================================
   STARPECO — HOME.CSS
   Cinematic homepage styles (home-only; does not affect inner pages)
   Prefix: sp-  (StarPeco homepage)
   ================================================================ */

/* ──────────────────────────────────────────────────────────────
   SHARED HOMEPAGE UTILITIES
   ────────────────────────────────────────────────────────────── */
.sp-section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-section-tag::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}
.sp-section-tag--light {
  color: var(--green-light);
}
.sp-section-tag--light::before {
  background: var(--green-light);
}

.sp-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--navy);
}
.sp-section-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  text-transform: none;
  letter-spacing: -0.02em;
}

/* Reveal animation system */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal="left"] {
  transform: translateX(-36px);
}
[data-reveal="right"] {
  transform: translateX(36px);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translate(0);
}
/* Stagger delays */
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }


/* ──────────────────────────────────────────────────────────────
   HERO — CINEMATIC FULL-VIEWPORT
   ────────────────────────────────────────────────────────────── */
.sp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #09091e;
}

/* Slow Ken Burns zoom on background photo */
.sp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  z-index: 0;
  will-change: transform;
  animation: spKenBurns 18s ease-out both;
}
@keyframes spKenBurns {
  from { transform: scale(1.07); }
  to   { transform: scale(1.00); }
}

/* Multi-layer overlay: directional + depth */
.sp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(9,9,30,0.96) 0%, rgba(9,9,30,0.72) 48%, rgba(9,9,30,0.30) 100%),
    linear-gradient(to top, rgba(9,9,30,0.98) 0%, rgba(9,9,30,0.15) 55%, transparent 100%);
}

/* Film grain texture */
.sp-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Thin green accent rail left edge */
.sp-hero-rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent 0%, var(--green) 25%, var(--green) 75%, transparent 100%);
  z-index: 5;
  opacity: 0.7;
}

/* Main hero content area — grows to fill viewport */
.sp-hero-body {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--offset) + 80px) 56px 72px;
}

.sp-hero-wrap {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: end;
}

/* Eyebrow */
.sp-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  animation: spFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.05s;
}
.sp-eyebrow-tick {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
  border-radius: 2px;
}
.sp-eyebrow span:last-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}

/* Headline — line-by-line reveal */
.sp-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(60px, 9vw, 122px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.sp-line-wrap {
  display: block;
  overflow: hidden;
}
.sp-line {
  display: block;
  color: #fff;
  animation: spLineReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.08s + var(--li, 0) * 0.14s);
}
.sp-line-wrap--serif .sp-line {
  color: var(--green-light);
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 0.88em;
}
.sp-line em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--green-light);
  text-transform: none;
  letter-spacing: -0.02em;
}

@keyframes spLineReveal {
  from {
    opacity: 0;
    transform: translateY(90px) skewY(4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}
@keyframes spFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sp-hero-lead {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.58);
  max-width: 500px;
  margin-bottom: 36px;
  animation: spFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.65s;
}

.sp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: spFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.78s;
}

/* Stats column (right of hero) */
.sp-hero-right {
  border-left: 1px solid rgba(255,255,255,0.10);
  animation: spFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.45s;
}
.sp-hstat {
  padding: 22px 0 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sp-hstat:last-child { border-bottom: none; }
.sp-hstat strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.sp-hstat span {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  font-weight: 700;
}

/* Bottom foot bar (certifications + scroll hint) */
.sp-hero-foot {
  position: relative;
  z-index: 4;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.sp-hero-foot-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
}
.sp-cert-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sp-cert-row span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.sp-cert-label { color: var(--green) !important; }
.sp-cert-dot { color: rgba(255,255,255,0.15) !important; }
.sp-cert-sep { color: rgba(255,255,255,0.15) !important; }

/* Scroll hint */
.sp-scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sp-scroll-bar {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.sp-scroll-bar::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--green-light));
  animation: spScrollDrop 1.6s ease-in-out infinite;
}
@keyframes spScrollDrop {
  0%   { top: -100%; }
  100% { top: 200%; }
}
.sp-scroll-hint span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}


/* ──────────────────────────────────────────────────────────────
   PROOF TICKER — INFINITE MARQUEE
   ────────────────────────────────────────────────────────────── */
.sp-ticker {
  background: var(--navy);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  position: relative;
}
.sp-ticker::before,
.sp-ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.sp-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), transparent);
}
.sp-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), transparent);
}

.sp-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: spTicker 28s linear infinite;
}
.sp-ticker:hover .sp-ticker-track {
  animation-play-state: paused;
}

@keyframes spTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sp-ticker-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  padding: 0 28px;
  white-space: nowrap;
  transition: color 0.2s;
}
.sp-ticker:hover .sp-ticker-item { color: rgba(255,255,255,0.80); }
.sp-ticker-sep {
  color: var(--green);
  font-size: 8px;
  flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────
   PRODUCTS — EDITORIAL ASYMMETRIC GRID
   ────────────────────────────────────────────────────────────── */
.sp-products {
  padding: 96px 0;
  background: #f5f8ff;
}
.sp-products-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

/* Section header — title left, link right (offset) */
.sp-products-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 52px;
}
.sp-all-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.22s, color 0.22s;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--navy);
  white-space: nowrap;
}
.sp-all-link:hover { gap: 14px; color: var(--green); border-color: var(--green); }

/* Editorial grid: feature card (left 60%) + stack (right 40%) */
.sp-products-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* Feature product card: full photo background */
.sp-prod-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}
.sp-prod-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,30,0.96) 0%, rgba(9,9,30,0.50) 45%, rgba(9,9,30,0.12) 100%);
  transition: background 0.4s;
}
.sp-prod-feature:hover .sp-prod-feature-overlay {
  background: linear-gradient(to top, rgba(0,162,79,0.85) 0%, rgba(9,9,30,0.70) 45%, rgba(9,9,30,0.20) 100%);
}
.sp-prod-feature-body {
  position: relative;
  z-index: 1;
  padding: 40px 40px 44px;
}
.sp-prod-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 100px;
  font-weight: 900;
  line-height: 0.9;
  color: rgba(255,255,255,0.20);
  letter-spacing: -0.04em;
  margin-bottom: -8px;
  display: block;
  pointer-events: none;
  user-select: none;
}
.sp-prod-feature-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1;
}
.sp-prod-feature-body p {
  font-size: 14px;
  line-height: 1.78;
  color: rgba(255,255,255,0.68);
  max-width: 400px;
  margin-bottom: 20px;
}
.sp-prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.sp-prod-tags span {
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.20);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sp-prod-feature:hover .sp-prod-tags span {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.sp-prod-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-light);
  display: block;
  transition: letter-spacing 0.2s;
}
.sp-prod-feature:hover .sp-prod-cta { letter-spacing: 0.30em; }

/* Right stack — 3 product cards */
.sp-prod-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-prod-card {
  display: flex;
  flex: 1;
  text-decoration: none;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  position: relative;
}
.sp-prod-card:hover {
  transform: translateX(4px);
  box-shadow: -4px 0 0 var(--green), var(--shadow-md);
}
.sp-prod-card--navy {
  background: var(--navy);
}
.sp-prod-card--green {
  background: var(--green-dark);
}
.sp-prod-card--dark {
  background: #1c1c3a;
}
.sp-prod-card-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.50);
  padding: 28px 0 28px 22px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  border-right: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.sp-prod-card-body {
  padding: 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sp-prod-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}
.sp-prod-card-body p {
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255,255,255,0.52);
  flex: 1;
  margin-bottom: 16px;
}
.sp-prod-arrow {
  font-size: 18px;
  color: rgba(255,255,255,0.30);
  transition: color 0.2s, transform 0.2s;
  display: block;
  align-self: flex-end;
}
.sp-prod-card:hover .sp-prod-arrow {
  color: var(--green-light);
  transform: translateX(4px);
}

/* Bottom band: lubricants (full width strip) */
.sp-prod-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  background: var(--navy);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.28s;
  gap: 24px;
}
.sp-prod-band:hover { background: var(--navy-mid); }
.sp-prod-band-left {
  display: flex;
  align-items: center;
  gap: 28px;
}
.sp-prod-band-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.10);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.sp-prod-band h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 4px;
}
.sp-prod-band p {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.5;
}
.sp-prod-band-right span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--green-light);
  white-space: nowrap;
  transition: letter-spacing 0.2s;
}
.sp-prod-band:hover .sp-prod-band-right span { letter-spacing: 0.28em; }


/* ──────────────────────────────────────────────────────────────
   MANUFACTURING METRICS — DARK CINEMATIC
   ────────────────────────────────────────────────────────────── */
.sp-mfg {
  background: #0e0e26;
  padding: 100px 56px;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern overlay */
.sp-mfg-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.5) 60px, rgba(255,255,255,0.5) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.5) 60px, rgba(255,255,255,0.5) 61px);
  z-index: 0;
}

/* Radial glow accents */
.sp-mfg::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 25%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,162,79,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.sp-mfg::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(247,148,29,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.sp-mfg-wrap {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* Left: statement text */
.sp-mfg-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 16px 0 24px;
}
.sp-mfg-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--green-light);
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 0.9em;
}
.sp-mfg-body {
  font-size: 14px;
  line-height: 1.88;
  color: rgba(255,255,255,0.52);
  max-width: 420px;
  margin-bottom: 32px;
}
.sp-mfg-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,181,88,0.35);
  padding-bottom: 4px;
  transition: gap 0.22s, border-color 0.22s;
}
.sp-mfg-link:hover { gap: 16px; border-color: var(--green-light); }

/* Right: 2×2 metric grid */
.sp-mfg-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.sp-metric {
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  transition: background 0.28s, border-color 0.28s;
}
.sp-metric:hover {
  background: rgba(0,162,79,0.07);
  border-color: rgba(0,162,79,0.25);
}
.sp-metric-inner {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.sp-counter--light {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
}
.sp-metric-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
}
.sp-metric-desc {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
}


/* ──────────────────────────────────────────────────────────────
   PROJECTS TAPE — STAGGERED EXPANDABLE LIST
   ────────────────────────────────────────────────────────────── */
.sp-projects {
  padding: 96px 0;
  background: #f5f8ff;
}
.sp-projects-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

.sp-projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.sp-proj-list {
  display: flex;
  flex-direction: column;
}

.sp-proj-row {
  display: grid;
  grid-template-columns: 72px 1fr 48px;
  align-items: start;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid rgba(52,52,101,0.10);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.28s, padding-left 0.28s;
}
.sp-proj-row:last-child { border-bottom: 1px solid rgba(52,52,101,0.10); }

/* Green fill on hover */
.sp-proj-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: rgba(0,162,79,0.04);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.sp-proj-row:hover::before { width: 100%; }
.sp-proj-row:hover { padding-left: 16px; }

.sp-proj-index {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(52,52,101,0.20);
  padding-top: 4px;
}

.sp-proj-body { flex: 1; }

.sp-proj-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.sp-proj-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 10px;
  transition: color 0.22s;
}
.sp-proj-row:hover .sp-proj-body h3 { color: var(--green-dark); }

.sp-proj-body p {
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 680px;
  /* Hidden by default, revealed on hover */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin 0.35s;
  margin-top: 0;
}
.sp-proj-row:hover .sp-proj-body p {
  max-height: 100px;
  opacity: 1;
  margin-top: 0;
}

.sp-proj-arrow {
  font-size: 20px;
  color: rgba(52,52,101,0.20);
  padding-top: 4px;
  justify-self: end;
  transition: color 0.22s, transform 0.22s;
}
.sp-proj-row:hover .sp-proj-arrow {
  color: var(--green);
  transform: translateX(4px);
}


/* ──────────────────────────────────────────────────────────────
   CLIENTS MARQUEE
   ────────────────────────────────────────────────────────────── */
.sp-clients {
  background: var(--navy);
  padding: 44px 0;
  overflow: hidden;
}
.sp-clients-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.sp-clients-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.sp-clients-rule {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.sp-clients-marquee {
  position: relative;
  overflow: hidden;
}
.sp-clients-marquee::before,
.sp-clients-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.sp-clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), transparent);
}
.sp-clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), transparent);
}

.sp-clients-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: spClientScroll 22s linear infinite;
}
.sp-clients-marquee:hover .sp-clients-track {
  animation-play-state: paused;
}
@keyframes spClientScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sp-client-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 44px;
}
.sp-client-item strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  white-space: nowrap;
  transition: color 0.2s;
}
.sp-client-item:hover strong { color: #fff; }
.sp-client-item span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-top: 3px;
  white-space: nowrap;
}
.sp-client-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────
   SERVICES — ASYMMETRIC SPLIT
   ────────────────────────────────────────────────────────────── */
.sp-services {
  padding: 0;
  background: #edf0fc;
}
.sp-services-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 600px;
}

/* Left: dark statement panel */
.sp-services-left {
  background: var(--navy);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sp-services-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 16px 0 24px;
}
.sp-services-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--green-light);
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 0.95em;
}
.sp-services-sub {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.50);
  max-width: 380px;
}

/* Right: services list */
.sp-services-right {
  padding: 64px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.sp-svc {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(52,52,101,0.10);
  align-items: start;
  transition: padding-left 0.25s;
}
.sp-svc:first-child { border-top: 1px solid rgba(52,52,101,0.10); }
.sp-svc:hover { padding-left: 8px; }

.sp-svc-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
  padding-top: 4px;
}
.sp-svc-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1;
}
.sp-svc-body p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 12px;
}


/* ──────────────────────────────────────────────────────────────
   CTA MONUMENT — FULL BLEED CINEMATIC
   ────────────────────────────────────────────────────────────── */
.sp-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 56px;
  background: #0e0e26;
}
.sp-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.22;
  filter: grayscale(40%);
  transform: scale(1.04);
}
.sp-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(9,9,30,0.97) 0%, rgba(9,9,30,0.82) 60%, rgba(0,130,60,0.25) 100%);
}

/* Large semi-transparent watermark text */
.sp-cta::before {
  content: "STARPECO";
  position: absolute;
  right: -2%;
  bottom: -8%;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(100px, 16vw, 220px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

.sp-cta-wrap {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

.sp-cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 16px 0 16px;
}
.sp-cta-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--green-light);
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 0.92em;
}
.sp-cta-body p {
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
}

.sp-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.sp-cta-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  transition: color 0.2s;
}
.sp-cta-phone:hover { color: rgba(255,255,255,0.80); }


/* ──────────────────────────────────────────────────────────────
   RESPONSIVE — HOMEPAGE
   ────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sp-products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sp-mfg-wrap {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .sp-mfg-body { max-width: 100%; }
  .sp-cta-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sp-cta-actions { align-items: flex-start; }
}

@media (max-width: 900px) {
  /* Hero */
  .sp-hero-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sp-hero-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 0;
  }
  .sp-hstat {
    padding: 20px 16px;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.07);
  }
  .sp-hstat:nth-child(even) { border-right: none; }
  .sp-hero-body { padding: calc(var(--nav-h) + 52px) 28px 56px; }
  .sp-hero-foot-inner { padding: 0 28px; flex-direction: column; align-items: flex-start; gap: 12px; min-height: auto; padding-top: 12px; padding-bottom: 12px; }
  .sp-h1 { font-size: clamp(50px, 12vw, 80px); }

  /* Ticker */
  .sp-ticker-item { font-size: 11px; padding: 0 18px; }

  /* Products */
  .sp-products { padding: 64px 0; }
  .sp-products-wrap { padding: 0 28px; }
  .sp-products-grid { grid-template-columns: 1fr; }
  .sp-prod-feature { min-height: 420px; }
  .sp-products-header { grid-template-columns: 1fr; }

  /* Manufacturing */
  .sp-mfg { padding: 64px 28px; }
  .sp-mfg-right { grid-template-columns: 1fr 1fr; }

  /* Projects */
  .sp-projects { padding: 64px 0; }
  .sp-projects-wrap { padding: 0 28px; }
  .sp-proj-row { grid-template-columns: 48px 1fr 32px; gap: 16px; }
  .sp-proj-body p { max-height: none; opacity: 1; }

  /* Clients */
  .sp-clients-header { padding: 0 28px; }

  /* Services */
  .sp-services-wrap { grid-template-columns: 1fr; }
  .sp-services-left { padding: 56px 28px; }
  .sp-services-right { padding: 48px 28px; }

  /* CTA */
  .sp-cta { padding: 72px 28px; }
  .sp-cta::before { display: none; }
}

@media (max-width: 600px) {
  .sp-hero-right { grid-template-columns: 1fr 1fr; }
  .sp-hstat strong { font-size: 40px; }
  .sp-cert-row { display: none; }
  .sp-mfg-right { grid-template-columns: 1fr; }
  .sp-metric { padding: 24px 20px; }
  .sp-prod-band { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sp-proj-row { grid-template-columns: 1fr 32px; gap: 12px; }
  .sp-proj-index { display: none; }
}

/* ================================================================
   HERO SLIDESHOW
   ================================================================ */
.sp-hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sp-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity, transform;
}

.sp-hero-slide.sp-slide-active {
  opacity: 1;
  animation: sp-kb 8s ease-out forwards;
}

@keyframes sp-kb {
  from { transform: scale(1.07); }
  to   { transform: scale(1.0); }
}

/* Dot navigation */
.sp-hero-dots {
  position: absolute;
  bottom: 108px;
  left: 56px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.30);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.35s ease, width 0.35s ease;
}

.sp-hero-dot:hover {
  background: rgba(255,255,255,0.60);
}

.sp-hero-dot.is-active {
  background: var(--green);
  width: 28px;
}

@media (max-width: 860px) {
  .sp-hero-dots { left: 28px; bottom: 90px; }
}

@media (max-width: 600px) {
  .sp-hero-dots { bottom: 72px; left: 20px; }
}
