/* ==========================================================================
   FOUR-M Sportswear — Luxury Editorial Stylesheet
   ========================================================================== */

:root {
  --midnight: #050e1f;
  --midnight-elevated: #0b1b36;
  --midnight-marquee: #061329;
  --brand-navy: #092147;
  --brand-red: #d72f53;
  --brand-red-dark: #b62243;
  --brand-blue: #4677c3;
  --brand-blue-soft: #78a6ee;

  --ink: var(--brand-navy);
  --ink-soft: #102b58;
  --paper: #f6f8fc;
  --paper-2: #ecf0f8;
  --white: #ffffff;
  --muted: #5b6b85;
  --line: rgba(9, 33, 71, 0.11);
  --line-dark: rgba(255, 255, 255, 0.12);

  --signal: var(--brand-red);
  --signal-dark: var(--brand-red-dark);

  --container: 1560px;
  --announcement-h: 36px;
  --header-h: 82px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--midnight);
}

body {
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

::selection {
  background: var(--brand-red);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.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;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* Typography */
.display {
  font-family: "Michroma", "Arial Black", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1.04;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
  flex: 0 0 auto;
}

/* Buttons */
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 26px;
  border: 1px solid transparent;
  background: var(--brand-red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease, transform 0.35s var(--ease);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-red-dark);
  transform: translateY(102%);
  transition: transform 0.45s var(--ease);
}

.button:hover::before {
  transform: translateY(0);
}

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

.button--dark {
  background: var(--brand-navy);
  color: var(--white);
}

.button--dark::before {
  background: var(--midnight-elevated);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(5, 14, 31, 0.36);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.button--ghost::before {
  background: var(--white);
}

.button--ghost:hover {
  color: var(--midnight);
  border-color: var(--white);
}

.button--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--outline::before {
  background: var(--ink);
}

.button--outline:hover {
  color: var(--white);
  border-color: var(--ink);
}

.button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.35s var(--ease);
}

.button:hover svg {
  transform: translate(2px, -2px);
}

/* Announcement Bar */
.announcement {
  position: relative;
  z-index: 110;
  min-height: var(--announcement-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 48px;
  background: var(--midnight);
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line-dark);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.announcement__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.announcement__pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 0 rgba(215, 47, 83, 0.6);
  animation: pulseDot 2.2s infinite;
  flex: 0 0 auto;
}

.announcement__phone {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(215, 47, 83, 0.65);
  text-underline-offset: 3px;
}

.announcement__phone:hover {
  color: var(--brand-blue-soft);
}

.announcement__mobile {
  display: none;
}

.announcement__close {
  position: absolute;
  right: 12px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s ease;
}

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

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(215, 47, 83, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(215, 47, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(215, 47, 83, 0); }
}

/* Splash Screen */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
  animation: splashGone 0.01s linear 0.96s forwards;
}

.splash__panel {
  background: var(--midnight);
  animation: splashLift 0.72s var(--ease) 0.22s forwards;
}

.splash__panel:nth-child(even) {
  animation-name: splashDrop;
}

.splash__panel:nth-child(3) { animation-delay: 0.25s; }
.splash__panel:nth-child(4) { animation-delay: 0.28s; }
.splash__panel:nth-child(5) { animation-delay: 0.31s; }
.splash__panel:nth-child(6) { animation-delay: 0.34s; }
.splash__panel:nth-child(7) { animation-delay: 0.37s; }

.splash__center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  translate: -50% -50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: splashLogo 0.35s ease 0.42s forwards;
}

.splash__mark {
  font-family: "Michroma", sans-serif;
  font-size: clamp(38px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.splash__line {
  width: min(220px, 46vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  position: relative;
}

.splash__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-red) 0 68%, var(--brand-blue) 68% 100%);
  transform-origin: left center;
  animation: splashProgress 0.45s var(--ease) forwards;
}

@keyframes splashProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes splashLift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-104%); }
}

@keyframes splashDrop {
  0% { transform: translateY(0); }
  100% { transform: translateY(104%); }
}

@keyframes splashLogo {
  to { opacity: 0; transform: scale(0.95); }
}

@keyframes splashGone {
  to { visibility: hidden; }
}

