/* ==========================================================================
   SATOWBEATS Audio Plugins — styles
   1. Brand tokens (change colors and fonts here)
   2. Base
   3. Layout helpers
   4. Header & navigation
   5. Buttons, status, price, placeholders
   6. Homepage: hero + insert rack
   7. Sections, featured, catalog rows, filters
   8. Categories, why, newsletter
   9. Product page
   10. Product artwork (generated placeholder)
   11. Footer, 404
   12. Responsive & reduced motion
   ========================================================================== */

/* 1. Brand tokens ----------------------------------------------------------- */
:root {
  --black: #000000;
  --plate: #100e15;        /* panels */
  --plate-2: #1a1721;      /* raised panels, hover */
  --line: #29252f;         /* hairlines */
  --line-strong: #3e3848;
  --white: #ffffff;
  --text: #e4e1ea;         /* body text */
  --muted: #9d98a9;        /* secondary text (7:1 on black) */
  --purple: #3f1a8f;       /* deep purple: primary buttons */
  --purple-hover: #5227b5;
  --purple-deep: #170b30;  /* newsletter panel */
  --violet: #b39cff;       /* accent: links, LEDs, focus */
  --violet-dim: #7d62d9;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;            /* font-stretch for display type */

  --radius-sm: 4px;
  --radius: 8px;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 64px;
}

/* 2. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3 { color: var(--white); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
main:focus { outline: none; }

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

.visually-hidden {
  position: absolute !important; 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; left: 12px; top: -48px; z-index: 100;
  background: var(--white); color: var(--black); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.text-link { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--white); }

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

/* 4. Header & navigation ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__word { font-weight: 800; font-stretch: var(--wide); font-size: 1.125rem; letter-spacing: 0.02em; }
.logo__sub { color: var(--muted); font-size: 0.8125rem; font-weight: 500; }

.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav a {
  display: block; padding: 8px 12px; color: var(--muted); font-size: 0.9375rem; font-weight: 500;
  border-radius: var(--radius-sm); transition: color 0.15s;
}
.site-nav a:hover { color: var(--white); }
.site-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--violet); border-radius: 0; }
.site-nav__ext::after { content: "↗"; margin-left: 4px; font-size: 0.8em; }

.nav-toggle {
  display: none; align-items: center; gap: 10px; height: 40px; padding: 0 12px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--white); font: inherit; font-size: 0.875rem; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; position: relative; transition: transform 0.2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 5. Buttons, status, price, placeholders ---------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary:hover { background: var(--purple-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--violet); }
.btn--disabled { border: 1px dashed var(--line-strong); color: var(--muted); cursor: not-allowed; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 500; color: var(--text); }
.status__led, .rack__led {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--violet); background: transparent;
}
.status--available .status__led, .rack__led--available { background: var(--violet); box-shadow: 0 0 6px rgba(179, 156, 255, 0.55); }
.status--free .status__led, .rack__led--free { background: var(--white); border-color: var(--white); }

.price { font-weight: 600; color: var(--white); font-size: 0.9375rem; }
.price--muted { color: var(--muted); font-weight: 500; font-size: 0.8125rem; }

/* Clearly marks text that is waiting for real information. */
.placeholder-text {
  display: inline-block; padding: 1px 8px;
  border: 1px dashed var(--line-strong); border-radius: 3px;
  color: var(--muted); font-size: 0.9em; line-height: 1.5;
}

