/* ---------- Local font-face (2-font system: Be Vietnam Pro + Archivo Narrow) ---------- */
/* DISPLAY FAMILY — Be Vietnam Pro (hero, header, display titles, eyebrows, buttons) */
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/be-vietnam-pro-300-latin.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/be-vietnam-pro-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/be-vietnam-pro-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/be-vietnam-pro-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('fonts/be-vietnam-pro-700-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* BODY FAMILY — Archivo Narrow (paragraphs, product info, small details) */
@font-face {
  font-family: 'Archivo Narrow';
  src: url('fonts/ArchivoNarrow-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Narrow';
  src: url('fonts/ArchivoNarrow-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Narrow';
  src: url('fonts/ArchivoNarrow-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Narrow';
  src: url('fonts/ArchivoNarrow-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Narrow';
  src: url('fonts/ArchivoNarrow-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Narrow';
  src: url('fonts/ArchivoNarrow-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Narrow';
  src: url('fonts/ArchivoNarrow-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Narrow';
  src: url('fonts/ArchivoNarrow-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset & Tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }

:root {
  /* Colours */
  --color-bg: #FFFFFF;
  --color-text: #0C4497;
  --color-heading: #0C4497;
  --color-accent: #0C4599;
  --color-accent-secondary: #0C4497;
  --color-border: #0C4497;
  --color-surface: #FFFFFF;
  --color-muted: #6B7280;
  --color-hover: #083170;
  --color-subtle-bg: #F6F7FB;
  --color-white: #FFFFFF;
  --color-footer-bg: #0C4497;
  --color-marquee-bg: #0C4497;

  /* Typography — 2-font system, local woff2.
     Display: Be Vietnam Pro (hero, header/nav, display titles, eyebrows, buttons)
     Body: Archivo Narrow (paragraphs, product info, small details) */
  --font-heading: 'Be Vietnam Pro', system-ui, sans-serif;
  --font-body: 'Archivo Narrow', system-ui, sans-serif;

  /* Scale measured from polarmusic.shop reference:
     body/nav/price = 16px, section label = 16px uppercase,
     section display h2 = 40px, hero display h2 = 70px. */
  --fs-eyebrow: 16px;
  --fs-body: 16px;
  --fs-small: 14px;
  /* Nav: Be Vietnam Pro renders ~15% wider than condensed Franklin Gothic,
     so 14px here produces the same visual density as 18px on polar.shop */
  --fs-nav: 14px;
  --fs-h4: 20px;
  --fs-h3: 24px;
  --fs-h2: 40px;
  --fs-display: 40px;
  --fs-display-xl: 70px;

  /* Spacing — tightened per reviewer-2 rhythm feedback */
  --container-max-width: 1280px;
  --container-pad: 32px;
  --section-padding-y: 72px;
  --section-padding-y-sm: 52px;
  --grid-gap: 24px;
  --nav-height: 64px;

  /* Effects */
  --border-radius: 0px;
  --transition: all 0.25s ease;
  --transition-slow: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  /* Reference polar body: 16px / 400 / 24px (ratio 1.5) */
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  max-width: 100vw;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-heading);
  letter-spacing: -0.01em;
}

.display-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 3vw, var(--fs-display));
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--color-heading);
}

.display-xl {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(44px, 5.5vw, var(--fs-display-xl));
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--color-white);
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 500;
  /* Reference polar section eyebrow h3 "NEW RELEASES": 16px / 600 / 24px — modernised with Space Grotesk */
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-heading);
  display: block;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white);
  display: block;
  margin-bottom: 14px;
}

p { max-width: 60ch; line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* Reference polar button: 44px tall, 16px / 500, padding 12px 20px, uppercase, slight tracking */
  padding: 12px 20px;
  min-height: 44px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-hover);
  border-color: var(--color-hover);
  outline: none;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
  outline: none;
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--color-white);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
}

/* Hero-scoped CTAs: permanent white outline over photo background, matches reference hero treatment */
.hero .btn-primary,
.hero .btn-ghost {
  background: transparent !important;
  border: 1.5px solid var(--color-white) !important;
  color: var(--color-white) !important;
}
.hero .btn-primary:hover,
.hero .btn-primary:focus-visible,
.hero .btn-ghost:hover,
.hero .btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--color-white) !important;
  border-color: var(--color-white) !important;
  outline: none;
}