/* Header */
.site-header {
  position: fixed;
  top: var(--announcement-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background 0.35s ease, color 0.35s ease, height 0.35s ease, top 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  top: 0;
  height: 70px;
  background: rgba(246, 248, 252, 0.90);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(1.4);
}

.header__inner {
  width: min(100% - 48px, var(--container));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header__nav,
.header__actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header__actions {
  justify-content: flex-end;
}

.header__nav a,
.header__actions > button:not(.icon-button),
.header__actions > a:not(.icon-button) {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.header__nav a::after,
.header__actions > a:not(.icon-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1.5px;
  background: currentColor;
  transition: right 0.35s var(--ease);
}

.header__nav a:hover::after,
.header__actions > a:not(.icon-button):hover::after {
  right: 0;
}

.search-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.search-button:hover {
  opacity: 1;
}

.search-button svg {
  width: 15px;
  height: 15px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Michroma", sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.brand__wordmark {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

.brand__four {
  color: var(--brand-red);
}

.brand__m {
  margin-left: 0.12em;
  color: var(--brand-blue);
}

.icon-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.site-header.scrolled .icon-button {
  border-color: var(--line);
}

.icon-button:hover {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand-red);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.menu-toggle {
  display: none;
}

/* Overlays & Drawers */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 198;
  background: rgba(5, 14, 31, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(6px);
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.drawer-close:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 205;
  width: min(92vw, 440px);
  max-width: 100vw;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--midnight);
  color: var(--white);
  border-left: 1px solid var(--line-dark);
  transform: translateX(102%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.5s var(--ease), visibility 0.5s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.mobile-menu .drawer-close {
  border-color: var(--line-dark);
  color: var(--white);
}

.mobile-menu .drawer-close:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.mobile-menu__search {
  margin-top: 18px;
  min-height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}

.mobile-menu__search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.mobile-menu__nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: "Michroma", sans-serif;
  font-size: clamp(17px, 5.2vw, 24px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.mobile-menu__nav a:hover {
  color: var(--brand-blue-soft);
}

.mobile-menu__nav a span {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.mobile-menu__meta {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

.mobile-menu__meta a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  background: var(--midnight);
  color: var(--white);
}

.hero__base,
.hero__reveal {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(96deg, rgba(5, 14, 31, 0.84) 0%, rgba(5, 14, 31, 0.34) 54%, rgba(5, 14, 31, 0.56) 100%),
    url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=2400&q=90");
  background-size: cover;
  background-position: center 44%;
  transform: scale(1.05);
  animation: heroZoom 1.5s var(--ease) 0.4s forwards;
}

.hero__base {
  filter: grayscale(1) contrast(1.06) brightness(0.76);
}

.hero__reveal {
  z-index: 1;
  filter: saturate(0.95) contrast(1.04) brightness(0.92);
  pointer-events: none;
  --mx: 52%;
  --my: 44%;
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000 0 48%, transparent 76%);
  mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000 0 48%, transparent 76%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 24%, rgba(70, 119, 195, 0.24), transparent 46%),
    radial-gradient(circle at 12% 85%, rgba(215, 47, 83, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(5, 14, 31, 0.36) 0%, transparent 28%, rgba(5, 14, 31, 0.72) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 75%, transparent);
}

.hero__big-word {
  position: absolute;
  left: 50%;
  bottom: -0.05em;
  z-index: 3;
  translate: -50% 0;
  width: 100%;
  font-size: clamp(130px, 21vw, 390px);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  color: transparent;
  background: linear-gradient(90deg, var(--brand-red) 0 68%, var(--brand-blue) 68% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: giantIn 1.1s var(--ease) 0.7s forwards;
}

.hero__content {
  position: relative;
  z-index: 4;
  min-height: max(760px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--announcement-h) + var(--header-h) + 56px);
  padding-bottom: 48px;
}

.hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(44px, 8vh, 96px);
}

.hero__eyebrow {
  margin-bottom: 18px;
  color: var(--brand-red);
  opacity: 0;
  animation: riseIn 0.7s ease 0.75s forwards;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1.04;
  opacity: 0;
  transform: translateY(34px);
  animation: riseIn 0.9s var(--ease) 0.55s forwards;
}

.hero__subcopy {
  width: min(520px, 100%);
  margin-top: 22px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 0.85s forwards;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 0.95s forwards;
}

/* Floating Glassmorphic Featured Drop Card */
.hero-featured {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 14, 31, 0.58);
  backdrop-filter: blur(18px) saturate(1.3);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.8s var(--ease) 1.05s forwards;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease);
}

.hero-featured:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(11, 27, 54, 0.78);
  transform: translateY(-4px);
}

.hero-featured__thumb {
  width: 78px;
  height: 98px;
  object-fit: cover;
  background: var(--midnight-elevated);
}

.hero-featured__meta {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.hero-featured__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue-soft);
}

.hero-featured__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
}

