/* ---------- Tokens · CoachingCards365 Brand & Web Kit (Direction A) ---------- */
:root {
  /* Type roles */
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-text:    'Figtree', system-ui, sans-serif;

  /* Surfaces — 60% neutral */
  --surface:  #ffffff;
  --bg:       #f4f7f4;
  --paper:    #ffffff;
  --paper-2:  #e9f4ed;          /* Green 50 · tinted section bg */
  --paper-3:  #f3f6ec;          /* warm grass-cream · alt tint */
  --cardboard:      #efe6d2;
  --cardboard-edge: #d7c9a4;
  --cardboard-shadow: rgba(60, 42, 20, 0.18);

  /* Pitch-stripe texture for tinted sections */
  --pitch-stripe: repeating-linear-gradient(105deg, rgba(19,138,67,0.035) 0 1px, transparent 1px 8px);

  /* Field Green — the brand */
  --grass:        #138a43;      /* Field Green */
  --grass-2:      #0f6f36;      /* Green 700 · hover, body-on-white */
  --grass-deep:   #0b5429;
  --grass-bright: #3fa55f;      /* light accent on dark */
  --grass-dark:   #0a3318;

  /* Gymnastics blue colour-way */
  --gym-blue:      #3d80b8;
  --gym-blue-deep: #275a86;

  /* Signal Red — 10% accent */
  --ball-red:       #c6242a;    /* Signal Red */
  --ball-red-deep:  #a81d22;    /* Red 700 */
  --ball-red-bright:#d83a40;
  --ribbon-red:     #c6242a;
  --ribbon-red-deep:#a81d22;
  --seam:           #f3d6a2;    /* cricket-ball seam */

  --ink:  #18211c;              /* headings & body */
  --body-ink: #3a4641;          /* secondary text */
  --sub:  #6b7771;              /* muted */
  --rule: #e3eae5;              /* line */
  --gold: #d4a93b;              /* review stars */
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Page chrome ---------- */
.site { width: 100%; max-width: 100%; margin: 0 auto; background: var(--paper); position: relative; box-shadow: 0 0 0 1px var(--rule); }
.row { padding-inline: 64px; }
.section { padding-block: 96px; }
.eyebrow {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grass);
}
.eyebrow.on-dark { color: var(--grass-bright); }
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.0;
  margin: 0;
  color: var(--ink);
}
.h-1 { font-size: 66px; line-height: 0.98; }
.h-2 { font-size: 50px; line-height: 1.02; }
.h-3 { font-size: 30px; line-height: 1.1; font-weight: 700; }
.lede { font-family: var(--font-text); font-size: 19px; line-height: 1.55; color: var(--body-ink); font-weight: 500; }
.body { font-family: var(--font-text); font-size: 16px; line-height: 1.65; color: var(--body-ink); font-weight: 400; }
.mono-label { font-family: var(--font-text); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sub); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 6px 24px -12px rgba(11,84,41,0.22);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 64px;
}
.wordmark {
  display: inline-flex; align-items: center;
}
.wordmark img { height: 44px; width: auto; display: block; }
.footer .wordmark img { height: 40px; }
.nav-links { display: flex; gap: 32px; font-weight: 600; font-size: 14px; }
.nav-links a { position: relative; padding-bottom: 2px; }
.nav-links a:hover { color: var(--grass); }
.nav-links a.on { color: var(--grass); }
.nav-links a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grass);
}
.header-actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  background: var(--grass); color: white;
  border: none; border-radius: 999px;
  padding: 11px 20px;
  font-family: var(--font-text);
  font-weight: 700; font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { background: var(--grass-2); transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(31,110,54,0.55); }