/* Compact outline button inside product cards — matches reference SHOP NOW treatment */
.btn-card {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.14em;
  border: 1.5px solid var(--color-border);
  color: var(--color-accent);
  background: transparent;
  pointer-events: none; /* parent <a> handles the click */
}
.product-card a:hover .btn-card {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* ---------- Header ---------- */
/* Header — transparent-over-hero on home, white-solid when scrolled or on subpages */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: transparent;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.site-header--solid,
body.subpage .site-header {
  background: #0C4497;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header .container {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
}
.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  /* Logo sits over hero photo on home; on solid header, preserve original tone via mix-blend. */
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}
.site-header--solid .logo img,
body.subpage .logo img {
  /* Logo stays white on the solid blue header, matching reference */
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.main-nav a {
  /* Nav uses display family — tight alignment with hero.
     Be Vietnam Pro Light @ 14px matches the visual density of polar's Franklin Gothic Cond @ 18px. */
  font-family: var(--font-heading);
  font-size: var(--fs-nav);
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(255,255,255,0.92);
  padding: 8px 14px;
  transition: color 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Dropdown chevron on every nav link — matches polar reference */
.main-nav a::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 6px;
  background-color: currentColor;
  -webkit-mask: url('images/_reference/polarmusic.shop/icon-amstq2.svg') no-repeat center / contain;
  mask: url('images/_reference/polarmusic.shop/icon-amstq2.svg') no-repeat center / contain;
  order: 2;
  opacity: 0.85;
  transition: transform 0.2s ease;
}
.main-nav a:hover::before { transform: translateY(1px); }
.site-header--solid .main-nav a,
body.subpage .main-nav a {
  color: rgba(255, 255, 255, 0.92);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.main-nav a:hover {
  color: var(--color-white);
  outline: none;
}
.main-nav a:focus-visible {
  color: var(--color-white);
  outline: none;
}
.site-header--solid .main-nav a:hover,
body.subpage .main-nav a:hover {
  color: var(--color-white);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}
.main-nav a.active {
  color: var(--color-white);
}
.site-header--solid .main-nav a.active,
body.subpage .main-nav a.active {
  color: var(--color-white);
}
.main-nav a.active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  transition: color 0.2s ease;
  border-radius: var(--border-radius);
}
.site-header--solid .icon-btn,
body.subpage .icon-btn {
  color: rgba(255, 255, 255, 0.92);
}
.icon-btn:hover {
  color: var(--color-white);
  outline: none;
}
.icon-btn:focus-visible {
  color: var(--color-white);
  outline: none;
}
.site-header--solid .icon-btn:hover,
body.subpage .icon-btn:hover {
  color: var(--color-white);
}
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.icon-btn-svg img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.site-header--solid .icon-btn-svg img,
body.subpage .icon-btn-svg img {
  /* Icons stay white on solid blue header */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.site-header--solid .icon-btn-svg:hover img,
body.subpage .icon-btn-svg:hover img {
  filter: brightness(0) invert(1);
  opacity: 1;
}
.icon-btn-svg:hover img,
.icon-btn-svg:focus-visible img { opacity: 1; }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--color-white);
  align-items: center;
  justify-content: center;
  position: relative;
}
.hamburger-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: absolute;
}
.hamburger-close { opacity: 0; transform: rotate(-45deg); }
body.nav-open .hamburger-open { opacity: 0; transform: rotate(45deg); }
body.nav-open .hamburger-close { opacity: 1; transform: rotate(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
  /* Subtle parallax-style drift on scroll (CSS only) */
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.04);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  /* Video-specific: block any native UI and pointer events */
  pointer-events: none;
  background: #0C4497;
}
video.hero-bg::-webkit-media-controls { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  video.hero-bg { animation: none !important; }
}
.hero::after {
  /* Strong top darkening so nav stays legible, soft mid band for display text, darker bottom */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.40) 12%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.50) 100%);
  z-index: -1;
}
.hero-overlay {
  padding: 40px 32px;
  max-width: 980px;
  color: var(--color-white);
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 600;
  /* Be Vietnam Pro at hero display scale */
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--color-white);
  margin-bottom: 24px;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 17px;
  max-width: 38ch;
  margin: 0 auto 34px;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
}
.hero-cta-group {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero-scroll-cue::before {
  content: '';
  width: 48px;
  height: 1px;
  background: currentColor;
}

/* ---------- Marquee ----------
   Reference polar announcement-bar: 34px tall, 16px / 400 / 24px line-height,
   normal tracking, no caps, no padding (height comes from line-height only). */
.marquee {
  background: var(--color-marquee-bg);
  color: var(--color-white);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 5px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: normal;
  text-transform: none;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
}
.marquee-track > * { flex-shrink: 0; }
.marquee-sep {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Section helpers ---------- */
.section {
  padding: var(--section-padding-y) 0;
}
.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(12, 68, 151, 0.12);
}
.section-title-row .section-label { font-size: 16px; }
.section-title-row .section-link {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.section-title-row .section-link:hover { border-bottom-color: var(--color-accent); }

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px var(--grid-gap);
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.product-card a {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.product-card a:hover { transform: translateY(-4px); }
.product-card a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-subtle-bg);
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-image img.product-image-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.product-card a:hover .product-image img { transform: scale(1.04); }
.product-card a:hover .product-image img.product-image-alt { opacity: 1; }

.product-info { text-align: left; }
.product-title {
  font-family: var(--font-body);
  /* Reference polar product title/body: 16px / 400 / 24px */
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.005em;
  margin-bottom: 6px;
  line-height: 1.5;
}
.product-subtitle {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted);
  margin-bottom: 10px;
}
.product-price {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-text);
}
.product-status {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.grid-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

/* ---------- Product Detail Page ---------- */
.product-detail {
  padding: calc(var(--nav-height) + 56px) 0 72px;
  background: var(--color-bg);
}
.breadcrumbs {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.breadcrumbs a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs-sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--color-muted);
}
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.pd-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pd-gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-subtle-bg);
}
.pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.pd-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pd-gallery-thumbs button {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  background: var(--color-subtle-bg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.pd-gallery-thumbs button[aria-selected="true"] {
  border-color: var(--color-accent);
}
.pd-gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-info {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}
.pd-eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: 16px;
}
.pd-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-heading);
  margin-bottom: 20px;
}
.pd-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 32px;
}
.pd-description {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 32px;
  max-width: 48ch;
}
.pd-description p + p { margin-top: 16px; }
.pd-variants {
  margin-bottom: 28px;
}
.pd-variants-label {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: 12px;
}
.pd-variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pd-variant-row button {
  padding: 12px 22px;
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
}
.pd-variant-row button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.pd-variant-row button:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.pd-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
}
.pd-cta-row .btn { min-width: 200px; }
.pd-meta {
  border-top: 1px solid rgba(12, 68, 151, 0.12);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
}
.pd-meta strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 6px;
  font-weight: 500;
}
@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pd-info {
    position: static;
  }
  .pd-cta-row {
    flex-direction: column;
  }
  .pd-cta-row .btn { width: 100%; }
}

