/* ============================================================
   SOLID 9 PRO SHOP — design system
   ============================================================ */

:root {
  --carbon: #0A0A0B;
  --asphalt: #131418;
  --asphalt-2: #1B1D22;
  --steel: #2A2D33;
  --steel-2: #3A3D44;
  --fog: #6E727A;
  --bone: #F5F2EC;
  --bone-dim: #C9C5BD;
  --strike: #E10A1A;
  --strike-deep: #B2080F;

  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1440px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--carbon);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 0.88;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
}
.eyebrow-strike { color: var(--strike); }
.mono { font-family: var(--font-mono); }

h1, h2, h3, h4 { margin: 0; }

/* ---------- layout ---------- */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule { height: 1px; background: var(--steel); width: 100%; }
.rule-strike { height: 2px; background: var(--strike); width: 48px; }

/* ---------- nav ---------- */
.topbar {
  background: var(--carbon);
  border-bottom: 1px solid var(--steel);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-strip {
  background: var(--strike);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  overflow: hidden;
}
.topbar-strip > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar-strip > span:last-child { flex-shrink: 0; }
.topbar-strip > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.topbar-strip .dot {
  width: 6px; height: 6px; background: var(--bone); border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .topbar-strip > span:first-child .full { display: none; }
}
@media (min-width: 861px) {
  .topbar-strip > span:first-child .short { display: none; }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 44px; height: 44px;
  background: var(--carbon);
  border: 1px solid var(--steel);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  color: var(--strike);
  line-height: 1;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-word .nine { color: var(--strike); }
.brand-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--fog);
  text-transform: uppercase;
  margin-top: 4px;
}
.brand-stack { display: flex; flex-direction: column; }
.brand--img { gap: 14px; align-items: center; }
.brand-logo-img {
  display: block;
  height: 64px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
.brand--img .brand-tag {
  margin-top: 0;
  padding-left: 14px;
  border-left: 1px solid var(--steel);
  align-self: center;
}
@media (max-width: 720px) {
  .brand-logo-img { height: 48px; }
  .brand--img .brand-tag { display: none; }
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bone);
  padding: 8px 0;
  position: relative;
}
.nav-links a:hover { color: var(--strike); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--strike);
}

.nav-cta {
  display: flex; gap: 12px; align-items: center;
}

/* ---------- responsive nav (hamburger) ---------- */
.nav-panel { display: contents; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: var(--carbon);
  border: 1px solid var(--steel);
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--bone);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199px) {
  .nav { position: relative; }
  .nav-toggle { display: flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--carbon);
    border-top: 1px solid var(--steel);
    border-bottom: 1px solid var(--steel);
    padding: 8px var(--gutter) 22px;
    box-shadow: 0 26px 44px rgba(0,0,0,0.45);
    z-index: 60;
  }
  .nav-panel.open { display: flex; }
  .nav-panel .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-panel .nav-links a {
    display: block;
    padding: 15px 2px;
    border-bottom: 1px solid var(--steel);
    font-size: 15px;
  }
  .nav-panel .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
  }
  .nav-panel .nav-cta .btn { display: flex; justify-content: center; text-align: center; }
}
.btn,
a.btn:link,
a.btn:visited {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 22px;
  border: 1px solid var(--steel);
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover,
a.btn:hover { border-color: var(--bone); color: var(--bone); }
.btn-strike,
a.btn-strike:link,
a.btn-strike:visited {
  background: var(--strike);
  border-color: var(--strike);
  color: var(--bone);
}
.btn-strike:hover,
a.btn-strike:hover { background: var(--strike-deep); border-color: var(--strike-deep); color: var(--bone); }
.btn-ghost { border-color: var(--steel-2); }
.btn .arrow { width: 14px; height: 1px; background: currentColor; position: relative; display: inline-block; }
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- footer ---------- */
.footer {
  background: var(--carbon);
  border-top: 1px solid var(--steel);
  padding: 80px 0 32px;
  margin-top: 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--steel);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--strike);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14px; color: var(--bone-dim); }