.hero-featured__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.hero-featured__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.hero-featured__cta {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.hero__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  width: min(720px, 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__benefit {
  padding: 16px 20px 0 0;
}

.hero__benefit strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero__benefit span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.scroll-cue__line {
  position: relative;
  width: 68px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-red);
  animation: scanLine 1.8s ease-in-out infinite;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes giantIn {
  from { opacity: 0; transform: translateY(28%); }
  to { opacity: 0.17; transform: translateY(0); }
}

@keyframes scanLine {
  0% { transform: translateX(-105%); }
  60%, 100% { transform: translateX(105%); }
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--midnight-marquee);
  color: var(--white);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 15px 14px;
  font-family: "Michroma", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__diamond {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--brand-red);
  flex: 0 0 auto;
}

.marquee__diamond--blue {
  background: var(--brand-blue);
}

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

/* Shared Section Layout */
.section {
  padding: clamp(72px, 8.5vw, 132px) 0;
}

.section--dark {
  background: var(--midnight);
  color: var(--white);
}

.section--dark .eyebrow {
  color: var(--brand-red);
}

.section__heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.45fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}

.section__heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.section__heading h2 {
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.06;
}

.section__heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.section--dark .section__heading p {
  color: rgba(255, 255, 255, 0.62);
}

/* Bento Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.category-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--midnight-elevated);
  color: var(--white);
}

.category-card:nth-child(1) { grid-column: span 7; }
.category-card:nth-child(2) { grid-column: span 5; }
.category-card:nth-child(3) { grid-column: span 5; min-height: 460px; }
.category-card:nth-child(4) { grid-column: span 7; min-height: 460px; }

.category-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform 0.9s var(--ease), filter 0.6s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 14, 31, 0.14) 20%, rgba(5, 14, 31, 0.84) 100%);
}

.category-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.05);
}

.category-card__pill {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 14, 31, 0.56);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-card__pill span {
  color: var(--brand-red);
}

.category-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(22px, 2.8vw, 38px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.category-card h3 {
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.06;
}

.category-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.round-arrow {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(5, 14, 31, 0.45);
  color: var(--white);
  backdrop-filter: blur(10px);
  font-size: 18px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease);
}

.category-card:hover .round-arrow {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: rotate(45deg);
}

/* Product Catalog Toolbar & Grid */
.product-toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tab {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.product-tab.active,
.product-tab:hover {
  background: var(--brand-navy);
  color: var(--white);
  border-color: var(--brand-navy);
}

.product-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-count {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sort-dropdown {
  position: relative;
}

.product-sort {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.product-sort:hover,
.product-sort[aria-expanded="true"] {
  border-color: var(--brand-navy);
}

.product-sort svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
}

.product-sort[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 205px;
  padding: 6px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(5, 14, 31, 0.14);
}

.sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.sort-option:hover {
  background: var(--paper-2);
}

.sort-option.active {
  background: var(--brand-navy);
  color: var(--white);
}

.sort-option.active::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-red);
}

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

.product-card {
  min-width: 0;
  cursor: pointer;
}

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

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.product-card__media img {
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.8s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.045);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(5, 14, 31, 0.82);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-red);
}

.product-favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(9, 33, 71, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.product-favorite:hover {
  transform: scale(1.06);
  border-color: var(--brand-red);
}

.product-favorite.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--white);
}

.quick-add {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 14, 31, 0.88);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(calc(100% + 16px));
  transition: transform 0.4s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.product-card:hover .quick-add,
.quick-add:focus-visible {
  transform: translateY(0);
}

.quick-add:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--white);
}