/* ---------- Utility page (legal, help, account, cart) ---------- */
.utility-page {
  padding: calc(var(--nav-height) + 72px) 0 72px;
  min-height: 60vh;
}
.utility-page .container {
  max-width: 780px;
}
.utility-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-heading);
  margin-bottom: 28px;
}
.utility-page h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-heading);
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.utility-page p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 16px;
  max-width: none;
}
.utility-page ul {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin-left: 24px;
  margin-bottom: 16px;
}
.utility-page ul li { margin-bottom: 8px; }

/* ---------- Feature Split ---------- */
.feature-split {
  padding: var(--section-padding-y) 0;
  background: var(--color-bg);
}
.feature-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-content {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.feature-content .section-label { margin-bottom: 22px; display: block; }
.feature-content .eyebrow { display: block; margin-bottom: 18px; }
.feature-content .display-title { margin-bottom: 28px; }
.feature-content p {
  margin-bottom: 24px;
  font-size: 15px;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text);
}
.feature-content p + p { margin-top: -12px; }
.feature-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-subtle-bg);
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-image:hover img { transform: scale(1.03); }

.feature-split.feature-reverse .container {
  grid-template-columns: 1fr 1fr;
}
.feature-split.feature-reverse .feature-image { order: 1; }
.feature-split.feature-reverse .feature-content { order: 2; }

