:root {
  --ink: #151719;
  --muted: #666b72;
  --line: #d9dbde;
  --sky: #e6eef7;
  --wash: #f3f4f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.nav-bar { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid #eee; }
.main-nav {
  width: min(1360px, calc(100% - 64px));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand-logo { height: 48px; width: auto; }
.main-nav__links { display: flex; gap: 26px; justify-content: center; font-size: 14px; color: #484c51; }
.main-nav__links a { text-decoration: none; }
.main-nav__links a:hover, .main-nav__links a[aria-current="page"] { color: #000; text-decoration: underline; text-underline-offset: 6px; }
.nav-cta {
  justify-self: end;
  padding: 10px 17px;
  border: 1px solid #cfd2d5;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}
.nav-cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.hero { padding: 64px 0 20px; text-align: center; }
.rare-brand-logo {
  width: 104px;
  height: 104px;
  margin: 0 auto 24px;
  object-fit: cover;
  border: 1px solid #dce1e7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(21,23,25,.07);
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .095em;
  font-size: 11px;
  font-weight: 650;
  color: #6d7279;
}
h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 620;
}
.deck { max-width: 700px; margin: 20px auto 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.hero-media {
  width: min(980px, 100%);
  aspect-ratio: 16 / 7;
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--sky);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media--tennis img { object-position: center; }
.hero-media--pair {
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8px;
  background: transparent;
}
.hero-media--pair img { min-height: 330px; }
.hero-media--pair img:first-child { object-position: center; }
.hero-media--pair img:last-child { object-position: center 58%; }
.hero-actions { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
}
.button--ink { background: var(--ink); color: #fff; }
.button--ghost { border: 1px solid #bfc3c8; }
.button--ghost:hover { background: var(--wash); }

.sport-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 52px 0 92px; }
.sport-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--wash);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.sport-card:hover { transform: translateY(-3px); background: var(--sky); }
.sport-card i { font-style: normal; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; color: #80858b; }
.sport-card img { width: 100%; aspect-ratio: 16 / 10; margin: 20px 0 28px; border-radius: 18px; object-fit: cover; }
.sport-card--tennis img { object-position: center; }
.sport-card h2 { margin: auto 0 8px; font-size: 34px; letter-spacing: -.045em; line-height: 1; }
.sport-card p { margin: 0; color: var(--muted); }
.sport-card b { margin-top: 24px; font-size: 13px; font-weight: 600; }

main.catalogue { padding: 72px 0 56px; }
.family { scroll-margin-top: 110px; margin-top: 80px; }
.family:first-child { margin-top: 0; }
.family-head { text-align: center; margin: 0 auto 30px; max-width: 800px; }
.family-head h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; font-weight: 590; }
.family-head p { margin: 14px auto 0; max-width: 66ch; color: var(--muted); font-size: 16px; line-height: 1.55; }
.coming-soon { margin: 26px 0 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--wash); color: var(--muted); text-align: center; }

.scroll { overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
.sheet {
  display: grid;
  grid-auto-flow: column;
  width: 100%;
  background: #fff;
  border: 1px solid #e3e4e5;
  border-radius: 24px;
  overflow: hidden;
}
.cols-4 { grid-template-columns: 132px repeat(4, minmax(150px, 1fr)); min-width: 880px; }
.cols-2 { grid-template-columns: 132px repeat(2, minmax(210px, 1fr)); min-width: 640px; }
.rows-6 { grid-template-rows: auto repeat(5, minmax(52px, auto)); }
.rows-5 { grid-template-rows: auto repeat(4, minmax(52px, auto)); }
.rows-4 { grid-template-rows: auto repeat(3, minmax(52px, auto)); }
.lab, .val, .id { background: #fff; border-bottom: 1px solid #ececee; border-right: 1px solid #ececee; min-width: 0; }
.lab { display: flex; align-items: center; padding: 0 16px; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; color: #8b8f94; }
.val { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px 14px; font-size: 14px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.id { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 16px 18px; }
.id img { height: 118px; width: auto; max-width: calc(100% - 8px); object-fit: contain; background: var(--sky); border-radius: 18px; padding: 10px 12px; }
.id h3 { margin: 14px 0 0; font-size: 18px; letter-spacing: -.03em; font-weight: 620; }
.size { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.flag { margin: 10px 0 0; padding: 3px 8px; border: 1px solid #cfd3d8; border-radius: 999px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #3c4046; }
.pick { margin-top: auto; padding-top: 14px; border: 0; background: transparent; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid #bfc3c8; border-radius: 999px; background: #fff; font-size: 13px; }
.pick:hover span { background: var(--wash); }
.pick:focus-visible, .nav-cta:focus-visible, .button:focus-visible, .dock button:focus-visible { outline: 2px solid #155eef; outline-offset: 2px; }
.id.is-on, .val.is-on { background: var(--sky); }
.id.is-on .pick span { background: var(--ink); color: #fff; border-color: var(--ink); }

.inquiry { background: #17191c; color: #fff; padding: 84px 0; }
.inquiry__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: end; }
.inquiry .eyebrow { color: #9ea3aa; }
.inquiry h2 { margin: 0; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.045em; font-weight: 560; }
.inquiry p { margin: 18px 0 0; max-width: 46ch; color: rgba(255,255,255,.68); line-height: 1.6; font-size: 16px; }
.inquiry-side p { margin: 0; font-size: 14px; line-height: 1.65; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; color: var(--ink); border-top: 1px solid #e3e4e5; padding: 12px 0; z-index: 6; }
.dock[hidden] { display: none; }
.dock .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.dock strong { display: block; font-size: 14px; font-weight: 600; }
.dock p { margin: 2px 0 0; color: #6d7279; font-size: 13px; }
.dock-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.dock button { border-radius: 999px; min-height: 40px; padding: 0 16px; cursor: pointer; font-size: 13px; }
#copy { background: var(--ink); color: #fff; border: 0; }
#clear { background: #fff; color: var(--ink); border: 1px solid #bfc3c8; }
body.has-dock { padding-bottom: 76px; }
#export { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); width: min(720px, calc(100% - 32px)); height: 160px; border-radius: 12px; border: 1px solid #e3e4e5; padding: 12px; z-index: 6; background: #fff; }

@media (max-width: 860px) {
  .main-nav { width: min(1360px, calc(100% - 32px)); grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 16px 0 12px; row-gap: 10px; }
  .main-nav__links { grid-column: 1 / -1; justify-content: flex-start; gap: 18px; font-size: 13px; overflow-x: auto; }
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .sport-cards { grid-template-columns: 1fr; }
  .sport-card { min-height: 220px; }
  .sport-card img { aspect-ratio: 16 / 8; }
  .inquiry__inner { grid-template-columns: 1fr; }
  h1 { max-width: none; }
}

@media (max-width: 540px) {
  .hero { padding-top: 38px; }
  .hero-media { aspect-ratio: 4 / 3; margin-top: 32px; border-radius: 22px; }
  .hero-media--pair { aspect-ratio: auto; grid-template-columns: 1fr; }
  .hero-media--pair img { min-height: 220px; }
  .nav-cta { padding-inline: 14px; }
  .main-nav__links { gap: 16px; }
  .dock .wrap { align-items: flex-start; flex-direction: column; }
  body.has-dock { padding-bottom: 126px; }
}

@media print {
  .main-nav__links, .nav-cta, .dock, .pick, .hero-actions, .hero-media, #export { display: none !important; }
  .nav-bar { position: static; }
  .inquiry { background: #fff; color: var(--ink); padding: 28px 0; }
  .inquiry p, .inquiry .eyebrow { color: var(--muted); }
  .family { break-inside: avoid; page-break-inside: avoid; }
  body { padding-bottom: 0; }
}

@page { size: A4 landscape; margin: 12mm; }
