/* ==========================================================================
   Northveil Technologies — Wildcat DMP landing page
   ========================================================================== */

:root {
  --black: #0b0a08;
  --near-black: #141210;
  --charcoal: #1e1b17;
  --cream: #e8eaee;
  --white: #fafbfc;
  --accent: #ffffff;
  --accent-dark: #cfd2d8;
  --accent-glow: rgba(255, 255, 255, 0.45);
  --steel: #8a8f98;
  --line: rgba(255, 255, 255, 0.14);

  --pearl: #fafbfc;
  --pearl-deep: #eff1f4;

  --font-display: "Bebas Neue", "Oswald", sans-serif;
  --font-script: "Alex Brush", cursive;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1240px;
}

* { box-sizing: border-box; }

section, #top { scroll-margin-top: 110px; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px var(--accent-glow); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.8;
}

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

/* ---------- deals banner ---------- */
/* Holiday ticker: dark Christmas green, scrolling to the left. js/main.js adds .is-marquee and repeats the
   items to fill the bar; without JS (or with reduced motion) it's a static, centered, wrapping line. */
.deal-bar {
  --deal-green: #124d2b;
  background: var(--deal-green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 9px 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}
.deal-bar__track { display: flex; justify-content: center; }
.deal-bar__set {
  margin: 0;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 14px;
}
.deal-bar strong { font-weight: 400; color: var(--white); }
.deal-bar__sep { color: #e6cf8a; font-size: 0.75rem; }
.deal-bar a { color: var(--white); border-bottom: 1px solid currentColor; }
.deal-bar a:hover { opacity: 0.8; }

.deal-bar.is-marquee .deal-bar__track {
  justify-content: flex-start;
  width: max-content;
  animation: dealScroll var(--deal-duration, 40s) linear infinite;
}
.deal-bar.is-marquee .deal-bar__group { display: flex; flex-shrink: 0; }
.deal-bar.is-marquee .deal-bar__set {
  flex-shrink: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 0 14px 0 0;
}
.deal-bar.is-marquee:hover .deal-bar__track,
.deal-bar.is-marquee:focus-within .deal-bar__track { animation-play-state: paused; }
@keyframes dealScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 10, 8, 0.86);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: block; line-height: 0; }
.logo img { height: 40px; width: auto; max-width: none; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

/* "Shop by Product" dropdown — opens on hover and on keyboard focus. The panel's transparent
   padding-top bridges the gap so the pointer can travel from the link into the list. */
.nav-links > li { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { width: 10px; height: 10px; transition: transform 0.2s ease; }
.has-dropdown:hover .nav-caret, .has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 200px;
  padding-top: 16px;
  z-index: 130;
}
.nav-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  background: rgba(20, 18, 16, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
}
.nav-dropdown a { display: block; padding: 10px 12px; border-radius: 9px; opacity: 1; }
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: rgba(255, 255, 255, 0.1); color: var(--white); outline: none; }
.has-dropdown:hover > .nav-dropdown, .has-dropdown:focus-within > .nav-dropdown { display: block; }

/* Desktop: header spans the full width, with the logo and nav tucked to the left. */
@media (min-width: 721px) {
  .site-header .wrap { max-width: none; padding-left: clamp(20px, 2.5vw, 40px); padding-right: clamp(20px, 2.5vw, 40px); }
  .site-header nav { margin-left: clamp(28px, 3.5vw, 56px); margin-right: auto; }
}
.header-right { display: flex; align-items: center; gap: 14px; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.85rem; }