.btn.lg { padding: 16px 28px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.on-dark.ghost { color: white; border-color: white; }
.btn.on-dark.ghost:hover { background: white; color: var(--ink); }
.btn.red { background: var(--ball-red); color: white; }
.btn.red:hover { background: var(--ball-red-deep); box-shadow: 0 8px 22px -10px rgba(197,48,42,0.6); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { background: #c89a2c; }

/* ---------- Hero — editorial split, real product photo ---------- */
.hero {
  position: relative;
  padding: 72px 64px 88px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 520px at 88% 18%, rgba(19,138,67,0.07), transparent 70%),
    var(--paper);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 56px; align-items: center;
}
.hero-copy { max-width: 560px; min-width: 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: white; border: 1px solid var(--rule);
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 26px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ball-red); }
.hero h1 { margin: 0; }
.hero h1 strong { color: var(--grass); font-weight: 800; }
.hero h1 .ital { font-style: normal; }
.hero h1 .seam {
  display: inline-block; position: relative;
  white-space: nowrap;
  padding-bottom: 8px;
}
.hero h1 .seam::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  border-bottom: 4px dashed var(--ball-red);
  border-radius: 2px;
}
.hero-lede {
  margin: 26px 0 0;
  font-size: 18.5px; line-height: 1.55; color: var(--body-ink); font-weight: 500;
  max-width: 500px;
}
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; align-items: center; margin-top: 40px; }
.hero-trust-stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.hero-trust-meta { font-size: 13px; color: var(--sub); }
.hero-trust-meta strong { color: var(--ink); }

