/* Brazen Pickleball
   Brand tokens from the Brazen design system: three colors, two typefaces, hard angles. */

:root {
  --scarlett: #9e1842;
  --obsidian: #14171c;
  --white: #ffffff;
  --panel: #1c2027;      /* raised panel on Obsidian */
  --rule: #2a2f37;       /* hairlines on Obsidian */

  --display: "Chakra Petch", "Saira", system-ui, sans-serif;
  --text: "Saira", system-ui, sans-serif;

  --max: 1280px;
  --gutter: 24px;
  --section: 112px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--text);
  font-size: 16px;
  line-height: 24px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--obsidian);
  padding: 10px 16px; font-family: var(--display); font-weight: 700;
}
.skip-link:focus { left: 8px; z-index: 10; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */

.label {
  font-family: var(--display); font-weight: 700;
  font-size: 13px; line-height: 16px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.display-xl, .display-l, .heading {
  margin: 0; font-family: var(--display); font-weight: 700; font-style: italic;
  letter-spacing: -0.01em; text-transform: uppercase;
}
.display-xl { font-size: clamp(56px, 7.5vw, 104px); line-height: 0.92; }
.display-l  { font-size: 48px; line-height: 48px; }
.display-cta { font-size: clamp(44px, 6vw, 72px); line-height: 0.95; }
.subheading { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 28px; }
.data { font-family: var(--display); font-weight: 500; font-size: 15px; line-height: 20px; }
.body-l { margin: 0; font-size: 18px; line-height: 28px; }
.body { margin: 0; }
.strong { font-weight: 600; }
.caption { margin: 0; font-size: 13px; line-height: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 40px; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.08em;
  text-decoration: none; text-transform: uppercase;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: filter 120ms ease;
}
.btn:hover { filter: brightness(1.12); }
.btn--brand { background: var(--scarlett); color: var(--white); }
.btn--light { background: var(--white); color: var(--obsidian); }
.btn--dark  { background: var(--obsidian); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 26px; font-size: 13px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }

.tag {
  display: inline-block; align-self: flex-start;
  background: var(--scarlett); padding: 6px 18px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.site-header .logo img { height: 52px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.nav a { text-decoration: none; padding-block: 12px; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Hero ---------- */

.hero .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding-top: 64px; padding-bottom: 80px;
}
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__copy .body-l { max-width: 520px; }
.hero__media { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }
.hero__media img { width: 100%; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ---------- Band ---------- */

.band { background: var(--scarlett); }
.band .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  padding-top: 18px; padding-bottom: 18px;
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section > .wrap { display: flex; flex-direction: column; gap: 56px; }
.section--light { background: var(--white); color: var(--obsidian); }
.section-head { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Product panels ---------- */

.product {
  display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch;
  background: var(--panel); border-top: 6px solid var(--scarlett);
  scroll-margin-top: 24px;
}
.product__media {
  flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column;
  align-items: center; gap: 24px; padding: 48px 24px 32px;
}
.product__stage { height: 560px; width: 100%; display: flex; align-items: center; justify-content: center; }
.product__stage img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.views { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.views button {
  min-height: 44px; padding: 0 20px; border: 2px solid var(--white);
  background: transparent; color: var(--white); cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.views button[aria-pressed="true"] { background: var(--white); color: var(--obsidian); }

.product__info { flex: 1 1 440px; min-width: 0; padding: 48px 40px; display: flex; flex-direction: column; gap: 20px; }
.product__name {
  margin: 0; font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: 72px; line-height: 68px; letter-spacing: -0.01em;
}
.quick {
  margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.quick div { background: var(--panel); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.quick dd { margin: 0; }
.product__buy { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.product__buy .btn { min-height: 52px; padding: 0 32px; font-size: 13px; }
.price { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 28px; }

/* ---------- Details ---------- */

.details-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.details-head .section-head { flex: 1 1 520px; min-width: 0; }
.details-head .body-l { max-width: 620px; }
.details-head img { width: 340px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.tile { margin: 0; background: var(--obsidian); color: var(--white); display: flex; flex-direction: column; }
.tile > img { width: 100%; height: 320px; object-fit: cover; }
.tile__sides { height: 320px; display: flex; justify-content: center; align-items: center; gap: 56px; padding: 24px 0; }
.tile__sides img { height: 100%; width: auto; }
.tile figcaption { padding: 24px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Specs ---------- */

.specs-body { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.specs-figure { flex: 1 1 360px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.table-box { flex: 999 1 560px; min-width: 0; overflow-x: auto; }
.specs-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.specs-table thead tr { border-bottom: 2px solid var(--scarlett); }
.specs-table th, .specs-table td { text-align: left; vertical-align: top; }
.specs-table thead th { padding: 0 16px 14px 0; }
.specs-table tbody tr { border-bottom: 1px solid var(--rule); }
.specs-table tbody th { padding: 16px 16px 16px 0; white-space: nowrap; line-height: 20px; }
.specs-table td { padding: 16px 16px 16px 0; }
.specs-table td:last-child { padding-right: 0; }

/* ---------- Drop sign up ---------- */

.drop { background: var(--scarlett); }
.drop .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 40px; padding-top: 96px; padding-bottom: 96px;
}
.drop__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.drop__copy img { width: 240px; margin-bottom: 8px; }
.drop__copy .body-l { max-width: 480px; }
.drop__form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.drop__row { display: flex; flex-wrap: wrap; gap: 12px; }
.drop__row input {
  flex: 1 1 240px; min-width: 0; min-height: 56px; padding: 0 18px;
  border: 2px solid var(--white); border-radius: 0; background: var(--white); color: var(--obsidian);
  font-family: var(--text); font-size: 16px;
}
.drop__row .btn { padding: 0 36px; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.form-status { margin: 4px 0 0; font-weight: 600; min-height: 24px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--rule); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 48px; padding-bottom: 48px;
}
.site-footer .logo img { height: 48px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a { text-decoration: none; }

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  :root { --section: 72px; }
  .display-l { font-size: 36px; line-height: 38px; }
  .product__stage { height: 420px; }
  .product__info { padding: 32px 24px; }
  .product__name { font-size: 56px; line-height: 54px; }
  .site-header .logo img { height: 44px; }
  .nav { gap: 18px; }
  .details-head img { width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