/* search */
.search { position: relative; display: flex; align-items: center; width: 220px; }
.search input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 38px;
  padding: 0 42px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font: inherit;
  font-size: 0.85rem;
}
.search input::placeholder { color: var(--steel); }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.1); }
.search__go {
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 50%;
  color: var(--steel);
  cursor: pointer;
}
.search__go:hover, .search__go:focus-visible { color: var(--white); }
.search__go svg { width: 17px; height: 17px; }
.search-results {
  position: absolute;
  top: calc(100% + 8px); left: 0; right: 0;
  min-width: 290px;
  background: rgba(20, 18, 16, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
  z-index: 120;
}
.search-results button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  background: none; border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--cream);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.search-results button:hover, .search-results button:focus-visible { background: rgba(255, 255, 255, 0.08); outline: none; }
.search-results small {
  flex-shrink: 0;
  align-self: center;
  color: var(--steel);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.search-results .search-empty { margin: 0; padding: 12px; color: var(--steel); font-size: 0.85rem; }
.search-flash { animation: searchFlash 1.8s ease; }
@keyframes searchFlash {
  0%, 60% { box-shadow: 0 0 0 3px var(--accent); }
  100% { box-shadow: 0 0 0 3px transparent; }
}

/* icon buttons + account menu */
.icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.icon-btn svg { width: 18px; height: 18px; }
.search-toggle { display: none; }
.account { position: relative; }
.account-menu {
  position: absolute;
  top: calc(100% + 10px); right: 0;
  width: min(270px, calc(100vw - 32px));
  background: rgba(20, 18, 16, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 8px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
  z-index: 120;
}
.account-menu__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.account-menu__note { margin: 0 0 12px; color: var(--steel); font-size: 0.82rem; }
.account-menu a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--cream);
}
.account-menu a:hover, .account-menu a:focus-visible { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- hero ---------- */
/* A short, full-bleed banner (edge to edge, like a retail promo banner) — short on purpose so the
   "Northveil lineup" title is already on screen when the page opens. It shows a placeholder until real
   imagery exists; for a photo use <section class="hero hero--photo" style="--hero-image:url(...)">. */
.hero {
  --hero-muted: #4a4f57;

  position: relative;
  width: 100%;
  height: clamp(150px, 24vh, 260px);
  padding: 0;
  background: linear-gradient(180deg, #ffffff, var(--pearl-deep));
  overflow: hidden;
}
.hero--photo {
  background: var(--hero-image, none) center / cover no-repeat, var(--black);
}
.hero--photo .hero-media { display: none; }

.hero-media { position: absolute; inset: 0; }
.hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    radial-gradient(60% 90% at 50% 50%, #ffffff, transparent 70%),
    repeating-linear-gradient(135deg, rgba(11, 10, 8, 0.035) 0 2px, transparent 2px 22px);
  color: var(--hero-muted);
}
.hero-placeholder svg { width: 40px; height: 40px; }
.hero-placeholder span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---------- section shell ---------- */
section { position: relative; padding: 120px 0; }
.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head h1, .section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-top: 14px;
}
.section-head p {
  margin-top: 18px;
  color: var(--steel);
  font-size: 1.05rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- shop by product ---------- */
/* Compact, clickable tiles — five across on a laptop. Each links to that product on Amazon. */
.lineup { padding: 44px 0 72px; }
/* The title spans exactly the width of the tile row below it (the .wrap column), no wider.
   js/main.js (fitLineupTitle) sizes the font so the text fills that width; the clamp is the no-JS fallback. */
.lineup-title { margin-bottom: 26px; }
.lineup-title h2 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 6.4rem);
  line-height: 1;
  white-space: nowrap;
  color: var(--white);
}
/* One row of tiles. Five fit across on a laptop; any beyond that scroll sideways, driven by the arrow
   buttons (js/main.js, initLineupCarousel) or by swiping. The padding/negative margin keeps card shadows
   and the hover lift from being clipped by the scroll container. */