.footer li a:hover { color: var(--bone); }
.footer-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 0.85;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.footer-mark .nine { color: var(--strike); }
.footer-tagline {
  font-size: 14px;
  color: var(--bone-dim);
  max-width: 320px;
  margin-top: 16px;
  line-height: 1.6;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fog);
}
.footer-base a:hover { color: var(--bone); }

/* ---------- placeholder image ---------- */
.placeholder {
  background:
    repeating-linear-gradient(135deg,
      #1B1D22 0, #1B1D22 14px,
      #16181C 14px, #16181C 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fog);
  text-transform: uppercase;
  border: 1px solid var(--steel);
  position: relative;
}
.placeholder::after {
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 8px; height: 8px;
  background: var(--strike);
}
.placeholder.light {
  background:
    repeating-linear-gradient(135deg,
      #ECE8E0 0, #ECE8E0 14px,
      #E2DDD3 14px, #E2DDD3 28px);
  color: var(--steel-2);
  border-color: var(--bone-dim);
}

/* ---------- common section ---------- */
.section { padding: 120px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 88px);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
  max-width: 900px;
}
.section-head h2 em {
  font-style: normal;
  color: var(--strike);
}
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- product card ---------- */
.product-card {
  background: var(--asphalt);
  border: 1px solid var(--steel);
  text-decoration: none;
  color: inherit;
  display: block;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease;
}
.product-card:hover { border-color: var(--strike); }
.product-card:hover .name { color: var(--strike); }
.ball-card[id^="ball-"] { scroll-margin-top: 120px; }
.product-card .img {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}
.product-card .meta-bar {
  position: absolute;
  top: 14px; left: 14px; right: 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  z-index: 2;
}
.product-card .badge {
  background: var(--strike);
  color: var(--bone);
  padding: 4px 8px;
  font-weight: 600;
}
.product-card .info {
  padding: 22px;
  border-top: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card .brand-line {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--strike);
  text-transform: uppercase;
}
.product-card .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-top: 4px;
}
.product-card .specs {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-card .specs strong { color: var(--bone); font-weight: 500; }
.product-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-top: 12px;
}
.product-card .price small { font-family: var(--font-mono); font-weight: 400; font-size: 11px; color: var(--fog); margin-left: 6px; letter-spacing: 0.1em; }