.product-card__body {
  padding: 14px 2px 8px;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.product-card h3 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card__price {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.product-card__category {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card__swatches-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.swatches {
  display: flex;
  gap: 7px;
}

.swatch-btn {
  width: 15px;
  height: 15px;
  padding: 0;
  border: 1px solid rgba(9, 33, 71, 0.25);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px transparent;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.swatch-btn.active {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink);
  transform: scale(1.06);
}

.swatch-name {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-more {
  display: none;
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-navy);
  background: transparent;
  color: var(--brand-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Campaign Section */
.campaign {
  position: relative;
  min-height: min(820px, 86svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--midnight);
  color: var(--white);
}

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

.campaign__image img {
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  filter: grayscale(0.22) contrast(1.05);
}

.campaign::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 31, 0.86) 0%, rgba(5, 14, 31, 0.28) 64%),
    linear-gradient(0deg, rgba(5, 14, 31, 0.72), transparent 55%);
}

.campaign__content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  padding: clamp(56px, 8vw, 108px) 0;
}

.campaign__coords {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.campaign__content .eyebrow {
  color: var(--brand-red);
}

.campaign h2 {
  width: min(820px, 100%);
  margin: 16px 0 22px;
  font-size: clamp(36px, 5.2vw, 82px);
  line-height: 1.05;
}

.campaign p {
  width: min(500px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.7;
}

/* Service / Standards Architectural Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 32px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--midnight);
  transition: background 0.35s ease, transform 0.35s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red) 0 65%, var(--brand-blue) 65% 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.service-card:hover {
  background: var(--midnight-elevated);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card__number {
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

.service-card__icon {
  width: 24px;
  height: 24px;
  color: var(--brand-blue-soft);
}

.service-card h3 {
  margin-bottom: 12px;
  font-family: "Michroma", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.7;
}

/* Tripoli Store Section */
.store-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.store-image {
  min-height: 620px;
  overflow: hidden;
  background: var(--midnight);
}

.store-image img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.06);
  transition: filter 0.55s ease, transform 0.8s var(--ease);
}

.store-grid:hover .store-image img {
  filter: grayscale(0.15);
  transform: scale(1.025);
}

.store-content {
  padding: clamp(36px, 5.5vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.store-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.store-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.store-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.store-status.is-closed .store-status__dot {
  background: var(--brand-red);
}

.store-content h2 {
  margin: 18px 0 20px;
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 1.06;
}

.store-content > p {
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.store-details {
  margin: 30px 0;
  border-top: 1px solid var(--line);
}

.store-detail {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
}

.store-detail strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Private Drop Access (Newsletter) */
.newsletter {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8.5vw, 124px) 0;
  background: var(--midnight);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 28%, rgba(70, 119, 195, 0.25), transparent 45%),
    radial-gradient(circle at 14% 78%, rgba(215, 47, 83, 0.16), transparent 44%);
}

.newsletter__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.85fr);
  gap: 56px;
  align-items: end;
}

.newsletter .eyebrow {
  color: var(--brand-blue-soft);
}

.newsletter h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.06;
}