.lineup-carousel { --per-view: 5; --gap: 16px; }
.lineup-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}
.lineup-nav[hidden] { display: none; }
.lineup-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #e9ebee;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.lineup-arrow svg { width: 22px; height: 22px; }
.lineup-arrow:hover:not(:disabled) { background: #d9dce1; }
.lineup-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lineup-arrow:disabled { opacity: 0.4; cursor: default; }
.lineup-grid {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 6px;
  scrollbar-width: none;
  padding: 8px 6px 28px;
  margin: -8px -6px -28px;
}
.lineup-grid::-webkit-scrollbar { display: none; }
.lineup-grid .product-card {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  scroll-snap-align: start;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--near-black);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.product-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.product-card__media {
  position: relative;
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: radial-gradient(70% 70% at 50% 40%, #2a2621, var(--charcoal) 70%, var(--near-black));
}
.product-card__media svg { width: 52px; height: 52px; }
.product-card--featured .pill { background: var(--white); color: var(--black); border-color: var(--white); }
.product-card__body { padding: 14px 16px 16px; }
.product-card h3 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

/* ---------- reviews ---------- */
.reviews { padding: 24px 0 90px; }
.reviews .section-head { margin-bottom: 28px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.review-card {
  margin: 0;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: var(--near-black);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.review-stars { color: #f29100; font-size: 1.05rem; letter-spacing: 0.12em; }
.review-text { margin: 0; font-style: italic; color: var(--cream); line-height: 1.55; }
.review-name { margin-top: auto; font-weight: 700; color: var(--white); }
.review-card--sample { border-style: dashed; }
.review-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--steel);
}

/* ---------- pill labels ---------- */
.pill {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(11,10,8,0.7);
  color: var(--cream);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* ---------- video section ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--near-black);
  border: 1px solid var(--line);
}
.video-frame {
  aspect-ratio: 16/9;
  position: relative;
  background: var(--charcoal);
}
.video-frame iframe, .video-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: var(--steel);
  background: repeating-linear-gradient(135deg, var(--charcoal), var(--charcoal) 10px, var(--near-black) 10px, var(--near-black) 20px);
}
.video-placeholder svg { width: 42px; height: 42px; color: var(--accent); }
.video-placeholder span { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.video-card h4 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--white);
  padding: 16px 18px 18px;
}

/* ---------- about ---------- */
.about {
  background: var(--near-black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about p { color: var(--steel); font-size: 1.05rem; margin: 18px 0; }
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about-inner > h1, .about-inner > h2 { margin-top: 14px; font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--white); }
.about-block { margin-top: 44px; }
.about-block h3 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--white); }
.about-quote {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 26px 4px;
  cursor: pointer;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: transform 0.25s ease, background 0.25s ease;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.faq-q .plus::before { width: 10px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 10px; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { margin: 0 0 24px; color: var(--steel); max-width: 640px; font-size: 0.98rem; }
.faq-item.is-open .faq-a { max-height: 240px; }

/* ---------- CTA banner ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--black);
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--black); }
.cta-band p { max-width: 560px; margin: 18px auto 34px; font-size: 1.05rem; color: rgba(11,10,8,0.75); }
.cta-band .btn-primary { background: var(--black); color: var(--white); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--near-black); }
.cta-band .btn-ghost { border-color: rgba(11,10,8,0.4); color: var(--black); }
.cta-band .btn-ghost:hover { border-color: var(--black); }

/* ---------- footer ---------- */
.site-footer { padding: 70px 0 30px; background: var(--black); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-top .logo { margin-bottom: 14px; }
.footer-top .logo img { height: 56px; }
.footer-top p { color: var(--steel); font-size: 0.92rem; max-width: 280px; }
.footer-col h5 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--steel); font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.8rem;
  color: var(--steel);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: var(--steel); }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--white); }

/* ---------- policy overlay ---------- */
.policy-dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  background: var(--near-black);
  color: var(--cream);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.policy-dialog[open] { display: flex; flex-direction: column; }