/* Visual side — green field panel + real photo */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px; width: 100%; justify-self: end;
}
.hero-field {
  position: absolute; inset: 0;
  border-radius: 32px;
  background:
    repeating-linear-gradient(86deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 9px),
    linear-gradient(150deg, var(--grass) 0%, var(--grass-2) 60%, var(--grass-deep) 100%);
  box-shadow: 0 36px 80px -36px rgba(11,84,41,0.55);
  overflow: hidden;
}
.hero-field::after {
  content: "";
  position: absolute; left: -8%; right: -8%; top: 60%;
  height: 24%;
  background: rgba(255,255,255,0.10);
  transform: rotate(-18deg);
}
.hero-photo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-3deg);
  width: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  opacity: 1;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.45), 0 0 0 8px #fff;
  animation: heroPhotoIn .6s cubic-bezier(0.2,0.8,0.2,1), heroFloat 7s ease-in-out 0.7s infinite;
  z-index: 2;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes heroPhotoIn {
  0%   { transform: translate(-50%, -44%) rotate(-7deg) scale(0.95); }
  100% { transform: translate(-50%, -50%) rotate(-3deg) scale(1); }
}
@keyframes heroFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
  50%      { transform: translate(-50%, -53%) rotate(-2deg); }
}
.hero-chip {
  position: absolute; z-index: 3;
  background: #fff; border-radius: 16px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 16px 32px -14px rgba(0,0,0,0.3);
}
.hero-chip .big { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--grass); }
.hero-chip--cards .big { color: var(--ball-red); }
.hero-chip .sub { font-size: 11px; font-weight: 700; line-height: 1.25; color: var(--sub); }
.hero-chip--rating { top: 7%; left: -5%; }
.hero-chip--rating .sub { color: var(--gold); }
.hero-chip--cards { bottom: 13%; right: -5%; }
.hero-badge {
  position: absolute; z-index: 3;
  bottom: 5%; left: 5%;
  background: var(--ink); color: #fff;
  border-radius: 14px; padding: 10px 14px 10px 10px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 32px -14px rgba(0,0,0,0.4);
}
.hero-badge img { width: 34px; height: 34px; border-radius: 8px; }
.hero-badge span { font-size: 10.5px; line-height: 1.3; font-weight: 600; color: #cfd6d1; }
.hero-badge strong { color: #fff; font-size: 12.5px; font-weight: 800; }

/* ---------- Pack component ---------- */
.pack {
  position: relative;
  width: 320px;
  aspect-ratio: 3 / 4;
  background: var(--cardboard);
  border-radius: 4px;
  padding: 18px 14px 22px;
  box-shadow:
    0 1px 0 var(--cardboard-edge),
    0 22px 60px -22px rgba(0,0,0,0.5),
    0 8px 20px -8px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
}
.pack-edge {
  /* Right edge to suggest box depth */
  position: absolute; right: -5px; top: 5px; bottom: 5px; width: 5px;
  background: linear-gradient(90deg, var(--cardboard-edge), #b9a87f);
  border-radius: 0 4px 4px 0;
}
.pack-panel {
  width: 100%; height: 100%;
  background: var(--grass);
  border-radius: 14px;
  border: 4px solid var(--paper);
  padding: 22px 18px 18px;
  display: flex; flex-direction: column; align-items: center;
  color: white; text-align: center;
  position: relative;
  overflow: hidden;
}
.pack-panel::before {
  content: ""; position: absolute; inset: 5px;
  border: 1.2px solid rgba(255,255,255,0.55);
  border-radius: 10px;
  pointer-events: none;
}
.pack-panel::after {
  /* Subtle paper grain */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0,0,0,0.18), transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}
.pack--gymnastics .pack-panel { background: var(--gym-blue); }
.pack--gymnastics .pack-badge { background: var(--gym-blue); }

/* Sport crest badge */
.pack-badge {
  width: 64px; height: 56px;
  background: var(--grass);
  border: 2px solid white;
  border-radius: 8px;
  padding: 4px 4px 5px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  margin-bottom: 14px;
  position: relative; z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.pack-badge-stars {
  font-size: 7.5px; letter-spacing: 1px; color: var(--gold);
  line-height: 1;
}
.pack-badge-name {
  font-family: var(--font-display); font-size: 10.5px; font-weight: 800; letter-spacing: -0.01em;
  line-height: 1; color: white;
  text-transform: none;
}
.pack-badge-name .y { color: var(--gold); font-size: 7px; vertical-align: super; margin-left: 1px; font-weight: 800; letter-spacing: 0.05em; }
.pack-badge-icon {
  font-size: 14px; line-height: 1;
}

.pack-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.05; white-space: nowrap;
  position: relative; z-index: 2;
}
.pack-title sup { font-size: 9px; vertical-align: super; margin-left: 1px; font-weight: 700; }
.pack-edition {
  font-size: 14.5px; font-weight: 800;
  line-height: 1.05;
  margin-top: 6px; margin-bottom: 18px;
  position: relative; z-index: 2;
}
.pack-copy {
  display: flex; flex-direction: column; gap: 11px;
  font-size: 11.5px; line-height: 1.32; font-weight: 600;
  letter-spacing: -0.005em;
  position: relative; z-index: 2;
  max-width: 96%;
}

/* Sizes */
.pack.lg { width: 380px; }
.pack.lg .pack-title { font-size: 24px; }
.pack.lg .pack-edition { font-size: 16.5px; }
.pack.lg .pack-copy { font-size: 12.5px; gap: 13px; }
.pack.lg .pack-badge { width: 76px; height: 66px; }
.pack.lg .pack-badge-name { font-size: 12.5px; }
.pack.lg .pack-badge-stars { font-size: 9px; }

.pack.sm { width: 200px; }
.pack.sm .pack-panel { padding: 14px 11px 12px; border-width: 3px; border-radius: 10px; }
.pack.sm .pack-badge { width: 48px; height: 42px; margin-bottom: 10px; border-radius: 6px; }
.pack.sm .pack-badge-stars { font-size: 6px; }
.pack.sm .pack-badge-name { font-size: 8px; }
.pack.sm .pack-title { font-size: 15px; }
.pack.sm .pack-edition { font-size: 10.5px; margin-bottom: 10px; }
.pack.sm .pack-copy { font-size: 7.5px; gap: 6px; line-height: 1.3; }
.pack.sm .pack-copy p:nth-child(n+3) { display: none; }

/* Special edition ribbon */
.pack-ribbon {
  position: absolute;
  top: 16px; left: -28px;
  background: var(--ribbon-red);
  color: white;
  padding: 4px 32px;
  transform: rotate(-38deg);
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.pack.lg .pack-ribbon { font-size: 10.5px; top: 22px; left: -30px; padding: 5px 36px; }

/* Sport switch animation */
.pack-swap-enter {
  animation: packEnter 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes packEnter {
  0%   { opacity: 0; transform: translateY(20px) scale(0.94) rotate(-4deg); filter: blur(4px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(-1.5deg); }
}

/* ---------- Sport switcher chips ---------- */
.sport-switch {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 18px 64px;
  border-block: 1px solid var(--rule);
  background: white;
  align-items: center;
}
.sport-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  background: white;
  font-weight: 700; font-size: 13.5px;
  color: var(--ink);
  transition: all .2s ease;
}
.sport-chip:hover { border-color: var(--ink); }
.sport-chip .swatch {
  width: 10px; height: 10px; border-radius: 50%; background: var(--grass);
}
.sport-chip[data-sport="gymnastics"] .swatch { background: var(--gym-blue); }
.sport-chip.on { background: var(--ink); color: white; border-color: var(--ink); }
.sport-chip.on .swatch { box-shadow: 0 0 0 2px white; }
.sport-stats { margin-left: auto; display: flex; gap: 24px; }
.sport-stats span { font-size: 12px; color: var(--sub); }
.sport-stats strong { color: var(--ink); font-weight: 800; }

/* ---------- Featured product / spotlight ---------- */
.spotlight {
  background: var(--paper-2);
  background-image: var(--pitch-stripe);
  padding: 96px 64px;
  border-block: 1px solid var(--rule);
}
.spot-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.spot-photo {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px -28px rgba(20,40,20,0.45);
}
.spot-photo img { width: 100%; height: 100%; object-fit: cover; }
.spot-photo .photo-tag {
  position: absolute; left: 22px; bottom: 22px;
  background: white; padding: 8px 14px; border-radius: 999px;
  font-weight: 800; font-size: 12px;
  display: flex; align-items: center; gap: 8px;
}
.spot-photo .photo-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grass-bright); }

.spec-table {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
}
.spec-row {
  display: grid; grid-template-columns: 160px 1fr;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.spec-row .k { font-weight: 800; color: var(--sub); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; align-self: center; }

.buy-row {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.price { font-family: var(--font-display); font-size: 46px; font-weight: 800; letter-spacing: -0.02em; }
.price small { font-size: 16px; font-weight: 700; color: var(--sub); margin-left: 6px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 4px 6px;
}
.qty button { background: none; border: none; width: 30px; height: 30px; font-size: 18px; }
.qty span { padding: 0 10px; font-weight: 800; }

.partnership {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: var(--ink); color: var(--paper);
  border-radius: 14px;
  border-left: 4px solid var(--ball-red);
}
.partnership .small { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; font-weight: 700; }
.partnership .name { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin-top: 2px; }
.partnership a { margin-left: auto; font-weight: 700; font-size: 13px; color: var(--gold); }
.partnership a:hover { text-decoration: underline; }

/* ---------- Shop grid ---------- */
.shop {
  padding: 96px 64px;
  background: var(--paper-3);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.shop-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 40px;
}
.grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.25);
}
.product-photo {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.product-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card:hover .product-photo img { transform: scale(1.06); }
.product-photo .tag {
  position: absolute; top: 14px; right: 14px;
  background: white; color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
}
.product-photo .tag.new { background: var(--ball-red); color: white; }
.product-photo .tag.special { background: var(--ball-red); color: white; }
.product-meta {
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.product-meta .sport {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--grass);
}
.product-meta .sport.gym { color: var(--gym-blue); }
.product-meta .title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.product-meta .lede { font-size: 13.5px; color: var(--sub); font-weight: 500; line-height: 1.5; }
.product-meta .row-bottom {
  margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.product-meta .price-sm { font-size: 18px; font-weight: 800; }
.product-meta .add {
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--grass);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s ease;
}
.product-card:hover .add { gap: 10px; }

/* ---------- Inside the pack ---------- */
.inside {
  background:
    radial-gradient(ellipse 800px 400px at 20% 0%, rgba(46,125,63,0.15), transparent 60%),
    linear-gradient(180deg, var(--grass-dark) 0%, #0a2010 100%);
  color: white;
  padding: 110px 64px;
  position: relative;
  overflow: hidden;
}
.inside::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(85deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(110deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 8px);
  pointer-events: none;
}
.inside-head {
  position: relative; z-index: 2;
  max-width: 720px;
  margin-bottom: 56px;
}
.inside-head h2 { color: white; }
.inside-head h2 em { font-style: italic; color: var(--grass-bright); font-weight: 800; }
.inside-head p { color: #c3d1c4; font-size: 18px; max-width: 560px; margin-top: 16px; }
.inside-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative; z-index: 2;
}
.inside-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 30px 26px;
  backdrop-filter: blur(6px);
}
.inside-card .n {
  font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--grass-bright);
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 18px;
}
.inside-card h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.inside-card p { margin: 8px 0 0; color: #c3d1c4; font-size: 14px; line-height: 1.55; }

/* Sample card stack — fanned cards */
.fan-stage {
  margin-top: 64px;
  position: relative;
  height: 280px;
  display: flex; justify-content: center; align-items: center;
}
.fan-card {
  position: absolute;
  width: 200px; aspect-ratio: 5 / 7;
  background: white;
  border-radius: 14px;
  padding: 20px 18px;
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.5);
  transform-origin: bottom center;
  transition: transform .5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fan-card .num {
  font-size: 10px; font-weight: 800; letter-spacing: 0.16em; color: var(--grass); text-transform: uppercase;
}
.fan-card .q {
  margin-top: 18px; font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em;
}
.fan-card .fcard-foot {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--sub); text-transform: uppercase;
  border-top: 1px solid var(--rule); padding: 8px 0 0;
  background: transparent;
  display: flex; justify-content: space-between;
}

/* ---------- Partnership / story ---------- */
.story {
  padding: 110px 64px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
  background: var(--paper-2);
  background-image: var(--pitch-stripe);
}
.story-photo {
  border-radius: 24px; overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.3);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-stats {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.story-stats .n { font-family: var(--font-display); font-size: 46px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--ball-red); }
.story-stats .k { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); margin-top: 8px; }

/* ---------- Schools strip ---------- */
.schools {
  background: var(--ink); color: white;
  padding: 80px 64px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center;
}
.schools h2 { color: white; }
.schools h2 em { font-style: italic; color: var(--grass-bright); font-weight: 800; }
.schools p { color: #c3c8c0; font-size: 17px; margin-top: 16px; max-width: 540px; }
.schools .form {
  display: flex; gap: 10px; margin-top: 28px;
}
.schools input {
  flex: 1; padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: white; font-family: inherit; font-size: 14px; font-weight: 600;
}
.schools input::placeholder { color: rgba(255,255,255,0.45); }
.schools-list { display: flex; flex-direction: column; gap: 14px; }
.schools-list .item {
  padding: 16px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex; align-items: center; gap: 14px;
}
.schools-list .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--grass); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.schools-list .name { font-weight: 800; font-size: 15px; }
.schools-list .sub { font-size: 12px; color: #99a097; margin-top: 2px; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 110px 64px; background: var(--paper); }
.testimonials-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 56px; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 32px 28px;
}
.t-card .stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.t-card .q { font-size: 17.5px; line-height: 1.5; font-weight: 600; margin: 16px 0 24px; letter-spacing: -0.005em; }
.t-card .by { font-size: 13px; font-weight: 800; }
.t-card .role { font-size: 12px; color: var(--sub); margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { padding: 100px 64px; background: var(--paper-2); background-image: var(--pitch-stripe); border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 80px; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: white; border: 1px solid var(--rule); border-radius: 14px;
  padding: 22px 26px;
  cursor: pointer;
  transition: border-color .2s ease;
}
.faq-item:hover { border-color: var(--ink); }
.faq-item .q-row { display: flex; justify-content: space-between; align-items: center; }
.faq-item .q-text { font-weight: 800; font-size: 16px; }
.faq-item .toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.faq-item.open .toggle { background: var(--grass); color: white; }
.faq-item .a-text {
  font-size: 14.5px; line-height: 1.6; color: var(--sub);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .25s ease, margin .25s ease;
}
.faq-item.open .a-text {
  max-height: 600px; opacity: 1; margin-top: 14px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: var(--paper);
  padding: 72px 64px 24px;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; }
.foot-wordmark { display: inline-flex; align-items: center; gap: 12px; }
.foot-wordmark img { height: 40px; width: auto; border-radius: 9px; }
.foot-wordmark span { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--paper); }
.foot-wordmark span .r { color: var(--ball-red-bright); }
.foot-grid h4 { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #a4a99e; margin: 0 0 18px; }
.foot-grid a { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--paper); }
.foot-grid a:hover { color: var(--grass-bright); }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2a2e26; display: flex; justify-content: space-between; font-size: 12px; color: #888a82; }

/* ---------- "Add to bag" reset (was a span, now a button) ---------- */
.product-meta .add {
  background: none; border: none; padding: 0; cursor: pointer;
  font: inherit;
}

/* ---------- Cart drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.45);
  animation: fadeIn .2s ease;
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: 420px; max-width: 100vw;
  background: var(--paper);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 48px -8px rgba(0,0,0,0.25);
  animation: slideInRight .3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--rule);
}
.cart-drawer-head h3 {
  margin: 0; font-family: var(--font-display); font-size: 20px;
  font-weight: 800; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
}
.cart-count-badge {
  background: var(--ball-red); color: white;
  font-size: 11px; font-weight: 800;
  border-radius: 999px; padding: 2px 8px;
  font-family: var(--font-text);
}
.cart-close {
  background: var(--bg); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
  transition: background .2s ease;
}
.cart-close:hover { background: var(--rule); }

.cart-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 40px 24px; text-align: center;
}
.cart-empty-icon { font-size: 48px; }
.cart-empty p { color: var(--sub); margin: 0; font-size: 15px; }

.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-photo {
  width: 72px; height: 90px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0; background: var(--paper-2);
}
.cart-item-photo img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-sport { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grass); margin-bottom: 3px; }
.cart-item-name { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.cart-item-price { font-size: 16px; font-weight: 800; margin: 6px 0 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 14px; }
.cart-remove {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--sub); font-family: inherit;
  text-decoration: underline;
}
.cart-remove:hover { color: var(--ball-red); }

.cart-footer {
  padding: 16px 24px 28px;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.cart-delivery-bar {
  font-size: 12.5px; font-weight: 700; color: var(--sub);
  background: var(--paper-2); border-radius: 8px;
  padding: 9px 14px; margin-bottom: 14px;
  border: 1px solid var(--rule);
}
.cart-delivery-bar.met { color: var(--grass); background: #e6f4ec; border-color: #b3dfc0; }
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 18px; font-weight: 800;
}
.cart-total small { font-size: 12px; font-weight: 600; color: var(--sub); margin-left: 4px; }

/* ---------- Sign-in modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.5);
  animation: fadeIn .2s ease;
}
.modal {
  position: fixed; z-index: 301;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 420px; max-width: calc(100vw - 32px);
  background: var(--paper); border-radius: 20px;
  padding: 28px;
  box-shadow: 0 32px 80px -20px rgba(0,0,0,0.4);
  animation: popIn .3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes popIn {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.modal-logo { width: 36px; height: 36px; border-radius: 8px; }
.modal-close {
  background: var(--bg); border: none; border-radius: 50%;
  width: 30px; height: 30px; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
}
.modal-close:hover { background: var(--rule); }
.modal-body { display: flex; flex-direction: column; }
.modal-success {
  text-align: center; padding: 16px 0 8px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.modal-success-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grass); color: white;
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.modal-success h3 { margin: 0; font-size: 20px; font-weight: 800; }
.modal-success p { margin: 0; color: var(--sub); font-size: 14px; }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sub); }
.form-field input {
  padding: 12px 16px;
  border: 1.5px solid var(--rule); border-radius: 10px;
  font-family: inherit; font-size: 15px; font-weight: 500;
  background: white; color: var(--ink); outline: none;
  transition: border-color .2s ease;
}
.form-field input:focus { border-color: var(--grass); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 400;
  background: var(--ink); color: white;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
  white-space: nowrap;
  animation: toastIn .3s cubic-bezier(0.2, 0.8, 0.2, 1), toastOut .3s ease 2.5s forwards;
}
@keyframes toastIn  { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; } }

/* ---------- Schools form feedback ---------- */
.schools-sent {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px; padding: 16px 20px;
  background: rgba(19,138,67,0.15); border: 1px solid rgba(19,138,67,0.35);
  border-radius: 12px; color: white;
}
.schools-sent-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grass); color: white;
  font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.schools-error {
  margin-top: 8px; font-size: 13px; font-weight: 700;
  color: var(--ball-red-bright);
}