/* ---------- product image (real photos) ---------- */
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background:
    radial-gradient(ellipse at 50% 50%, #ECE8E0 0%, #C9C5BD 90%);
  padding: 8%;
  display: block;
}
.product-img-wrap {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, #F5F2EC 0%, #C9C5BD 90%);
  display: grid; place-items: center;
}
.product-img-wrap img {
  width: 88%; height: 88%; object-fit: contain;
}
.product-img-wrap.dark {
  background: radial-gradient(ellipse at 50% 50%, #1a1c20 0%, #0b0c0e 70%);
}

/* ---------- ball graphic (for placeholders) ---------- */
.ball {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  margin: auto;
  background: radial-gradient(circle at 32% 28%, #444 0%, #1a1a1c 55%, #050506 100%);
  box-shadow:
    inset -10px -16px 40px rgba(0,0,0,.7),
    inset 14px 18px 30px rgba(255,255,255,.04);
}
.ball::before, .ball::after {
  content: ""; position: absolute;
  width: 7%; height: 7%;
  border-radius: 50%;
  background: #050506;
  box-shadow: inset 1px 2px 3px rgba(0,0,0,.9);
}
.ball::before { top: 28%; left: 36%; }
.ball::after  { top: 38%; left: 50%; }
.ball .third {
  position: absolute;
  width: 7%; height: 7%;
  border-radius: 50%;
  background: #050506;
  top: 46%; left: 36%;
  box-shadow: inset 1px 2px 3px rgba(0,0,0,.9);
}
.ball.red    { background: radial-gradient(circle at 32% 28%, #ff5a5a 0%, #c01018 50%, #5a0207 100%); }
.ball.crimson{ background: radial-gradient(circle at 32% 28%, #b3343c 0%, #6a0a10 55%, #20030a 100%); }
.ball.violet { background: radial-gradient(circle at 32% 28%, #8a4cd6 0%, #3a1973 55%, #100533 100%); }
.ball.amber  { background: radial-gradient(circle at 32% 28%, #f4a23a 0%, #b25910 55%, #3b1a02 100%); }
.ball.teal   { background: radial-gradient(circle at 32% 28%, #3acdb5 0%, #0a5b56 55%, #022024 100%); }
.ball.swirl-rd { background:
  radial-gradient(circle at 30% 25%, #ff5454 0%, transparent 32%),
  conic-gradient(from 30deg, #1c1c1f, #4b0d12, #1c1c1f, #b00a16, #1c1c1f); }
.ball.swirl-vl { background:
  radial-gradient(circle at 30% 25%, #c08aff 0%, transparent 32%),
  conic-gradient(from 80deg, #18101f, #41207a, #18101f, #7a36c9, #18101f); }
.ball.swirl-am { background:
  radial-gradient(circle at 30% 25%, #ffce6c 0%, transparent 32%),
  conic-gradient(from 200deg, #1d130a, #6a3a14, #1d130a, #d27a23, #1d130a); }

.ball-stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at center, #1a1c20 0%, #0b0c0e 70%);
}
.ball-stage::after {
  /* floor reflection */
  content: "";
  position: absolute;
  bottom: 8%; left: 20%; right: 20%;
  height: 14px;
  background: radial-gradient(ellipse, rgba(0,0,0,.65) 0%, transparent 70%);
  filter: blur(2px);
}

/* ---------- breadcrumbs ---------- */
.crumbs {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  padding: 24px 0;
}
.crumbs a:hover { color: var(--bone); }
.crumbs .sep { color: var(--steel-2); }
.crumbs .here { color: var(--bone); }

/* ---------- form ---------- */
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.field input, .field textarea, .field select {
  background: var(--carbon);
  border: 1px solid var(--steel);
  color: var(--bone);
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--strike);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- utility ---------- */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }
.center { align-items: center; justify-content: center; }
.between { justify-content: space-between; }
.tight { line-height: 1; }
.cap { text-transform: uppercase; }
.dim { color: var(--bone-dim); }
.fog { color: var(--fog); }
.strike { color: var(--strike); }

/* badge / pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--steel);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--strike); }

/* ticker */
.ticker {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  padding: 22px 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ticker .item { display: inline-flex; align-items: center; gap: 48px; }
.ticker .star {
  width: 14px; height: 14px;
  background: var(--strike);
  display: inline-block;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}


/* === BALL CARD (shared across Shop / Product / Home) === */
.balls-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ball-card { background: var(--asphalt); border: 1px solid var(--steel); display: flex; flex-direction: column; transition: border-color .15s ease, transform .15s ease; cursor: pointer; text-decoration: none; color: inherit; }
.ball-card:hover { border-color: var(--strike); transform: translateY(-2px); }
.ball-card .img { aspect-ratio: 1; position: relative; overflow: hidden; background: #E8E8E8; }
.ball-card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.ball-card .img .top-meta { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; color: var(--steel-2); text-transform: uppercase; z-index: 2; }
.ball-card .img .top-meta .badge { background: var(--strike); color: var(--bone); padding: 3px 7px; font-weight: 600; }
.ball-card .info { padding: 16px; border-top: 1px solid var(--steel); }
.ball-card .name { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1; color: var(--bone); }
.ball-card .row { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--fog); text-transform: uppercase; }
.ball-card .row strong { color: var(--bone); font-weight: 500; }
.ball-card .price-row { display: flex; justify-content: space-between; align-items: end; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--steel); }
.ball-card .price { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; color: var(--bone); }
.ball-card .call-now, .ball-card .call-cta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--strike); border: 1px solid var(--strike); padding: 5px 8px; }