.policy-dialog::backdrop { background: rgba(11, 10, 8, 0.8); backdrop-filter: blur(4px); }
.policy-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.policy-dialog__head h2 { font-size: 1.9rem; color: var(--white); }
.policy-dialog__close {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.policy-dialog__close:hover, .policy-dialog__close:focus-visible { border-color: var(--accent); color: var(--accent); }
.policy-dialog__body {
  padding: 8px 24px 24px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--steel);
  -webkit-overflow-scrolling: touch;
}
.policy-dialog__body h3 { margin: 26px 0 6px; font-size: 1.3rem; color: var(--cream); }
.policy-dialog__body p, .policy-dialog__body ul { margin: 8px 0; }
.policy-dialog__body ul { padding-left: 20px; }
.policy-dialog__body strong { color: var(--cream); }
.policy-dialog__body a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.policy-dialog__body .policy-dialog__effective { font-size: 0.8rem; letter-spacing: 0.04em; margin-top: 16px; }
.policy-dialog__foot { padding: 14px 24px; border-top: 1px solid var(--line); text-align: right; }
.policy-dialog__foot .btn { padding: 10px 26px; font-size: 0.95rem; }
body.is-policy-open { overflow: hidden; }

/* ---------- pearl theme ----------
   Everything below the hero banner, down to (but not including) the black footer, carries the .pearl class.
   Instead of rewriting each component, .pearl re-maps the dark-theme color tokens
   (white = strong text, cream = body text, near-black = card surface, ...), so the shared
   rules (cards, FAQ, footer, buttons...) render dark-on-light. To put a section back on
   black, just remove "pearl" from its class list. */
.pearl {
  --white: #14120f;
  --cream: #2a2d32;
  --steel: #5a5f66;
  --near-black: #ffffff;
  --charcoal: #eceef1;
  --accent: #14120f;
  --accent-dark: #3a362f;
  --accent-glow: rgba(20, 18, 15, 0.22);
  --line: rgba(20, 18, 15, 0.14);
  background: var(--pearl);
  color: var(--cream);
}
.pearl .btn-primary { color: var(--pearl); }          /* accent is dark here, so flip the label */
.pearl.about { background: #ffffff; }                 /* gentle alternation for rhythm */
.pearl.cta-band { background: var(--pearl-deep); border-top: 1px solid var(--line); }
.pearl.cta-band .btn-primary:hover { background: #2a2723; }
.pearl .product-card { box-shadow: 0 1px 2px rgba(20, 18, 15, 0.04), 0 14px 30px -20px rgba(20, 18, 15, 0.3); }
.pearl .product-card__media { background: radial-gradient(70% 70% at 50% 40%, #ffffff, #eceef1 85%); }
.pearl .pill { background: rgba(255, 255, 255, 0.92); color: var(--white); border-color: var(--line); }
.pearl .product-card--featured .pill { background: var(--white); color: var(--pearl); border-color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header-cta { display: none; }
}

@media (max-width: 980px) {
  .search { width: 180px; }
  .video-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .lineup-carousel { --per-view: 3; }
}

@media (max-width: 720px) {
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header .wrap, .header-right { gap: 10px; }
  .deal-bar { font-size: 0.82rem; letter-spacing: 0.08em; }

  /* in the mobile flyout the product list is always open, indented under "Shop by Product" */
  .nav-caret { display: none; }
  .nav-dropdown { display: block; position: static; min-width: 0; padding: 8px 0 0 12px; }
  .nav-dropdown ul { background: none; border: 0; box-shadow: none; padding: 0; }
  .nav-dropdown a { padding: 6px 0; font-size: 0.76rem; opacity: 0.75; }
  .nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: none; }

  /* search collapses to an icon that drops a full-width bar under the header */
  .search-toggle { display: inline-flex; }
  .search {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    width: auto;
    padding: 12px 24px;
    background: rgba(11, 10, 8, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .search.is-open { display: flex; }
  .search input { height: 42px; font-size: 16px; }
  .search__go { right: 30px; }
  .search-results { left: 24px; right: 24px; min-width: 0; }
  .footer-top { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
}

@media (max-width: 560px) {
  .lineup-carousel { --per-view: 2; --gap: 12px; }
  .review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .policy-dialog { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; border-radius: 0; border: 0; }
  .policy-dialog__head, .policy-dialog__body, .policy-dialog__foot { padding-left: 16px; padding-right: 16px; }
}
