:root {
  --ink: #151515;
  --muted: #666a6d;
  --line: #e4e2dd;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --charcoal: #202324;
  --red: #d71920;
  --red-dark: #a91017;
  --amber: #f2b705;
  --sage: #527467;
  --steel: #76818a;
  --shadow: 0 18px 50px rgba(17, 20, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.drawer-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.announcement {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 16px;
  color: #fff;
  background: var(--charcoal);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-align: center;
}

.announcement span {
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
}

.announcement a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 1440px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--charcoal));
  font-weight: 950;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  color: #202020;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  padding: 26px 0;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.icon-search,
.icon-cart {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.icon-search {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-search::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.icon-cart {
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px 3px 6px 6px;
}

.icon-cart::before {
  position: absolute;
  top: -7px;
  left: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.cart-button {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid var(--panel);
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.48)),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=82")
      center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(0deg, rgba(12, 12, 12, 0.8), transparent 48%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14vh 0 12vh;
  color: #fff;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.video-style .eyebrow,
.quote-band .eyebrow {
  color: var(--amber);
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(3.1rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 13px 18px;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.trust-strip div {
  min-height: 104px;
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 7px;
  font-size: 0.98rem;
  text-transform: uppercase;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 86px 32px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2,
.guide-band h2,
.video-style h2,
.newsletter h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.section-heading a {
  border-bottom: 2px solid currentColor;
  padding-bottom: 5px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: minmax(235px, 26vw);
  gap: 14px;
}

.category-card {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  background: #ddd;
}

.category-card.tall {
  grid-row: span 2;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.category-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72));
  content: "";
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card span {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: #fff;
  font-size: clamp(1.3rem, 2.7vw, 3.2rem);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
}

.guide-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 70px max(32px, calc((100vw - 1376px) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(25, 27, 28, 0.94), rgba(25, 27, 28, 0.74)),
    url("https://images.unsplash.com/photo-1517964603305-11c0f6f66012?auto=format&fit=crop&w=1600&q=80")
      center / cover;
}

.guide-band p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.products-section {
  padding-top: 90px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--panel);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tab.active {
  color: #fff;
  border-color: var(--charcoal);
  background: var(--charcoal);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 550px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.product-card[hidden] {
  display: none;
}

.badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  color: #fff;
  background: var(--red);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge.new {
  color: var(--ink);
  background: var(--amber);
}

.product-visual {
  position: relative;
  min-height: 305px;
  overflow: hidden;
  background: #f5f3ee;
}

.product-visual img {
  width: 100%;
  height: 305px;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.04);
}

.product-visual::before,
.product-visual::after,
.product-visual span {
  display: none;
  position: absolute;
  content: none;
}

.rack-visual::before {
  inset: 54px 31% 46px 29%;
  border: 13px solid #171a1c;
  border-bottom-width: 18px;
}

.rack-visual::after {
  right: 24%;
  bottom: 58px;
  left: 24%;
  height: 12px;
  background: var(--red);
  box-shadow:
    0 -88px 0 #171a1c,
    50px -32px 0 #171a1c,
    -50px -32px 0 #171a1c;
}

.cage-visual::before {
  top: 48px;
  right: 25%;
  bottom: 48px;
  left: 25%;
  border: 12px solid #171a1c;
}

.cage-visual::after {
  top: 74px;
  right: 18%;
  left: 18%;
  height: 14px;
  background: #171a1c;
  box-shadow:
    0 58px 0 var(--red),
    0 116px 0 #171a1c,
    0 174px 0 #171a1c;
}

.bench-visual::before {
  right: 18%;
  bottom: 100px;
  left: 24%;
  height: 44px;
  background: #171a1c;
  transform: skewY(-13deg);
}

.bench-visual::after {
  right: 23%;
  bottom: 62px;
  left: 33%;
  height: 10px;
  background: var(--red);
  box-shadow:
    -42px 28px 0 #171a1c,
    68px 30px 0 #171a1c;
}

.dumbbell-visual::before {
  top: 112px;
  left: 17%;
  width: 66%;
  height: 28px;
  background: #202324;
  border-radius: 30px;
}

.dumbbell-visual::after {
  top: 82px;
  left: 18%;
  width: 78px;
  height: 92px;
  border-radius: 18px;
  background: var(--red);
  box-shadow:
    42px 0 0 #1d2022,
    220px 0 0 #1d2022,
    262px 0 0 var(--red);
}

.leg-visual::before {
  right: 18%;
  bottom: 62px;
  left: 22%;
  height: 18px;
  background: #1d2022;
  transform: rotate(-12deg);
  box-shadow: 52px -92px 0 6px var(--red);
}

.leg-visual::after {
  right: 22%;
  bottom: 92px;
  width: 118px;
  height: 86px;
  border: 12px solid #1d2022;
  transform: skewX(-10deg);
}

.cable-visual::before {
  top: 70px;
  left: 22%;
  width: 56%;
  height: 120px;
  border-top: 14px solid #1d2022;
  border-bottom: 14px solid #1d2022;
}

.cable-visual::after {
  top: 94px;
  left: 24%;
  width: 52%;
  height: 16px;
  background: var(--red);
  box-shadow:
    0 42px 0 #1d2022,
    0 84px 0 var(--steel);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.product-body h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.18;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
}

.price-row strong {
  font-size: 1.45rem;
}

.price-row span {
  color: var(--muted);
  text-decoration: line-through;
}

.add-to-cart {
  width: 100%;
  color: #fff;
  background: var(--charcoal);
}

.video-style {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 80px max(32px, calc((100vw - 1376px) / 2));
  color: #fff;
}

.video-style img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-style::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.12));
  content: "";
}

.video-style div {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.video-style p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-grid article {
  background: var(--panel);
}

.story-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-grid h3 {
  margin: 20px 20px 8px;
  font-size: 1.35rem;
}

.story-grid p {
  margin: 0 20px 24px;
  color: var(--muted);
  line-height: 1.62;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: stretch;
  gap: 1px;
  background: var(--line);
}

.quote-copy,
.rating-card {
  background: var(--charcoal);
  color: #fff;
}

.quote-copy {
  padding: 70px max(32px, calc((100vw - 1376px) / 2));
}

.quote-copy blockquote {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 4vw, 4.7rem);
  font-weight: 900;
  line-height: 1;
}

.quote-copy span {
  color: rgba(255, 255, 255, 0.68);
}

.rating-card {
  display: grid;
  place-content: center;
  padding: 42px 28px;
  text-align: center;
}

.rating-card strong {
  font-size: 5.6rem;
  line-height: 0.9;
}

.rating-card span {
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.74);
}

.stars {
  color: var(--amber);
  letter-spacing: 0.08em;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 32px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 86px 32px;
}

.newsletter p:not(.eyebrow) {
  color: var(--muted);
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.signup-form input,
.drawer input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0 15px;
  background: var(--panel);
}

.form-message {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--sage);
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  padding: 64px 32px 28px;
  color: #fff;
  background: #101112;
}

