/* =========================================================
   NOVA — Smart Audio
   Design System / style.css
   Author: design prototype
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* palette */
  --ink: #0a0a0c;
  --ink-2: #141418;
  --ink-3: #1d1d23;
  --paper: #ffffff;
  --surface: #f4f4f7;
  --surface-2: #eaeaef;
  --line: #e4e4ea;
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #6e6e78;
  --muted-dark: rgba(255, 255, 255, 0.62);

  --accent: #5a48ff;
  --accent-2: #00d2ff;
  --accent-soft: #eeebff;
  --grad: linear-gradient(100deg, #5a48ff 0%, #00d2ff 100%);
  /* `--grad` is for decoration: blurred section blobs, hairlines, hover states,
     where nothing is read off it. Its cyan end is 1.80:1 against white, so it
     must never carry a text label. `--grad-badge` is the same ramp held dark
     enough that white clears 4.5:1 at *both* ends (5.52:1 and 5.40:1), which is
     what the `.pcard__flag--new` pill needs: 11px uppercase text on a surface
     whose colour the visitor is meant to read. */
  --grad-badge: linear-gradient(100deg, #5a48ff 0%, #00729c 100%);

  /* typography */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  --mono: "SF Mono", "Cascadia Mono", ui-monospace, Consolas, monospace;

  --fs-display: clamp(2.55rem, 6vw, 5rem);
  --fs-h2: clamp(1.85rem, 3.5vw, 3.05rem);
  --fs-h3: clamp(1.12rem, 1.5vw, 1.38rem);
  --fs-lead: clamp(1rem, 1.2vw, 1.16rem);
  --fs-body: 1rem;

  /* layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 8.6vw, 138px);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --header-h: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(10, 10, 12, 0.05), 0 8px 24px -12px rgba(10, 10, 12, 0.14);
  --shadow-md: 0 2px 6px rgba(10, 10, 12, 0.05), 0 24px 60px -24px rgba(10, 10, 12, 0.24);
  --shadow-lg: 0 40px 90px -30px rgba(10, 10, 12, 0.4);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- 3. Typography ---------- */
.display {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.042em;
  font-weight: 600;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -0.034em;
  font-weight: 600;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.58;
  color: var(--muted);
  letter-spacing: -0.008em;
}

/* ---------- Rich text ---------- */

/* Product descriptions are authored in the admin and stored as a small subset
   of HTML, so they arrive as already-parsed markup rather than as text the
   template escapes. The reset above zeroes margins and removes list markers
   from everything — correct for hand-built layout, wrong for a paragraph
   somebody typed. What is allowed to survive the sanitiser is re-enabled here.

   Scoped to `.prose` on purpose. An operator's description must not be able to
   restyle the page around it, which is the same reason the sanitiser drops
   `style` attributes and every class name. */
.prose > * + * {
  margin-top: 0.9em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--accent); }

/* Emphasis has to lift out of the muted body colour or `<strong>` on a muted
   paragraph reads as nothing at all. This renders on a light surface, which is
   the same assumption `.section--ink .lead` inverts for the dark one. */
.prose strong,
.prose h3,
.prose h4 {
  color: var(--ink);
  font-weight: 600;
}
.prose h3 { font-size: var(--fs-h3); line-height: 1.3; }
.prose h4 { font-size: var(--fs-body); line-height: 1.35; }
.prose em { font-style: italic; }
.prose s { text-decoration: line-through; }

.prose blockquote {
  border-left: 2px solid var(--line);
  padding-left: 1.1em;
  font-style: italic;
}

/* 5.48:1 against white, so the link colour clears AA on its own. */
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { text-decoration-thickness: 2px; }

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--accent {
  color: var(--accent);
}

.eyebrow--light {
  color: var(--muted-dark);
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(56px, 6vw, 92px);
}

.section--surface {
  background: var(--surface);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section--ink .lead {
  color: var(--muted-dark);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(36px, 4vw, 62px);
}

.section-head__text {
  max-width: 660px;
}

.section-head__text .eyebrow {
  margin-bottom: 18px;
}

.section-head__text .lead {
  margin-top: 18px;
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head--center .section-head__text {
  max-width: 760px;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.section--ink .divider {
  background: var(--line-dark);
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.35s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: #26262e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 0.87rem;
}

.btn--block {
  width: 100%;
}

/* text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 550;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.tlink svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.tlink:hover {
  border-color: currentColor;
}

.tlink:hover svg {
  transform: translateX(3px);
}

.tlink--accent {
  color: var(--accent);
}

/* ---------- 6. Announcement + Header ---------- */
.announce {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: -0.005em;
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 40px;
  padding-block: 8px;
  text-align: center;
}

.announce__inner strong {
  font-weight: 600;
}

.announce p {
  color: rgba(255, 255, 255, 0.74);
}

.announce a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 550;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.3s var(--ease);
}

.announce a:hover {
  border-color: #fff;
}

.announce a svg {
  width: 13px;
  height: 13px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

/* transparent header over dark hero */
.header--over {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
  margin-bottom: calc(-1 * var(--header-h));
}

.header--over .brand__mark {
  background: #fff;
}

.header--over .nav__link {
  color: rgba(255, 255, 255, 0.8);
}

.header--over .nav__link:hover,
.header--over .nav__link.is-active {
  color: #fff;
}

.header--over .icon-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.header--over .icon-btn:hover {
  border-color: #fff;
}

/* The ghost CTA sets its own ink border/text, so unlike .nav__link and
   .icon-btn it does not inherit .header--over's white colour — without this
   the label disappears against the dark hero. */
.header--over .header__cta {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.header--over .header__cta:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header.is-stuck {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
  color: var(--ink);
}

.header.is-stuck .brand__mark {
  background: var(--grad);
}

.header.is-stuck .nav__link {
  color: var(--muted);
}

.header.is-stuck .nav__link:hover,
.header.is-stuck .nav__link.is-active {
  color: var(--ink);
}

.header.is-stuck .icon-btn {
  color: var(--ink);
  border-color: var(--line);
}

.header.is-stuck .icon-btn:hover {
  border-color: var(--ink);
}

/* CTA inside a header that has become opaque */
.header.is-stuck .header__cta {
  border-color: var(--line);
  color: var(--ink);
}

.header.is-stuck .header__cta:hover {
  border-color: var(--ink);
  background: transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}

.brand__mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(90, 72, 255, 0.6);
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--muted);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
}

.nav__link svg {
  width: 11px;
  height: 11px;
  opacity: 0.6;
  transition: transform 0.3s var(--ease);
}

.nav__item:hover .nav__link svg {
  transform: rotate(180deg);
}

/* mega dropdown */
.menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(620px, 88vw);
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.nav__item:hover .menu,
.nav__item:focus-within .menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* The mega-menu labels are <p>, not <h4>. They sit in the header, ahead of the
   page's <h1>, so as headings they became the first heading of every document
   and heading navigation in a screen reader reached "Shop by category" before
   the page title. They are labels for groups of links inside a nav, which is
   what a paragraph in a labelled list already conveys. */
.menu__title {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.menu__list {
  display: grid;
  gap: 2px;
}

.menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  margin-inline: -12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background-color 0.22s var(--ease);
}

.menu__list a:hover {
  background: var(--surface);
}

.menu__list a span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

.menu__promo {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.menu__promo::after {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 200px;
  height: 200px;
  background: var(--grad);
  filter: blur(60px);
  opacity: 0.55;
}

.menu__promo-title {
  font-size: 1.05rem;
  /* 700 because that is what <h4> rendered at: the element became a <p> so it
     would stop polluting the heading outline, and the browser's default bold
     for h4 had to be written out by hand to keep the look unchanged. */
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

/* Class, not `.menu__promo p`. The type-qualified selector scores (0,1,1) and
   silently beat `.menu__promo-title` at (0,1,0), so the promo's product name
   was rendered with the tagline's font-size and margins. Nothing caught it:
   both builds changed identically, so the pixel comparison stayed green. */
.menu__promo-tagline {
  font-size: 0.84rem;
  color: var(--muted-dark);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.menu__promo > * {
  position: relative;
  z-index: 1;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.icon-btn:hover {
  border-color: var(--ink);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

.nav-toggle {
  display: none;
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: 24px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
  visibility: hidden;
}

.drawer.is-open {
  transform: translateY(0);
  visibility: visible;
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  height: var(--header-h);
}

.drawer__nav {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.drawer__nav a {
  padding: 15px 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
}

.drawer__foot {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 900px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(10, 10, 12, 0.12) 0%,
      rgba(10, 10, 12, 0.55) 46%,
      rgba(10, 10, 12, 0.86) 100%
    ),
    linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0) 55%);
}

.hero__inner {
  position: relative;
  width: 100%;
  padding-block: calc(var(--header-h) + clamp(40px, 7vw, 90px)) clamp(52px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1fr minmax(0, 0.92fr);
  gap: 40px;
  align-items: end;
}

.hero__content {
  grid-column: 2;
  max-width: 620px;
  justify-self: end;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 26px;
}

.hero__badge b {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
}

.hero__sub {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin-bottom: 34px;
}

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

.hero__meta {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.hero__meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__meta dt,
.hero__meta span:first-child {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero__meta strong {
  font-size: 0.98rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(52px, 7vw, 96px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero__scroll i {
  display: block;
  width: 46px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  animation: scrollLine 2.6s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

/* ---------- 8. Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

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

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

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-inline: 34px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee__group span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0.85;
}

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

/* ---------- 9. Stats / value props ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.stat {
  padding: clamp(30px, 3.4vw, 48px) clamp(20px, 2.4vw, 34px);
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat:first-child {
  padding-left: 0;
}

.stat__num {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 14px;
}

.stat__num sup {
  font-size: 0.42em;
  font-weight: 600;
  top: -0.7em;
  margin-left: 2px;
}

.stat h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}

.stat p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* The stats band is the one place on /about that sits on `--ink`, and it
   inherited the light-surface tokens with it. `--muted` measures 3.92:1 on
   `--ink` — below the 4.5:1 needed at this size — and a near-white `--line`
   hairline reads as a seam across a dark panel. Dark surfaces elsewhere set
   their own overrides; this band was simply missed. */
.section--ink .stat-grid {
  border-top-color: var(--line-dark);
}

.section--ink .stat {
  border-right-color: var(--line-dark);
}

.section--ink .stat p {
  color: var(--muted-dark);
}

/* ---------- 10. Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.split__media:hover img {
  transform: scale(1.035);
}

.split__body .eyebrow {
  margin-bottom: 20px;
}

.split__body h2 {
  margin-bottom: 22px;
}

.split__list {
  display: grid;
  gap: 0;
  margin: 32px 0 34px;
  border-top: 1px solid var(--line);
}

.section--ink .split__list {
  border-top-color: var(--line-dark);
}

.split__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.section--ink .split__list li {
  border-bottom-color: var(--line-dark);
}

.split__list li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent);
}

.split__list li b {
  font-weight: 600;
}

.split__list li span {
  color: var(--muted);
}

.section--ink .split__list li span {
  color: var(--muted-dark);
}

/* ---------- 11. Carousel ---------- */
.carousel {
  position: relative;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 31.5%);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
}

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

.carousel__track > * {
  scroll-snap-align: start;
}

.carousel__nav {
  display: flex;
  gap: 8px;
}

/* scene card (marketing) */
.scene-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 3 / 4;
  color: #fff;
  isolation: isolate;
}

.scene-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  z-index: -2;
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* two layers: a bottom scrim heavy enough that white copy stays legible
     even over a white product, plus a flat top tint so the light studio
     backdrop reads as one deliberate dark tone instead of muddy grey */
  background: linear-gradient(
      to top,
      rgba(8, 8, 10, 0.97) 0%,
      rgba(8, 8, 10, 0.94) 38%,
      rgba(8, 8, 10, 0.7) 54%,
      rgba(8, 8, 10, 0.28) 72%,
      rgba(8, 8, 10, 0.06) 90%,
      rgba(8, 8, 10, 0) 100%
    ),
    linear-gradient(to bottom, rgba(8, 8, 10, 0.45) 0%, rgba(8, 8, 10, 0.08) 46%);
  transition: opacity 0.5s var(--ease);
}

.scene-card:hover img {
  transform: scale(1.05);
}

.scene-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(22px, 2.2vw, 32px);
}

.scene-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.scene-card h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  letter-spacing: -0.026em;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
}

.scene-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 18px;
  max-width: 30ch;
}

.scene-card .tlink {
  color: #fff;
}

/* arrow buttons */
.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.arrow-btn svg {
  width: 16px;
  height: 16px;
}

.arrow-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.arrow-btn[disabled] {
  opacity: 0.3;
  pointer-events: none;
}

.section--ink .arrow-btn {
  border-color: var(--line-dark);
  color: #fff;
}

.section--ink .arrow-btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ---------- 12. Quote / statement ---------- */
.quote {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.quote__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

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

.quote blockquote {
  margin: 0 0 30px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.quote__by {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.quote__by b {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
}

.quote__by span {
  font-size: 0.86rem;
  color: var(--muted-dark);
}

.quote__mark {
  font-size: 4.5rem;
  line-height: 0.6;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

/* ---------- 13. Steps / ecosystem ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.step {
  padding: clamp(30px, 3vw, 44px) clamp(22px, 2.6vw, 38px);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.step:last-child {
  border-right: 0;
}

.step__i {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-bottom: 44px;
  display: block;
}

.step h3 {
  font-size: 1.22rem;
  letter-spacing: -0.026em;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.93rem;
  color: var(--muted-dark);
}

.step__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-dark);
  color: #fff;
  margin-bottom: 26px;
}

.step__icon svg {
  width: 19px;
  height: 19px;
}

/* ---------- 14. Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cat-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 1s var(--ease);
}

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

.cat-card__body {
  padding: 20px 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
}

.cat-card__body h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 3px;
}

.cat-card__body span {
  font-size: 0.84rem;
  color: var(--muted);
}

.cat-card__body svg {
  width: 17px;
  height: 17px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}

.cat-card:hover .cat-card__body svg {
  transform: translateX(4px);
  color: var(--accent);
}

/* ---------- 15. Reasons ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
}

.reason__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}

.section--ink .reason__icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-2);
}

.reason__icon svg {
  width: 20px;
  height: 20px;
}

.reason h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 9px;
}

.reason p {
  font-size: 0.9rem;
  color: var(--muted);
}

.section--ink .reason p {
  color: var(--muted-dark);
}

/* ---------- 16. Newsletter ---------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.field {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.field input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 0.94rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.field input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.field input[type="email"]:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.09);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted-dark);
  margin-top: 14px;
}

.form-note.is-ok {
  color: #6ee7b7;
}

/* ---------- 16b. Contact form ---------- */
/* Light-section counterpart of the newsletter field styles. The support page
   sits on --paper, so the ink-tinted newsletter inputs would read wrong. */
.cform-card {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  max-width: 760px;
}

.cform-card h3 {
  font-size: 1.35rem;
  font-weight: 650;
  margin-bottom: 6px;
}

.cform-card > p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 26px;
}

.cform__row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cform__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  flex: 1 1 220px;
}

.cform__field label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.cform__field input,
.cform__field select,
.cform__field textarea {
  font: inherit;
  font-size: 0.94rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}

.cform__field textarea {
  resize: vertical;
  min-height: 120px;
}

.cform__field input:focus-visible,
.cform__field select:focus-visible,
.cform__field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Honeypot wrapper: not display:none (some bots ignore hidden fields), but
   impossible for a human to reach by tab, eye, or screen reader. */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.cform__note {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
}

.cform__note--ok {
  color: #15803d;
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  padding-top: clamp(60px, 7vw, 96px);
}

.footer__cols {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(44px, 5vw, 70px);
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--muted-dark);
  max-width: 30ch;
  margin-top: 18px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.footer__social a:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

/* Footer column titles are <h2>: <footer> is its own landmark, so these are
   top-level sections within it. As <h4> they followed the last content <h2>,
   which skips a level on every page of the site. */
.footer__col h2 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-bottom: 18px;
}

.footer__col ul {
  display: grid;
  gap: 11px;
}

.footer__col a {
  font-size: 0.89rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s var(--ease);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 26px 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer__legal a:hover {
  color: #fff;
}

/* ---------- 18. Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(52px, 6vw, 92px) clamp(30px, 3.4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.page-hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-hero__text {
  max-width: 700px;
}

.page-hero__text .lead {
  margin-top: 20px;
}

.page-hero__aside {
  display: flex;
  gap: 34px;
}

.page-hero__aside div span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.page-hero__aside div strong {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ---------- 19. Filters + product grid ---------- */
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-block: 28px;
}

.filter {
  padding: 10px 19px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

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

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filters__count {
  margin-left: auto;
  font-size: 0.84rem;
  color: var(--muted);
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px) clamp(18px, 2.2vw, 28px);
  padding-bottom: clamp(30px, 4vw, 56px);
}

.pcard {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid transparent;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.pcard.is-hidden {
  display: none;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.88;
  overflow: hidden;
  background: var(--surface-2);
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 1.1s var(--ease);
}

.pcard:hover .pcard__media img {
  transform: scale(1.06);
}

/* mirrored variant — used when two SKUs share one product photograph
   (e.g. a single unit vs. a pre-paired stereo set) */
.pcard__media--flip img {
  transform: scaleX(-1);
}

.pcard:hover .pcard__media--flip img {
  transform: scaleX(-1) scale(1.06);
}

.pcard__flag {
  position: absolute;
  top: 14px;
  left: 14px;
  /* The badge is painted before the `<img>` in DOM order, and that image carries
     `mix-blend-mode: multiply`, so without a z-index the photograph composites
     over the pill: it dimmed the gradient to 55% and turned the white label into
     ~#868b8b grey, for a rendered contrast of roughly 1.3:1. A flag whose
     legibility is a function of whichever product photograph is dropped behind
     it is not a flag. `z-index: 1` lifts it into a higher paint layer than the
     image's blend group, which is what makes the colours below the colours the
     visitor actually sees. */
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pcard__flag--new {
  background: var(--grad-badge);
}

.pcard__body {
  padding: 22px 22px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  flex: 1;
  border: 1px solid var(--line);
  border-top: 0;
}

.pcard__cat {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

.pcard__body h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.024em;
  margin-bottom: 7px;
}

.pcard__desc {
  font-size: 0.89rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.pcard__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pcard__price {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pcard__price small {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.pcard__swatches {
  display: flex;
  gap: 6px;
}

.swatch-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.swatch-dot--midnight {
  background: #16161a;
}

.swatch-dot--graphite {
  background: #4c4c54;
}

.swatch-dot--bone {
  background: #eae5dc;
}

.swatch-dot--sand {
  background: #cbb99c;
}

/* ---------- 20. Product detail ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 4.4vw, 76px);
  padding-block: clamp(30px, 3.4vw, 54px) clamp(50px, 6vw, 90px);
  align-items: start;
}

.gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1 / 0.86;
  position: relative;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}

.gallery__main img.is-active {
  opacity: 1;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease), opacity 0.3s var(--ease);
  opacity: 0.72;
}

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

.thumb:hover {
  opacity: 1;
}

.thumb.is-active {
  border-color: var(--ink);
  opacity: 1;
}

.buybox__cat {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.buybox h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 600;
  margin-bottom: 14px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.rating__stars {
  display: flex;
  gap: 2px;
  color: var(--ink);
}

.rating__stars svg {
  width: 14px;
  height: 14px;
}

.buybox__desc {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-block: 22px;
  border-block: 1px solid var(--line);
  margin-bottom: 26px;
}

.price-row strong {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.price-row span {
  font-size: 0.86rem;
  color: var(--muted);
}

.opt-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.opt-label span {
  font-weight: 400;
  color: var(--muted);
}

.swatches {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  position: relative;
  transition: transform 0.3s var(--ease);
}

.swatch:hover {
  transform: scale(1.06);
}

.swatch.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink);
}

.swatch--midnight {
  background: #16161a;
}

.swatch--graphite {
  background: #4c4c54;
}

.swatch--bone {
  background: #eae5dc;
}

.buybox__cta {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.highlights {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 26px;
}

.highlights li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.91rem;
}

.highlights svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex-shrink: 0;
}

.buybox__meta {
  font-size: 0.84rem;
  color: var(--muted);
  display: grid;
  gap: 9px;
}

.buybox__meta b {
  color: var(--ink);
  font-weight: 600;
}

/* sub nav */
.subnav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-block: 1px solid var(--line);
}

.subnav__inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.subnav a {
  padding: 17px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.subnav a:hover {
  color: var(--ink);
}

.subnav a.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* feature cards */
.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
}

.fcard {
  padding: clamp(26px, 2.6vw, 34px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.fcard__i {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 30px;
  display: block;
}

.fcard h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 10px;
}

.fcard p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* spec table */
.specs {
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) 1fr;
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  font-size: 0.94rem;
}

.spec-row dd b {
  font-weight: 600;
}

.spec-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(30px, 4vw, 70px);
}

.inbox {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.inbox li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: #fff;
}

.inbox li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-bottom: 14px;
}

/* big statement split */
.statement {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.statement__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top svg {
  width: 17px;
  height: 17px;
}

/* card entrance (used when filtering) */
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* reveal animation
   Scoped to .js (set by an inline script in the document head) so that if the
   script never runs — disabled, blocked, or a JS error — the content stays
   visible instead of being stuck at opacity 0 forever. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1180px) {
  .stat-grid,
  .reasons,
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-bottom: 1px solid var(--line);
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    padding-top: 0;
  }

  .stat-grid {
    border-top: 0;
  }

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

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

  .pgrid,
  .fgrid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .carousel__track {
    grid-auto-columns: minmax(280px, 44%);
  }
}

@media (max-width: 980px) {
  .nav,
  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    align-items: end;
  }

  /* single-column grid + justify-self:start would size the item to its
     max-content width and overflow the viewport — stretch instead */
  .hero__content {
    grid-column: 1;
    justify-self: stretch;
    min-width: 0;
  }

  .hero__scroll {
    display: none;
  }

  .split,
  .quote,
  .statement,
  .newsletter,
  .pdp {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

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

  .step {
    border-right: 0;
  }

  .gallery {
    position: static;
  }

  .spec-groups {
    grid-template-columns: 1fr;
  }

  .quote__media {
    aspect-ratio: 16 / 10;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel__track {
    grid-auto-columns: minmax(264px, 62%);
  }
}

@media (max-width: 700px) {
  :root {
    --radius-lg: 20px;
  }

  .stat-grid,
  .reasons,
  .cat-grid,
  .pgrid,
  .fgrid,
  .inbox {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    padding-inline: 0;
  }

  .page-hero__aside {
    gap: 26px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero__media img {
    /* the hero shot is 1536px wide; in a narrow viewport `cover` only keeps
       ~19% of the width, so bias the crop onto the speaker instead of centre */
    object-position: 31% 44%;
  }

  .hero__meta {
    gap: 16px 28px;
  }

  .announce p {
    font-size: 0.78rem;
  }

  .announce__inner {
    gap: 8px;
    flex-wrap: wrap;
  }

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

  .filters {
    padding-block: 22px;
  }

  .filters__count {
    margin-left: 0;
    width: 100%;
  }

  .carousel__track {
    grid-auto-columns: minmax(240px, 78%);
  }

  .scene-card {
    aspect-ratio: 3 / 4;
  }
}

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

  .btn {
    padding: 14px 22px;
    font-size: 0.9rem;
  }
}

/* =========================================================
   23. Technology / About / Support components
   (appended so they also carry their own responsive rules)
   ========================================================= */

/* --- FAQ (native details/summary, no JS required) --- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 23px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  transition: color 0.25s var(--ease);
}

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

.faq summary:hover {
  color: var(--accent);
}

.faq summary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 0.32s var(--ease), color 0.25s var(--ease);
}

.faq details[open] summary svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__answer {
  padding-bottom: 26px;
  max-width: 68ch;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.68;
}

/* --- Contact cards --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

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

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 22px;
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card h3 {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 9px;
}

.contact-card p {
  font-size: 0.91rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.contact-card .tlink {
  margin-top: auto;
}

/* --- Timeline --- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.timeline__item {
  padding: clamp(26px, 2.6vw, 38px) clamp(20px, 2.2vw, 30px);
  border-right: 1px solid var(--line);
}

.timeline__item:last-child {
  border-right: 0;
}

.timeline__item:first-child {
  padding-left: 0;
}

.timeline__year {
  display: block;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
}

.timeline__item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}

.timeline__item p {
  font-size: 0.89rem;
  color: var(--muted);
}

.section--ink .timeline,
.section--ink .timeline__item {
  border-color: var(--line-dark);
}

.section--ink .timeline__year {
  color: var(--accent-2);
}

.section--ink .timeline__item p {
  color: var(--muted-dark);
}

/* --- CTA band --- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 60px);
  flex-wrap: wrap;
  padding: clamp(34px, 4vw, 52px) clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.cta-band__text {
  max-width: 620px;
}

.cta-band__text h2 {
  margin-bottom: 12px;
}

.cta-band__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section--ink .cta-band {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-dark);
}

/* --- Download / guide rows --- */
.guide-list {
  border-top: 1px solid var(--line);
}

.guide-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.guide-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.guide-row__icon svg {
  width: 18px;
  height: 18px;
}

.guide-row__text {
  flex: 1 1 auto;
  min-width: 0;
}

.guide-row h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 4px;
}

.guide-row p {
  font-size: 0.88rem;
  color: var(--muted);
}

.guide-row__tag {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--muted);
}

/* Linked variant — used where the whole row is itself a destination, so the
   hit area is the row rather than a trailing link. */
a.guide-row:hover h3 {
  color: var(--accent);
}

a.guide-row:hover .guide-row__icon {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 1180px) {
  .contact-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline__item {
    border-bottom: 1px solid var(--line);
  }

  .section--ink .timeline__item {
    border-bottom-color: var(--line-dark);
  }

  .timeline__item:nth-child(2n) {
    border-right: 0;
  }

  .timeline {
    border-top: 0;
  }
}

@media (max-width: 700px) {
  .contact-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    border-right: 0;
    padding-inline: 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .guide-row {
    flex-wrap: wrap;
  }

  .guide-row__tag {
    width: 100%;
  }
}

/* ============ Language switch ============ */
/* Sits in the header actions and in the drawer footer. The inactive locale is
   real text at --muted, not hidden: the switch is also the affordance that
   tells a reader the page exists in another language. */
.lang {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang__sep {
  color: var(--muted);
  opacity: 0.6;
  font-size: 12px;
}

.lang__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 3px;
  border-radius: 4px;
}

.lang__link:hover,
.lang__link.is-active {
  color: var(--ink);
}

.header--over .lang__link {
  color: rgba(255, 255, 255, 0.8);
}

.header--over .lang__sep {
  color: rgba(255, 255, 255, 0.5);
}

.header--over .lang__link:hover,
.header--over .lang__link.is-active {
  color: #fff;
}

.drawer__lang {
  margin-top: 16px;
  justify-content: center;
}

/* ============ Consent banner ============ */
/* Fixed to the bottom edge, above the back-to-top button. Two focusable
   buttons and a plain-text explanation — deliberately not a modal, so the
   page stays usable while the question is open. */
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: rgba(12, 14, 18, 0.96);
  color: #fff;
  padding: 18px 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
}

.consent__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.consent__text strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.consent__text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
}

.consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* White on the dark strip: the ghost button inherits `.btn--ghost`, which is
   tuned for light pages — recolour it here instead of restyling per button. */
.consent .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.consent .btn--ghost:hover {
  border-color: #fff;
}

.consent__btn {
  white-space: nowrap;
}

.consent-fade-enter-active,
.consent-fade-leave-active {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.consent-fade-enter-from,
.consent-fade-leave-to {
  transform: translateY(100%);
  opacity: 0;
}

@media (max-width: 720px) {
  .consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

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