/* ---------- Hamburger button (hidden on desktop) ---------- */
.nav-mobile-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  margin-left: 8px;
}
.nav-mobile-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Mobile nav drawer (hidden on desktop) ---------- */
.nav-mobile {
  display: none;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* =====================================================================
   Product detail page
   ===================================================================== */
.pdp-wrap { padding-top: 32px; padding-bottom: 96px; }
.pdp-back {
  background: none; border: none; cursor: pointer;
  font-family: var(--mono); font-size: 13px; color: var(--sub);
  padding: 0; margin-bottom: 36px; display: inline-flex; align-items: center; gap: 6px;
}
.pdp-back:hover { color: var(--ink); }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pdp-photo { position: relative; border-radius: 16px; overflow: hidden; background: var(--paper); }
.pdp-photo img { width: 100%; display: block; }
.pdp-photo .tag { position: absolute; top: 16px; left: 16px; }
.pdp-card-count {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--grass); color: #fff; border-radius: 10px;
  padding: 10px 18px; margin: 20px 0 0;
}
.pdp-count-num { font-size: 32px; font-weight: 800; line-height: 1; font-family: var(--display); }
.pdp-count-label { font-size: 14px; font-weight: 600; }
.pdp-description { margin-top: 22px; font-size: 17px; line-height: 1.7; color: var(--ink); }
.pdp-trust {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  margin-top: 24px; font-size: 13px; color: var(--sub); font-family: var(--mono);
}
.pdp-trust span { display: flex; align-items: center; gap: 6px; }
.pdp-related { margin-top: 72px; border-top: 1px solid var(--rule); padding-top: 48px; }