.footer > * {
  min-width: 0;
}

.footer h2 {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer a,
.footer span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.footer .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.footer address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.88rem;
}

.drawer-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  padding: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.drawer-header h2 {
  margin: 0;
  text-transform: uppercase;
}

.quick-results,
.cart-items {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.quick-results a,
.cart-line {
  border: 1px solid var(--line);
  padding: 14px;
  background: #f7f5ef;
  font-weight: 800;
}

.cart-line span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.checkout-button {
  width: 100%;
  margin-top: 22px;
}

@media (max-width: 980px) {
  .announcement {
    flex-direction: column;
    gap: 3px;
  }

  .nav {
    grid-template-columns: auto 1fr auto;
    min-height: 64px;
    padding: 0 18px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .brand {
    justify-self: start;
  }

  .nav-links {
    position: fixed;
    z-index: 30;
    top: 104px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 18px 24px;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-bottom: 80px;
  }

  .trust-strip,
  .product-grid,
  .story-grid,
  .quote-band,
  .newsletter,
  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(240px, 34vw);
  }

  .guide-band {
    grid-template-columns: 1fr;
  }

  .signup-form,
  .footer-brand,
  .quote-copy,
  .footer-bottom {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .nav {
    gap: 10px;
    padding: 0 12px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-actions {
    gap: 6px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    width: calc(100% - 28px);
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-strip,
  .product-grid,
  .story-grid,
  .quote-band,
  .newsletter,
  .footer {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .newsletter {
    padding: 64px 16px;
  }

  .section-heading {
    display: block;
  }

  .section-heading a,
  .tabs {
    margin-top: 18px;
  }

  .tabs {
    justify-content: flex-start;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card.tall {
    grid-row: auto;
  }

  .product-card {
    min-height: auto;
  }

  .product-visual {
    min-height: 260px;
  }

  .product-visual img {
    height: 260px;
  }

  .guide-band,
  .video-style,
  .quote-copy {
    padding-right: 16px;
    padding-left: 16px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .drawer {
    width: 100%;
  }
}