.newsletter p {
  max-width: 520px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  padding: 6px 6px 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.newsletter-form input {
  width: 100%;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  background: var(--brand-red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
}

.newsletter-form button:hover {
  background: var(--brand-red-dark);
}

/* Footer */
.footer {
  padding: 72px 0 28px;
  background: #030914;
  color: var(--white);
  border-top: 1px solid var(--line-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.55fr);
  gap: 48px;
  padding-bottom: 56px;
}

.footer__brand .brand {
  justify-content: flex-start;
  font-size: clamp(42px, 5vw, 72px);
}

.footer__brand p {
  max-width: 400px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.75;
}

.footer__column h3 {
  margin-bottom: 18px;
  color: var(--brand-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__column a,
.footer__column button,
.footer__column span {
  display: block;
  margin: 10px 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.footer__column span {
  cursor: default;
}

.footer__column a:hover,
.footer__column button:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  width: min(100%, 460px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  transform: translateX(102%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s var(--ease), visibility 0.32s ease;
}

.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer__header {
  min-height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header h2 {
  font-size: 19px;
}

.cart-shipping {
  padding: 14px 24px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.cart-shipping__text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 8px;
}

.cart-shipping__track {
  height: 4px;
  background: rgba(9, 33, 71, 0.12);
  overflow: hidden;
}

.cart-shipping__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  transition: width 0.4s var(--ease);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty {
  min-height: 100%;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  color: var(--muted);
}

.cart-empty strong {
  color: var(--ink);
  font-family: "Michroma", sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 84px;
  height: 105px;
  object-fit: cover;
  background: var(--paper-2);
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.cart-item h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-item__variant {
  color: var(--muted);
  font-size: 11px;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--white);
}

.qty-stepper button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.qty-stepper button:hover {
  background: var(--paper-2);
}

.qty-stepper span {
  min-width: 26px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cart-item__price {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.cart-item__remove {
  align-self: start;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.cart-item__remove:hover {
  color: var(--brand-red);
}

.cart-drawer__footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
  display: grid;
  gap: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-drawer__footer .button {
  width: 100%;
}

/* Quick View Modal */
.product-view {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: transform 0.32s var(--ease), visibility 0.32s ease, opacity 0.28s ease;
}

.product-view.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.pv-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 14, 31, 0.88);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pv-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  flex: 0 0 auto;
}

.pv-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.pv-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  background: var(--midnight);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pv-info {
  padding: 26px 20px calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pv-info h2 {
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.pv-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.pv-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.pv-block {
  display: grid;
  gap: 8px;
}

.pv-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.pv-swatches {
  display: flex;
  gap: 10px;
}

.pv-swatches .swatch-btn {
  width: 24px;
  height: 24px;
}

.pv-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pv-size {
  min-width: 52px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pv-size:hover {
  border-color: var(--ink);
}

.pv-size.active {
  background: var(--brand-navy);
  color: var(--white);
  border-color: var(--brand-navy);
}

.pv-guide {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 12px;
  color: var(--muted);
}

.pv-guide summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pv-guide summary::-webkit-details-marker {
  display: none;
}

.pv-guide p {
  margin-top: 8px;
  line-height: 1.55;
}

.pv-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 4px;
}

#pv-fav {
  min-width: 118px;
}

#pv-fav.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--white);
}

#pv-fav.active::before {
  background: var(--brand-red-dark);
}

.pv-meta {
  list-style: none;
  padding-top: 6px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.pv-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pv-meta li::before {
  content: "✓";
  color: var(--brand-blue);
  font-weight: 800;
}

@media (min-width: 801px) {
  .product-view {
    inset: auto;
    top: 50%;
    left: 50%;
    width: min(1040px, calc(100% - 64px));
    height: min(690px, calc(100% - 64px));
    flex-direction: row;
    transform: translate(-50%, -46%);
    opacity: 0;
    box-shadow: 0 40px 120px rgba(5, 14, 31, 0.45);
  }

  .product-view.open {
    transform: translate(-50%, -50%);
    opacity: 1;
  }

  .pv-media {
    flex: 0 0 46%;
    aspect-ratio: auto;
    height: 100%;
  }

  .pv-info {
    flex: 1 1 54%;
    overflow-y: auto;
    justify-content: center;
    padding: 36px 42px;
    gap: 12px;
  }

  .pv-close {
    position: absolute;
  }
}

/* Search & Policy Modals */
.center-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 240;
  width: min(640px, calc(100% - 32px));
  max-height: min(82vh, 660px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 32px 96px rgba(5, 14, 31, 0.4);
  transform: translate(-50%, -46%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.3s ease, visibility 0.3s ease;
}

.center-modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.center-modal__header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.center-modal__header h2 {
  font-size: 16px;
}

.center-modal__body {
  padding: 20px 22px 24px;
  overflow-y: auto;
}

.search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
}

.search-results {
  display: grid;
  gap: 10px;
}

.search-result {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.search-result:hover {
  border-color: var(--brand-navy);
  transform: translateY(-1px);
}

.search-result img {
  width: 56px;
  height: 70px;
  object-fit: cover;
}

.search-result strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-result span {
  font-size: 11px;
  color: var(--muted);
}

.search-result__price {
  font-size: 12px;
  font-weight: 800;
  padding-right: 6px;
}

.policy-copy {
  display: grid;
  gap: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.policy-copy strong {
  color: var(--ink);
}

.policy-copy ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

/* Toast Notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 400;
  width: min(calc(100% - 32px), 440px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--midnight);
  color: var(--white);
  border-top: 3px solid var(--brand-red);
  box-shadow: 0 20px 50px rgba(5, 14, 31, 0.35);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.3s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast span {
  font-size: 12px;
  line-height: 1.45;
}

.toast button {
  border: 0;
  background: transparent;
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.85s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Unified Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1100px) {
  .header__nav {
    display: none;
  }

  .header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    justify-self: start;
  }

  .header__actions > a,
  .header__actions > .search-button {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

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

  .hero-featured {
    display: none;
  }

  .category-card:nth-child(n) {
    grid-column: span 6;
    min-height: 440px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .store-image {
    min-height: 440px;
  }

  .newsletter__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__top {
    grid-template-columns: 1fr repeat(3, 0.6fr);
  }
}

@media (max-width: 800px) {
  :root {
    --announcement-h: 40px;
    --header-h: 64px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .header__inner {
    width: calc(100% - 32px);
    gap: 10px;
  }

  .announcement {
    padding: 0 46px 0 16px;
    justify-content: flex-start;
    font-size: 10px;
    text-align: left;
  }

  .announcement__desktop {
    display: none;
  }

  .announcement__mobile {
    display: inline;
  }

  .announcement__close {
    right: 6px;
    width: 38px;
    height: 38px;
  }

  .site-header.scrolled {
    height: var(--header-h);
  }

  .brand {
    font-size: clamp(21px, 6vw, 25px);
  }

  .icon-button,
  .drawer-close {
    width: 44px;
    height: 44px;
  }

  .splash {
    animation-duration: 0.01s;
    animation-delay: 0.68s;
  }

  .splash__panel {
    animation-duration: 0.45s;
    animation-delay: 0.16s;
  }

  .hero,
  .hero__content {
    min-height: max(680px, calc(100dvh - var(--announcement-h)));
  }

  .hero__content {
    padding-top: calc(var(--announcement-h) + var(--header-h) + 28px);
    padding-bottom: 24px;
  }

  .hero__reveal,
  .hero__big-word,
  .scroll-cue {
    display: none;
  }

  .hero__main {
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(26px, 8vw, 42px);
    line-height: 1.08;
  }

  .hero__subcopy {
    font-size: 14px;
    margin-top: 14px;
  }

  .hero__actions .button {
    width: 100%;
  }

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

  .hero__benefits {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: rgba(5, 14, 31, 0.42);
    backdrop-filter: blur(10px);
    padding: 10px;
  }

  .hero__benefit {
    padding: 4px 6px;
  }

  .hero__benefit strong {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .hero__benefit span {
    font-size: 11px;
  }

  .section {
    padding: 58px 0;
  }

  .section__heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }

  .section__heading .eyebrow {
    margin-bottom: 0;
  }

  .section__heading h2,
  .campaign h2,
  .store-content h2,
  .newsletter h2 {
    font-size: clamp(22px, 6.8vw, 36px);
    line-height: 1.08;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-card:nth-child(n) {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .category-card__pill {
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .category-card__content {
    padding: 14px;
    gap: 8px;
    align-items: flex-end;
  }

  .category-card h3 {
    font-size: clamp(16px, 4.8vw, 22px);
  }

  .category-card p {
    display: none;
  }

  .round-arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .product-toolbar {
    align-items: stretch;
  }

  .product-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tab {
    flex: 0 0 auto;
    min-height: 42px;
  }

  .product-controls {
    justify-content: space-between;
  }

  .product-grid {
    gap: 16px 10px;
  }

  .quick-add {
    position: static;
    transform: none;
    width: 100%;
    min-height: 42px;
    font-size: 10px;
  }

  .product-more {
    display: flex;
  }

  .campaign {
    min-height: 560px;
  }

  .campaign__content {
    width: calc(100% - 32px);
  }

  .service-card {
    min-height: 200px;
    padding: 20px 16px;
  }

  .service-card h3 {
    font-size: 14px;
  }

  .store-image {
    min-height: 280px;
  }

  .store-content {
    padding: 26px 18px;
  }

  .store-detail {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .store-actions {
    flex-direction: column;
  }

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

  .pv-actions {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

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

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

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