/* 6. Homepage hero + insert rack ------------------------------------------------- */
.hero { padding: 72px 0 64px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero__title {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  font-weight: 750; font-stretch: var(--wide); letter-spacing: -0.015em; line-height: 1.05;
  max-width: 14ch;
}
.hero__lead { margin-top: 20px; color: var(--muted); font-size: 1.0625rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.rack { display: grid; grid-template-columns: 26px 1fr 26px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--plate); overflow: hidden; }
.rack__ear { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 14px 0; background: var(--plate-2); }
.rack__ear:first-child { border-right: 1px solid var(--line); }
.rack__ear:last-child { border-left: 1px solid var(--line); }
.rack__ear span { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--black); position: relative; }
.rack__ear span::after { content: ""; position: absolute; inset: 3.5px 1px; background: var(--line-strong); border-radius: 1px; }
.rack__top { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 0.75rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.rack__slots { list-style: none; }
.rack__slot {
  position: relative;
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 10px; align-items: center; gap: 14px;
  min-height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line);
}
.rack__slot:last-child { border-bottom: 0; }
.rack__slot:not(.rack__slot--empty):hover { background: var(--plate-2); }
.rack__num {
  display: grid; place-items: center; width: 24px; height: 24px;
  border: 1px solid var(--line-strong); border-radius: 3px;
  font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.rack__name { font-weight: 700; font-stretch: var(--wide); font-size: 0.9375rem; color: var(--white); letter-spacing: 0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.rack__name::after { content: ""; position: absolute; inset: 0; }
.rack__slot:hover a.rack__name { color: var(--violet); }
.rack__cat { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
.rack__slot--empty .rack__num { border-style: dashed; }
.rack__slot--empty .rack__name { color: var(--muted); font-weight: 500; font-stretch: 100%; }

/* The one page-load moment: LEDs switch on down the rack. */
@media (prefers-reduced-motion: no-preference) {
  .rack__led { animation: led-on 0.5s ease-out both; }
  .rack__slot:nth-child(1) .rack__led { animation-delay: 0.25s; }
  .rack__slot:nth-child(2) .rack__led { animation-delay: 0.4s; }
  .rack__slot:nth-child(3) .rack__led { animation-delay: 0.55s; }
  .rack__slot:nth-child(4) .rack__led { animation-delay: 0.7s; }
  .rack__slot:nth-child(5) .rack__led { animation-delay: 0.85s; }
  .rack__slot:nth-child(6) .rack__led { animation-delay: 1s; }
}
@keyframes led-on { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* 7. Sections, featured, catalog --------------------------------------------------- */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__title { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem); font-weight: 700; font-stretch: var(--wide); letter-spacing: -0.01em; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.feature { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--plate); overflow: hidden; }
.feature__art { display: block; border-bottom: 1px solid var(--line); }
.features--single .feature { flex-direction: row; align-items: center; }
.features--single .feature__art { flex: 1.3; border-bottom: 0; border-right: 1px solid var(--line); }
.features--single .feature__body { flex: 1; padding: 32px; }
.features--single .feature__name { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.feature__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.feature__cat { margin: 0; font-size: 0.8125rem; color: var(--violet); }
.feature__name { font-size: 1.5rem; font-weight: 750; font-stretch: var(--wide); }
.feature__name a:hover { color: var(--violet); }
.feature__tagline { margin: 0; color: var(--white); }
.feature__desc { margin: 0; color: var(--muted); }
.feature__meta { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 12px; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.catalog__count { margin: 0; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.catalog__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 24px; }
.search { position: relative; flex: 0 1 300px; }
.search__icon { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; pointer-events: none; }
.search__input {
  width: 100%; height: 44px; padding: 0 14px 0 40px;
  background: var(--plate); color: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font: inherit; font-size: 0.9375rem;
}
.search__input::placeholder { color: var(--muted); }
.search__input:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px rgba(179, 156, 255, 0.2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover { border-color: var(--violet); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.chip__count { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip__count { color: #4a4553; }

.rows { list-style: none; border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.row__art { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.row__name { font-size: 1.125rem; font-weight: 700; font-stretch: var(--wide); }
.row__link::after { content: ""; position: absolute; inset: 0; }
.row__link:focus-visible { outline: none; }
.row:has(.row__link:focus-visible) { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: var(--radius-sm); }
.row:hover .row__name { color: var(--violet); }
.row__cat { margin: 2px 0 8px; font-size: 0.8125rem; color: var(--violet); }
.row__desc { margin: 0; color: var(--muted); font-size: 0.9375rem; max-width: 60ch; }
.row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }

.catalog__empty { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.catalog__empty-title { color: var(--white); font-size: 1.0625rem; margin-bottom: 16px; }
.catalog__none { color: var(--muted); padding: 24px 0; border-top: 1px solid var(--line); }

/* 8. Categories, why, newsletter ---------------------------------------------------- */
.cats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cats__item + .cats__item { border-left: 1px solid var(--line); }
.cats__link { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px; transition: background-color 0.15s; }
.cats__link:hover { background: var(--plate); }
.cats__name { color: var(--white); font-weight: 700; font-stretch: var(--wide); font-size: 1.0625rem; }
.cats__desc { color: var(--muted); font-size: 0.875rem; flex: 1; }
.cats__count { margin-top: 10px; font-size: 0.8125rem; color: var(--violet); }

.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 48px; }
.why__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why__item { padding-top: 16px; border-top: 1px solid var(--violet-dim); }
.why__item h3 { font-size: 1.0625rem; font-weight: 650; margin-bottom: 8px; }
.why__item p { color: var(--muted); font-size: 0.9375rem; }

.newsletter { background: var(--purple-deep); border-top-color: #2b1856; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter__text { margin-top: 8px; color: #c9bfe6; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px;
  background: var(--black); color: var(--white);
  border: 1px solid #3b2a66; border-radius: var(--radius-sm); font: inherit;
}
.newsletter__form input:focus { outline: none; border-color: var(--violet); }
.newsletter__placeholder { color: #c9bfe6; }

/* 9. Product page ------------------------------------------------------------------- */
.page-head { padding: 56px 0 40px; }
.page-head__title { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); font-weight: 750; font-stretch: var(--wide); letter-spacing: -0.015em; }
.page-head__lead { margin-top: 12px; color: var(--muted); max-width: 60ch; }

.crumbs { padding-top: 24px; font-size: 0.8125rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--text); }

.pd-hero { padding: 24px 0 64px; }
.pd-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.pd-hero__art { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
  display: inline-block; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.8125rem; font-weight: 500; color: var(--text);
}
a.tag:hover { border-color: var(--violet); color: var(--white); }
.tag--free, .tag--available { border-color: var(--violet-dim); color: var(--violet); }
.tag--coming-soon { border-style: dashed; color: var(--muted); }
.pd-hero__name { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.01em; line-height: 1.05; overflow-wrap: anywhere; }
.pd-hero__tagline { margin: 14px 0 0; color: var(--white); font-size: 1.125rem; }
.pd-hero__desc { margin: 14px 0 0; color: var(--muted); }
.pd-hero__buy { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-hero__price { margin-bottom: 16px; font-size: 1.75rem; font-weight: 700; font-stretch: var(--wide); color: var(--white); }
.pd-hero__price .price--muted { font-stretch: 100%; }
.pd-hero__note { margin: 12px 0 0; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.pd-hero__ask { margin: 8px 0 0; font-size: 0.875rem; text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 24px 0 0; }
.tile { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--plate); }
.tile dt { font-size: 0.75rem; color: var(--muted); }
.tile dd { margin: 2px 0 0; color: var(--white); font-weight: 600; }

/* Highlights: big screenshot + short text, alternating sides */
.hls { border-top: 1px solid var(--line); }
.hl { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; padding: 64px 0; }
.hl + .hl { border-top: 1px solid var(--line); }
.hl:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.hl:nth-child(even) .hl__text { order: 2; }
.hl__text h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 750; font-stretch: var(--wide); letter-spacing: -0.01em; }
.hl__text p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.hl__media { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--plate); }
.hl__media img { width: 100%; height: auto; }

/* Sticky buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 40; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.buybar__inner {
  display: flex; align-items: center; gap: 20px; padding: 8px 8px 8px 20px;
  background: rgba(16, 14, 21, 0.94); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: 999px; pointer-events: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.buybar__info { display: flex; flex-direction: column; line-height: 1.25; }
.buybar__name { font-weight: 700; font-stretch: var(--wide); color: var(--white); font-size: 0.9375rem; }
.buybar__price { font-size: 0.8125rem; color: var(--violet); }
.buybar__price .price--muted { font-size: 0.75rem; }
.buybar .btn { border-radius: 999px; min-height: 40px; }
@media (prefers-reduced-motion: no-preference) {
  .buybar:not([hidden]) .buybar__inner { animation: bar-in 0.25s ease-out; }
}
@keyframes bar-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.pd-section { padding: 48px 0; border-top: 1px solid var(--line); }
.pd-section__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.pd-section__title { font-size: 1.25rem; font-weight: 700; font-stretch: var(--wide); }
.pd-section__body { max-width: 860px; }
.pd-small { margin-top: 16px; font-size: 0.8125rem; color: var(--muted); }
.prose p { color: var(--text); max-width: 68ch; }

.pd-overview { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.pd-features { padding: 24px; background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius); align-self: start; }
.pd-features h3 { font-size: 0.9375rem; font-weight: 650; margin-bottom: 14px; }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 20px; font-size: 0.9375rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 28px; height: 28px;
  border: 1px solid var(--line-strong); border-radius: 3px; font-size: 0.8125rem; color: var(--muted);
}

.spec { margin: 0; border-top: 1px solid var(--line); }
.spec__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: 0.9375rem; }
.spec dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spec__chip { padding: 2px 10px; border: 1px solid var(--line-strong); border-radius: 3px; font-size: 0.875rem; color: var(--white); }

.demos { display: grid; gap: 24px; }
.video { margin: 0; }
.video__file { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--black); }
.video figcaption strong { color: var(--white); font-weight: 600; margin-right: 4px; }
.video__link, .video__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--plate); }
.video__link img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.2s; }
.video__link:hover img { opacity: 1; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px;
  background: var(--black); color: var(--white); border-radius: var(--radius-sm); font-weight: 600;
}
.video__play svg { width: 18px; height: 18px; fill: currentColor; }
.video figcaption, .audio figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.audios { display: grid; gap: 12px; }
.audio { margin: 0; padding: 16px; background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius); }
.audio figcaption { margin: 0 0 10px; color: var(--white); font-weight: 600; }
.audio audio { width: 100%; color-scheme: dark; }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.shot { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; cursor: pointer; color: var(--white); font-weight: 600; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--violet); font-size: 1.25rem; line-height: 1; }
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 0 18px; color: var(--muted); }

.steps + p { margin-top: 20px; }
.link-list { list-style: none; display: grid; gap: 10px; }

/* 10. Product artwork --------------------------------------------------------------- */
/* With a real image, the box takes the image's own shape (nothing is cropped).
   Without one, it's 16:10 with the generated placeholder. */
.media { position: relative; background: var(--plate); overflow: hidden; }
.media img { position: relative; display: block; width: 100%; height: auto; }
.media > .art { position: absolute; inset: 0; }
.media--placeholder { aspect-ratio: 16 / 10; }
.row__art .media { aspect-ratio: 16 / 10; }
.row__art .media img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: top center; }
.art { display: block; width: 100%; height: 100%; }
.art__plate { fill: #0d0b12; }
.art__name { fill: var(--white); font-family: var(--font); font-weight: 800; font-stretch: var(--wide); letter-spacing: 0.01em; }
.art__meta { fill: var(--violet); font-family: var(--font); font-size: 17px; }
.art__knob { fill: #1a1721; stroke: #34303f; stroke-width: 2; }
.art__arc { fill: none; stroke: var(--violet); stroke-width: 4; stroke-linecap: round; }
.art__pointer { stroke: var(--white); stroke-width: 3; stroke-linecap: round; }
.art__seg { fill: #221f2a; }
.art__seg--on { fill: var(--violet-dim); }
.art__seg--hot { fill: var(--white); }
.art__wave rect { fill: #3a2a66; }
.art__note { fill: #77728a; font-family: var(--font); font-size: 14px; }

/* 11. Footer, 404 ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand p { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }
.logo--footer { flex-wrap: wrap; }
.site-footer__col h2 { font-size: 0.875rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.site-footer__col ul { list-style: none; display: grid; gap: 8px; font-size: 0.9375rem; }
.site-footer__col a:hover { color: var(--violet); }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  position: relative; margin-top: 48px; padding-top: 20px;
  font-size: 0.8125rem; color: var(--muted);
}
.site-footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.site-footer__base p { margin: 0; }

.notfound { padding: 80px 0 96px; }
.notfound__code {
  font-size: clamp(4rem, 3rem + 5vw, 7rem); font-weight: 800; font-stretch: var(--wide); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--violet-dim); margin-bottom: 16px;
}
.notfound__list { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* 12. Responsive --------------------------------------------------------------------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

@media (max-width: 1023px) {
  .hero__grid, .pd-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { max-width: 18ch; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cats__item:nth-child(3) { border-left: 0; }
  .cats__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .why__grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-section__grid { grid-template-columns: 1fr; gap: 20px; }
  .hl, .hl:nth-child(even) { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .hl:nth-child(even) .hl__text { order: 0; }
  .features--single .feature { flex-direction: column; align-items: stretch; }
  .features--single .feature__art { border-right: 0; border-bottom: 1px solid var(--line); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 759px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--black); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--violet); padding-left: 12px; }
  .logo__sub { display: none; }

  .hero { padding: 48px 0 48px; }
  .section { padding: 48px 0; }
  .search { flex: 1 1 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  .row { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: start; }
  .row__meta { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 14px; text-align: left; }
  .row__meta > * { white-space: nowrap; }
  .row__desc { font-size: 0.875rem; }

  .cats { grid-template-columns: 1fr; }
  .cats__item + .cats__item { border-left: 0; border-top: 1px solid var(--line); }
  .why__list { grid-template-columns: 1fr; gap: 24px; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .pd-overview { grid-template-columns: 1fr; }
  .spec__row { grid-template-columns: 1fr; gap: 8px; }
  .buybar { bottom: 10px; }
  .buybar__inner { width: 100%; justify-content: space-between; }
  .rack__cat { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
