:root {
  --red: #d4002a;
  --red-dark: #a8001f;
  --red-light: #ff3d5a;
  --black: #111;
  --white: #fff;
  --cream: #f6f2ea;
  --gray-100: #f5f5f5;
  --gray-500: #666;
  --gray-900: #222;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: min(1200px, calc(100% - 2rem));
  --header-h: 72px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Announcement */
.announcement-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  padding: 0.55rem 0;
}

.announcement-bar span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Marquee */
.marquee {
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee--stats .marquee__track {
  animation-duration: 28s;
}

.marquee--stores .marquee__track {
  animation-duration: 18s;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--red);
  color: var(--white);
}

.header__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.logo {
  justify-self: center;
}

.logo__mark {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.4rem 0.65rem;
  white-space: nowrap;
}

.logo__mark--footer {
  margin-bottom: 0.75rem;
}

.nav {
  display: none;
  gap: 1.5rem;
  justify-self: center;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 0.75;
}

.header__actions {
  display: flex;
  gap: 0.35rem;
  justify-self: end;
}

.header__menu {
  display: flex;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 999px;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header__menu {
  flex-direction: column;
  gap: 5px;
}

.header__menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}

.header__menu[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__menu[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.cart-btn {
  position: relative;
}

.cart-btn__count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--white);
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index: 90;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 4rem;
  color: var(--white);
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  color: #ffe08a;
}

.hero__text {
  margin: 0 0 1.5rem;
  max-width: 42ch;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

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

.btn--primary {
  background: var(--red);
  color: var(--white);
}

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

.btn--secondary {
  width: 100%;
  background: var(--black);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--red);
}

.text-link {
  font-weight: 700;
  color: var(--red);
}

.text-link:hover {
  text-decoration: underline;
}

/* Stats strip */
.stats-strip {
  background: var(--cream);
  padding: 2rem 0;
}

.stats-strip__heading {
  text-align: center;
  padding: 0 1rem 1.25rem;
}

.stats-strip__heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.03em;
}

.stat-pill {
  flex-shrink: 0;
  padding: 0.85rem 1.25rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  white-space: nowrap;
}

.stat-pill strong {
  color: var(--red);
}

/* Store marquee */
.store-marquee {
  background: var(--red);
  color: var(--white);
  padding: 1rem 0;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.store-marquee a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-marquee span,
.store-marquee a {
  white-space: nowrap;
}

/* Sections */
.section-head {
  margin-bottom: 2rem;
  max-width: 640px;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.section-title--light {
  color: var(--white);
}

.products {
  padding: 5rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-grid--two {
  max-width: 820px;
  margin-inline: auto;
}

.product-card {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.product-card__badge--dark {
  background: #5c0a14;
}

.product-card__image {
  aspect-ratio: 2 / 3;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.product-tags li {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--red);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.product-card p {
  margin: 0 0 1rem;
  color: var(--gray-500);
  font-size: 0.92rem;
}

.product-card__meta {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
}

/* Feature blocks */
.feature {
  padding: 5rem 0;
}

.feature--cream {
  background: var(--cream);
}

.feature--red {
  background: var(--red);
  color: var(--white);
}

.feature__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.feature__grid--reverse {
  align-items: start;
}

.feature__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

.feature__cards {
  display: grid;
  gap: 1rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-card p {
  margin: 0;
  opacity: 0.92;
}

/* Reviews */
.reviews {
  padding: 5rem 0;
  background: var(--gray-100);
}

.reviews__slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.reviews__slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.review-card cite {
  font-style: normal;
  color: var(--gray-500);
  font-weight: 700;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.reviews__dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #ccc;
  cursor: pointer;
}

.reviews__dots button.is-active {
  background: var(--red);
  width: 24px;
}

/* Sizes */
.sizes {
  padding: 5rem 0;
}

.sizes__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.size-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.size-card {
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.size-card--mini {
  background: var(--cream);
}

.size-card__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.size-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}

.size-card p {
  margin: 0.5rem 0 0;
  color: var(--gray-500);
}

/* Subscribe */
.subscribe {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
}

.subscribe__inner {
  display: grid;
  gap: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.benefit {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  font-weight: 700;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.subscribe-form input {
  flex: 1 1 240px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 1.25rem;
}

.subscribe-form .btn--primary {
  background: var(--black);
}

.subscribe-form .btn--primary:hover {
  background: var(--white);
  color: var(--black);
}

/* Blog */
.blog {
  padding: 5rem 0;
}

.blog__intro {
  margin: -0.25rem 0 2rem;
  color: var(--gray-500);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.blog-card__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.blog-card__tag,
.blog-card h3,
.blog-card p,
.blog-card .text-link {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.blog-card__tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.blog-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.blog-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
}

.blog-card .text-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}

/* Social banner */
.social-banner {
  background: var(--black);
  color: var(--white);
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.06em;
}

.social-banner span {
  white-space: nowrap;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}

.footer h4 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.footer a:hover {
  color: var(--white);
}

.footer__bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (min-width: 900px) {
  .header__inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .header__menu {
    display: none;
  }

  .nav {
    display: flex;
  }

  .header__actions {
    grid-column: 3;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero__media {
    position: relative;
    min-height: calc(100vh - var(--header-h));
  }

  .hero__content {
    padding: 4rem 0;
    color: var(--black);
  }

  .hero__media::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.2) 55%, transparent 100%);
  }

  .hero__line--accent {
    color: var(--red);
  }

  .feature__grid,
  .feature__grid--reverse {
    grid-template-columns: 1fr 1fr;
  }

  .sizes__grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 899px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--red-dark);
    color: var(--white);
    flex-direction: column;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 95;
  }

  .nav.is-open {
    display: flex;
    transform: translateX(0);
  }

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

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .size-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
