/* ————————————————————————————————
   Basketball Biomechanics — Summer '26
   ———————————————————————————————— */

:root {
  --ink: #0c0c0c;
  --ink-soft: #3d3d3d;
  --muted: #8a8781;
  --paper: #f7f5f1;
  --paper-deep: #efece6;
  --card: #edeae4;
  --line: rgba(12, 12, 12, 0.09);
  --gold: #c9ab5f;
  --dusk: #55708c;
  --storm: #5d7590;
  --radius: 22px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

.serif {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* ——— micro label ——— */
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.scrolled {
  background: rgba(247, 245, 241, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-dark:not(.scrolled) { color: var(--paper); }
.nav-dark:not(.scrolled) .label { color: rgba(247, 245, 241, 0.6); }

.nav-mark {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-mark sup { font-size: 8px; letter-spacing: 0; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.nav-links a:hover { opacity: 1; }
@media (max-width: 720px) {
  .nav-links a:not(.nav-shop) { display: none; }
}

/* ——— buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 38px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(12, 12, 12, 0.55);
}
.btn:active { transform: translateY(0); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 1px rgba(12,12,12,0.35); }

/* ——— hero ——— */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 140px var(--pad) 80px;
  background:
    radial-gradient(120% 70% at 50% -10%, #fdfcfa 0%, var(--paper) 55%, var(--paper-deep) 100%);
  overflow: hidden;
}

.hero-label {
  margin-bottom: 30px;
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.15s forwards;
}

.hero h1 {
  font-size: clamp(44px, 8.2vw, 128px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.3s forwards;
}

.hero .hero-sub {
  margin-top: 18px;
  font-size: clamp(26px, 3.4vw, 48px);
  color: var(--ink-soft);
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.45s forwards;
}

.hero-desc {
  margin-top: 30px;
  font-size: 15px;
  font-weight: 450;
  letter-spacing: 0.01em;
  color: var(--muted);
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.6s forwards;
}

.hero-cta {
  margin-top: 38px;
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.75s forwards;
}

.hero-figure {
  margin-top: clamp(30px, 5vh, 70px);
  width: min(430px, 68vw);
  aspect-ratio: 4 / 5;
  position: relative;
}
.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.hero-figure img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: rise 1.2s var(--ease) 1.3s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes riseSoft {
  from { opacity: 0; transform: translateY(50px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ——— scroll reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ——— section scaffolding ——— */
.section { padding: clamp(90px, 12vw, 170px) var(--pad); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-top: 16px;
}
.section-head .count {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding-bottom: 10px;
  white-space: nowrap;
}

/* ——— collection grid ——— */
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
}
.grid > .card:nth-child(1),
.grid > .card:nth-child(2) { grid-column: span 3; }
.grid > .card:nth-child(n + 3) { grid-column: span 2; }
@media (max-width: 860px) {
  .grid > .card:nth-child(n) { grid-column: span 3; }
}
@media (max-width: 560px) {
  .grid > .card:nth-child(n) { grid-column: span 6; }
}

.card { position: relative; }

.card-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 4 / 4.6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid > .card:nth-child(1) .card-media,
.grid > .card:nth-child(2) .card-media { aspect-ratio: 4 / 4.1; }

.card-media img {
  width: 74%;
  mix-blend-mode: multiply;
  transition: transform 1s var(--ease), opacity 0.7s var(--ease);
}
.card-media .alt {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74%;
  height: auto;
  opacity: 0;
}
.card:hover .card-media img.main { opacity: 0; transform: scale(1.04); }
.card:hover .card-media img.alt { opacity: 1; transform: scale(1.04); }

.card-tag {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.quick-add {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 26px;
  border-radius: 999px;
  background: rgba(252, 251, 249, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px -12px rgba(12, 12, 12, 0.35);
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), background 0.3s;
  white-space: nowrap;
}
.card:hover .quick-add {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.quick-add:hover { background: var(--ink); color: var(--paper); }
@media (hover: none) {
  .quick-add { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
}

.card-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 6px 0;
}
.card-info h3 { font-size: 15px; font-weight: 550; letter-spacing: -0.01em; }
.card-info .color { margin-top: 4px; font-size: 12.5px; color: var(--muted); font-weight: 450; }
.card-info .price { font-size: 14px; font-weight: 500; white-space: nowrap; text-align: right; }
.card-info .deal {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 450;
  color: var(--muted);
}

/* ——— editorial panels ——— */
.editorial { display: flex; flex-direction: column; }

.panel {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) var(--pad);
}

.panel-ink { background: #0d0d0d; color: var(--paper); }
.panel-dusk { background: #46586c; color: #eef1f4; }
.panel-bone { background: var(--paper-deep); color: var(--ink); }

.panel-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
  width: min(1280px, 100%);
}
.panel-inner.flip { direction: rtl; }
.panel-inner.flip > * { direction: ltr; }
@media (max-width: 820px) {
  .panel-inner { grid-template-columns: 1fr; gap: 48px; }
}

.panel h2 {
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.panel p.panel-copy {
  margin-top: 24px;
  max-width: 400px;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.75;
  opacity: 0.62;
}
.panel .label { margin-bottom: 22px; display: block; }
.panel-ink .label { color: rgba(247, 245, 241, 0.45); }
.panel-dusk .label { color: rgba(238, 241, 244, 0.5); }

.panel-media {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  position: relative;
}
.panel-media img {
  width: 100%;
  transition: transform 1.4s var(--ease);
}
.panel-media:hover img { transform: scale(1.03); }

.panel-ink .panel-media { background: #161616; }
.panel-ink .panel-media img { mix-blend-mode: lighten; }
.panel-dusk .panel-media { background: #ffffff; }
.panel-bone .panel-media { background: #fff; }
.panel-bone .panel-media img { mix-blend-mode: multiply; }

/* detail crop — simulated close-up */
.detail-crop { aspect-ratio: 1 / 1.05; }
.detail-crop img {
  width: 200%;
  max-width: none;
  transform: translate(-28%, -6%);
}
.detail-crop:hover img { transform: translate(-28%, -6%) scale(1.02); }

/* ——— philosophy ——— */
.philosophy {
  text-align: center;
  background: var(--paper);
}
.philosophy .inner { max-width: 760px; margin: 0 auto; }
.philosophy h2 {
  margin-top: 20px;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.philosophy p {
  margin-top: 34px;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 450;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ——— footer ——— */
.footer {
  background: #0d0d0d;
  color: var(--paper);
  padding: clamp(80px, 9vw, 130px) var(--pad) 44px;
  border-radius: 34px 34px 0 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand .mark {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(247, 245, 241, 0.5);
}
.footer-links { display: flex; gap: clamp(40px, 6vw, 100px); flex-wrap: wrap; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-links .label { color: rgba(247, 245, 241, 0.38); margin-bottom: 6px; }
.footer-links a {
  font-size: 14px;
  font-weight: 450;
  color: rgba(247, 245, 241, 0.78);
  transition: color 0.3s;
}
.footer-links a:hover { color: #fff; }

.footer-word {
  margin-top: clamp(70px, 9vw, 120px);
  font-size: clamp(34px, 8.6vw, 132px);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  color: rgba(247, 245, 241, 0.14);
  user-select: none;
}

.footer-base {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(247, 245, 241, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(247, 245, 241, 0.4);
}

/* ————————————————————————————————
   Product page
   ———————————————————————————————— */

.pdp {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 5vw, 90px);
  padding: 120px var(--pad) clamp(80px, 9vw, 140px);
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; padding-top: 104px; }
}

.pdp-gallery { display: flex; flex-direction: column; gap: 18px; }
.pdp-shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 4.4;
}
.pdp-shot img { width: 78%; mix-blend-mode: multiply; }
.pdp-shot.crop { aspect-ratio: 4 / 2.6; position: relative; }
.pdp-shot.crop img {
  position: absolute;
  width: 175%;
  max-width: none;
  top: -62%;
  left: -38%;
}
.pdp-shot .shot-tag {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.pdp-shot.crop { }

.pdp-details {
  position: sticky;
  top: 110px;
}
@media (max-width: 900px) { .pdp-details { position: static; } }

.pdp-details .crumb { margin-bottom: 26px; display: inline-block; }
.pdp-details h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.pdp-details .colorway {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 450;
}
.pdp-details .price {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 500;
}
.pdp-details .deal-note {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 450;
  color: var(--muted);
}

.pdp-desc {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 450;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 460px;
}

.opt-label {
  margin: 34px 0 14px;
  display: flex;
  justify-content: space-between;
  max-width: 460px;
}
.sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.size {
  min-width: 52px;
  padding: 13px 0;
  text-align: center;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: box-shadow 0.3s, background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.size:hover { box-shadow: inset 0 0 0 1px rgba(12, 12, 12, 0.4); transform: translateY(-1px); }
.size.on { background: var(--ink); color: var(--paper); box-shadow: none; }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.qty button {
  width: 44px;
  height: 46px;
  font-size: 17px;
  color: var(--muted);
  transition: color 0.3s;
}
.qty button:hover { color: var(--ink); }
.qty span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 500; }

.pdp-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.pdp-actions .btn { padding: 19px 46px; }
.pdp-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.pdp-specs {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 460px;
}
.pdp-specs ul {
  margin-top: 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp-specs li {
  font-size: 13.5px;
  font-weight: 450;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.pdp-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* performance band */
.performance {
  background: #0d0d0d;
  color: var(--paper);
  text-align: center;
  padding: clamp(90px, 11vw, 150px) var(--pad);
}
.performance .inner { max-width: 680px; margin: 0 auto; }
.performance h2 {
  margin-top: 20px;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.performance p {
  margin-top: 30px;
  font-size: 15.5px;
  font-weight: 450;
  line-height: 1.85;
  color: rgba(247, 245, 241, 0.62);
}
.performance .label { color: rgba(247, 245, 241, 0.4); }

/* more from collection */
.more { padding: clamp(80px, 10vw, 130px) var(--pad); max-width: 1440px; margin: 0 auto; }
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
}
@media (max-width: 860px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