/* ---------- Newsletter ---------- */
.newsletter {
  padding: var(--section-padding-y) 0;
  background: var(--color-bg);
}
.newsletter .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.newsletter-copy .display-title { margin-bottom: 22px; }
.newsletter-copy p { font-size: 15px; max-width: 38ch; color: var(--color-text); }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 440px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-family: var(--font-heading);
}
.field input,
.field select,
.field textarea,
.newsletter-form input,
.newsletter-form select,
.newsletter-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-muted);
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-size: 15px;
  font-family: var(--font-body);
  transition: var(--transition);
  appearance: none;
}
.newsletter-form textarea,
.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230C4497'%3e%3cpath d='M4 6l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(12, 68, 151, 0.12);
}
.field-consent {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 40ch;
}
.newsletter-form .btn-primary { align-self: flex-start; }
.newsletter-legal {
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-top: 6px;
  max-width: 44ch;
}

/* ---------- Footer ---------- */
.footer-marquee {
  background: var(--color-footer-bg);
  color: var(--color-white);
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  position: relative;
}
.footer-marquee .marquee-track {
  animation-duration: 55s;
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  padding: 64px 0 44px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  text-align: left;
}
.footer-brand { display: flex; align-items: center; }
.footer-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-nav a {
  color: rgba(255,255,255,0.82);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.footer-nav a:hover {
  color: var(--color-white);
  border-bottom-color: rgba(255,255,255,0.5);
  outline: none;
}
.footer-nav a:focus-visible {
  color: var(--color-white);
  border-bottom-color: rgba(255,255,255,0.5);
  outline: none;
}
.product-title-link:hover { color: var(--color-accent); }
.section-link:hover { color: var(--color-accent); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.68);
  max-width: 36ch;
  line-height: 1.6;
  text-align: right;
}
.footer-copy p + p { margin-top: 4px; }
@media (max-width: 768px) {
  .site-footer .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .footer-copy { text-align: center; max-width: 100%; }
  .footer-nav { justify-content: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding-y: 72px;
    --grid-gap: 24px;
  }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  .feature-split .container,
  .newsletter .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-split.feature-reverse .feature-image { order: 0; }
  .feature-split.feature-reverse .feature-content { order: 0; }
}

@media (max-width: 768px) {
  :root {
    --section-padding-y: 56px;
    --container-pad: 22px;
    --nav-height: 56px;
  }
  .site-header .container { grid-template-columns: auto 1fr auto; }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--color-accent);
    padding: 48px 32px 80px;
    gap: 24px;
    z-index: 99;
    overflow-y: auto;
  }
  body.nav-open .main-nav {
    display: flex;
    animation: mobile-nav-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .main-nav a {
    font-size: 24px;
    text-align: center;
    padding: 16px 0;
    width: 100%;
  }
  .header-actions .icon-btn[data-desktop-only] { display: none; }
  .hamburger { display: inline-flex; }

  .hero { min-height: 60vh; }
  .hero-title { font-size: clamp(40px, 10vw, 60px); }

  /* Reference keeps multi-column product grids on mobile — preserve 2-up on phones */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .feature-split .container { gap: 28px; }
  .feature-image { aspect-ratio: 1 / 1; }
  .newsletter .container { gap: 32px; }
  .newsletter-form { max-width: 100%; }

  .section-title-row { flex-direction: column; align-items: flex-start; gap: 16px; }

  .site-footer { padding: 64px 0 40px; }
  .footer-nav { gap: 14px 22px; font-size: 12px; }

  .hero-scroll-cue { bottom: 18px; }
  .hero-scroll-cue::before { width: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(36px, 12vw, 54px); }
  .btn { padding: 11px 18px; font-size: 16px; min-height: 42px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; }
}

/* AOS easing overrides to keep things subtle */
[data-aos] { transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important; }