/* ============================================================
   Fonts (self-hosted copies of the fonts used on sportident.com)
   ============================================================ */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-v13-latin-regular-VQ3UBCDI.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-v13-latin-700-5OESYTDS.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Slab";
  src: url("../assets/fonts/josefin-slab-v26-latin-700-B6BONFAC.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Reset & base
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", sans-serif;
  color: #595959;
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1356px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Brand tokens, lifted from the live site */
:root {
  --si-red: #f30202;
  --si-red-dark: #9e0101;
  --si-text: #595959;
  --si-border: #e5e5e5;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  width: 100%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.top-bar {
  border-bottom: 1px solid var(--si-border);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
}
.contact {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}
.contact li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact .icon {
  width: 14px;
  height: 14px;
}
.si-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo-s {
  height: 20px;
  width: auto;
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand img {
  height: 40px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--si-text);
  transition: color 0.2s ease;
}
.main-nav a:hover {
  color: var(--si-red);
}
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #595959;
  margin: 6px 0;
}

.cta.btn-primary {
  border-radius: 6px;
  padding: 12px 16px;
  height: 44px;
  width: 44px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to left, var(--si-red) 50%, var(--si-red-dark) 50%) right;
  background-size: 200% 100%;
  transition: background-position 0.3s ease-out;
  cursor: pointer;
}
.cta.btn-primary:hover {
  background-position: left;
}
.cta.btn-primary.gray {
  background: linear-gradient(to left, #f2f2f2 50%, var(--si-red) 50%) right;
  background-size: 200% 100%;
}
.cta.btn-primary.gray img {
  width: 18px;
  filter: brightness(0) saturate(100%) invert(34%) sepia(0%) saturate(1%)
    hue-rotate(269deg) brightness(94%) contrast(82%);
  transition: filter 0.3s ease-out;
}
.cta.btn-primary.gray:hover img {
  filter: brightness(0) saturate(100%) invert(93%) sepia(82%) saturate(2%)
    hue-rotate(16deg) brightness(111%) contrast(100%);
}

@media (max-width: 991px) {
  .top-bar { display: none; }
  .main-nav { display: none; }
  .hamburger { display: block; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2vh;
  padding: 8vh 24px 6vh;
  width: 100%;
  max-width: 1356px;
}

.hero-product-image {
  width: min(70vw, 900px);
  max-height: 62vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

.hero-title {
  font-family: "Josefin Slab", serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0;
}

/* ============================================================
   Scroll-scrubbed feature section
   ============================================================ */
.scroll-scrub {
  position: relative;
  height: 600vh; /* scroll distance the pin lasts for: slide phase + 5 features */
  background: #111;
}

.scroll-scrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 50%, #2a2a2a 0%, #0d0d0d 70%);
}

.connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.connector-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
  transition: stroke-dashoffset 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.connector-dot {
  fill: var(--si-red);
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}
.connector-dot.is-visible {
  transform: scale(1);
}

.scroll-scrub-inner {
  position: relative;
  z-index: 3;
  height: 100%;
}

.feature-col {
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  height: 78vh;
  width: min(32vw, 380px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-item {
  max-width: 380px;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.feature-item h3 {
  font-family: "Josefin Slab", serif;
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.feature-item p {
  color: #c7c7c7;
  font-size: 0.98rem;
  margin: 0;
}

.media-col {
  position: absolute;
  inset: 0;
}

.media-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(60vw, 760px);
  transform: translate(-50%, -50%);
  will-change: transform;
}
.scrub-product-image {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--si-border);
  padding: 24px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.made-in {
  height: 32px;
  width: auto;
}
.social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-nav {
  display: flex;
  gap: 10px;
}
.social-nav img {
  width: 18px;
  height: 18px;
}