/* =====================================================================
   Responsive — Tablet ≤ 1024px
   ===================================================================== */
@media (max-width: 1024px) {
  .header-inner       { padding: 16px 32px; }
  .nav-links          { gap: 20px; font-size: 13px; }

  .h-1                { font-size: 52px; }
  .h-2                { font-size: 40px; }

  .hero               { padding: 56px 32px 72px; }
  .hero-grid          { gap: 40px; }

  .sport-switch       { padding: 16px 32px; }
  .sport-stats        { display: none; }

  .spotlight          { padding: 72px 32px; }

  .shop               { padding: 72px 32px; }
  .grid               { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .inside             { padding: 80px 32px; }
  .inside-grid        { grid-template-columns: repeat(2, 1fr); }

  .story              { padding: 80px 32px; gap: 48px; }
  .schools            { padding: 64px 32px; gap: 48px; }

  .testimonials       { padding: 80px 32px; }
  .t-grid             { grid-template-columns: repeat(2, 1fr); }

  .faq                { padding: 72px 32px; }
  .faq-grid           { grid-template-columns: 1fr; gap: 48px; }

  .footer             { padding: 56px 32px 24px; }
  .foot-grid          { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
}

/* =====================================================================
   Responsive — Mobile ≤ 640px
   ===================================================================== */
@media (max-width: 640px) {
  /* Header */
  .header-inner       { padding: 14px 20px; }
  .nav-links          { display: none; }
  .header-actions     { display: none; }
  .nav-mobile-btn     { display: flex; }

  /* Mobile nav drawer */
  .nav-mobile {
    display: flex; flex-direction: column;
    background: white;
    border-top: 1px solid var(--rule);
    padding: 8px 20px 20px;
    gap: 0;
  }
  .nav-mobile a {
    padding: 13px 0;
    font-weight: 700; font-size: 16px;
    border-bottom: 1px solid var(--rule);
    color: var(--ink); display: block;
  }
  .nav-mobile-actions {
    display: flex; gap: 10px; margin-top: 16px;
  }
  .nav-mobile-actions .btn { flex: 1; justify-content: center; }

  /* Typography */
  .h-1                { font-size: 38px; }
  .h-2                { font-size: 30px; }
  .h-3                { font-size: 22px; }

  /* Hero */
  .hero               { padding: 36px 20px 52px; }
  .hero-grid          { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual        { max-width: 100%; }
  .hero-lede          { font-size: 16px; }
  .hero-cta           { flex-direction: column; }
  .hero-cta .btn      { width: 100%; justify-content: center; }
  .hero-trust         { flex-direction: column; align-items: flex-start; gap: 14px; }
  /* Keep chips inside the green box */
  .hero-chip--rating  { left: 2%; top: 4%; }
  .hero-chip--cards   { right: 2%; bottom: 8%; }

  /* Product page */
  .pdp-grid           { grid-template-columns: 1fr; gap: 32px; }
  .pdp-wrap           { padding-top: 20px; padding-bottom: 64px; }

  /* Sport switch */
  .sport-switch       { padding: 14px 20px; }

  /* Spotlight */
  .spotlight          { padding: 48px 20px; }
  .spot-grid          { grid-template-columns: 1fr; gap: 36px; }
  .spec-row           { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .price              { font-size: 36px; }

  /* Shop */
  .shop               { padding: 48px 20px; }
  .shop-head          { flex-direction: column; align-items: flex-start; gap: 10px; }
  .grid               { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Inside the pack */
  .inside             { padding: 56px 20px; }
  .inside-grid        { grid-template-columns: 1fr; gap: 14px; }
  .fan-stage          { height: 200px; }
  .fan-card           { width: 150px; }
  .fan-card .q        { font-size: 13px; }

  /* Story */
  .story              { padding: 56px 20px; grid-template-columns: 1fr; gap: 36px; }
  .story-stats        { gap: 16px; }
  .story-stats .n     { font-size: 34px; }

  /* Schools */
  .schools            { padding: 56px 20px; grid-template-columns: 1fr; gap: 36px; }
  .schools .form      { flex-direction: column; }
  .schools .form .btn { width: 100%; justify-content: center; }

  /* Testimonials */
  .testimonials       { padding: 56px 20px; }
  .testimonials-head  { flex-direction: column; align-items: flex-start; gap: 10px; }
  .t-grid             { grid-template-columns: 1fr; }

  /* FAQ */
  .faq                { padding: 48px 20px; }
  .faq-grid           { grid-template-columns: 1fr; gap: 32px; }

  /* Footer */
  .footer             { padding: 48px 20px 20px; }
  .foot-grid          { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-base          { flex-direction: column; gap: 8px; text-align: center; }
}
