/* ==========================================================================
   Blueprint Audio — Product Page Design System (Clean White Kush-Style)
   ========================================================================== */

:root {
  --pa-bg: #ffffff;
  --pa-card-bg: #ffffff;
  --pa-card-border: #e2e4de;
  --pa-card-hover: #b8bcb2;
  --pa-cyan: #384622;
  --pa-cyan-glow: rgba(56, 70, 34, 0.2);
  --pa-purple: #53653a;
  --pa-purple-glow: rgba(83, 101, 58, 0.16);
  --pa-emerald: #15803d;
  --pa-gold: #856b1d;
  --pa-text: #1d1d1f;
  --pa-muted: #52525b;
  --pa-dim: #71717a;
  --pa-pill-bg: #f4f4f1;
}

body.page-juma,
body.page-product {
  background: linear-gradient(180deg, #eceee8 0%, #e5e8e1 55%, #eceee8 100%);
  color: #1d1d1f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
}
.page-juma main,
.page-product main {
  --ink: #1d1d1f;
  --muted: #52525b;
  --cream: #3f3f46;
  --field: #ffffff;
  --field-raised: #f4f4f1;
  --panel: #fafaf7;
  --panel-hi: #eceee9;
  --line: #d4d6ce;
  --signal: #384622;
  color-scheme: light;
}
.page-juma .site-footer,
.page-product .site-footer,
.page-juma .closing,
.page-product .closing,
.consent-row--renewal {
  --muted: #4a4e46;
}

/* ── Kush-Style Subtle Studio Product Hero ─────────────────────────────── */
.waves-hero-section {
  padding: clamp(44px, 6vw, 72px) 0 clamp(48px, 6vw, 72px);
  background: radial-gradient(ellipse 75% 60% at 50% 0%, #f3f5f0 0%, #e9ece5 100%);
  border-bottom: 1px solid #d7dbd0;
}

.kush-hero-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.waves-product-h1 {
  font-family: 'Blueprint Geometric', sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1d1d1f;
  margin: 0;
}

.waves-display-frame {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  overflow: visible;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.waves-display-frame img,
.waves-display-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.kush-hero-desc {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.92rem, 1.25vw, 1.06rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3f3f46;
  max-width: 680px;
  line-height: 1.55;
  margin: 0;
}

.kush-hero-cta {
  display: flex;
  justify-content: center;
}

.kush-get-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 2.25rem;
  border-radius: 999px;
  background: #384622;
  border: 1px solid #384622;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.kush-get-btn:hover,
.kush-get-btn:focus-visible {
  background: #273218;
  border-color: #273218;
}

.waves-thumbs-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.waves-thumb-btn {
  background: #fafaf7;
  border: 1px solid #e2e4de;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #52525b;
  font-size: 12px;
  font-weight: 600;
}

.waves-thumb-btn:hover {
  border-color: #9ca3af;
  color: #1d1d1f;
}

.waves-thumb-btn.is-active {
  border-color: #384622;
  background: #f0f2ec;
  color: #1d1d1f;
}

.waves-thumb-btn img {
  width: 28px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
  background: #ffffff;
}

/* ── Shared Section Headers ─────────────────────────────────────────────── */
.waves-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.waves-section-header p.eyebrow {
  color: #384622;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.waves-section-header h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: #1d1d1f;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.waves-section-header p.desc {
  font-size: 16px;
  color: #52525b;
  line-height: 1.6;
  margin: 0;
}

/* ── Audition Player Section (White) ────────────────────────────────────── */
.waves-player-section {
  padding: 56px 0;
  background: #ffffff;
  border-bottom: 1px solid #e6e7e2;
  color: #1d1d1f;
}

.page-product .waves-player-section a {
  color: #384622;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-product .waves-player-section .ab-section {
  padding-block: 16px;
}

/* ── Cinejoy Episodes Section (White/Off-white Fleet Slider) ────────────── */
.cinejoy-episodes-section {
  padding: 40px 0 36px;
  background: #fafaf7;
  border-bottom: 1px solid #e6e7e2;
}

.cinejoy-episodes-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.cinejoy-episodes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.episodes-header-left .episodes-title {
  font-family: var(--font-geometric, Josefin Sans, sans-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.episodes-header-left .episodes-subtitle {
  font-size: 0.82rem;
  color: #626266;
  display: block;
  margin-top: 4px;
}

.episodes-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.episodes-ctrl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #d4d6ce;
  color: #52525b;
  font-size: 0.76rem;
  font-weight: 600;
  user-select: none;
}

.episodes-ctrl-pill.active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}

.cinejoy-episodes-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 280px);
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c9cbc3 transparent;
}

.cinejoy-ep-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e4de;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cinejoy-ep-card:hover {
  transform: translateY(-4px);
  border-color: #384622;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.cinejoy-ep-card.is-current-unit {
  border-color: #384622;
  box-shadow: 0 0 0 1px #384622;
}

.ep-card-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f5f5f2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ep-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.ep-badge-num {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d4d6ce;
  color: #1d1d1f;
  font-size: 0.7rem;
  font-weight: 700;
}

.ep-badge-action {
  display: none;
}

.ep-badge-tech {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d4d6ce;
  color: #3f3f46;
  font-size: 0.64rem;
  font-weight: 600;
}

.ep-badge-active {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #384622;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ep-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ep-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  line-height: 1.25;
}

.ep-card-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #52525b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Softube Limit Go-Inspired Feature Spotlight ────────────────────────── */
.softube-spotlight-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: #ffffff;
  border-bottom: 1px solid #e6e7e2;
}

.softube-spotlight-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.softube-spotlight-heading {
  font-family: 'Blueprint Geometric', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #1d1d1f;
  margin: 0 0 20px;
}

.softube-spotlight-copy {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3f3f46;
  margin: 0 0 28px;
  max-width: 44ch;
}

.softube-spotlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.85rem;
  border-radius: 999px;
  background: #384622;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.softube-spotlight-btn:hover,
.softube-spotlight-btn:focus-visible {
  background: #273218;
  transform: translateY(-1px);
}

.softube-spotlight-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.softube-spotlight-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 860px) {
  .softube-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Key Features Grid (Unboxed Editorial White) ────────────────────────── */
.pa-features-section {
  padding: 64px 24px;
  max-width: 1240px;
  margin: 0 auto;
  background: #ffffff;
}

.pa-features-section h2,
.pa-schematic-section h2,
.pa-specs-section h2,
.page-product #faq h2,
.page-product .pricing-head h2 {
  font-family: 'Blueprint Geometric', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1d1d1f;
}

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

.pa-feature-box {
  background: transparent;
  border: 0;
  border-top: 1px solid #d4d6ce;
  border-radius: 0;
  overflow: visible;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.pa-feature-box:hover {
  border-top-color: #384622;
}

.pa-feature-visual {
  position: relative;
  background: #f7f7f5;
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 0;
}

.pa-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

.pa-feature-content {
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pa-feature-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #384622;
  margin-bottom: 8px;
}

.pa-feature-content h3 {
  font-family: 'Blueprint Geometric', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #1d1d1f;
  margin: 0 0 8px;
  text-transform: none;
}

.pa-feature-content p {
  font-size: 14px;
  color: #52525b;
  line-height: 1.65;
  margin: 0;
}

/* ── Control Guide / Schematic (Unboxed Editorial) ──────────────────────── */
.pa-schematic-section {
  padding: 64px 0;
  background: #fafaf7;
  border-top: 1px solid #e6e7e2;
  border-bottom: 1px solid #e6e7e2;
}

.pa-schematic-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.pa-controls-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}

.pa-control-card {
  background: transparent;
  border: 0;
  border-top: 1px solid #d4d6ce;
  border-radius: 0;
  padding: 18px 0 6px;
}

.pa-control-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #edf2e6;
  color: #384622;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pa-control-card h3,
.pa-control-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 6px;
  text-transform: none;
  letter-spacing: normal;
}

.pa-control-card p {
  font-size: 13.5px;
  color: #52525b;
  line-height: 1.55;
  margin: 0;
  max-width: 50ch;
}

/* ── Technical Specifications Table (White) ─────────────────────────────── */
.pa-specs-section {
  padding: 64px 24px;
  max-width: 1040px;
  margin: 0 auto;
  background: #ffffff;
}

.pa-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  border: 0;
  border-top: 1px solid #1d1d1f;
  border-bottom: 1px solid #d4d6ce;
  border-radius: 0;
  overflow: visible;
  margin-top: 28px;
  table-layout: fixed;
}

.pa-specs-table tr:not(:last-child) {
  border-bottom: 1px solid #eceee9;
}

.pa-specs-table th {
  text-align: left;
  padding: 16px 22px 16px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1d1d1f;
  width: 28%;
  background: transparent;
  border-right: 0;
}

.pa-specs-table td {
  padding: 16px 22px;
  font-size: 14px;
  color: #52525b;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.pa-specs-table td strong {
  color: #1d1d1f;
}

.pa-specs-table a {
  color: #384622;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Compare, FAQ & Pricing (White) ─────────────────────────────────────── */
.page-product .compare-table,
.page-product .license-option {
  background: #ffffff;
  border-color: #e2e4de;
  color: #1d1d1f;
}

.page-product .compare-table .is-current {
  background: #f3f5ef;
}

.page-product .compare-table .yes {
  color: #384622;
  font-weight: 600;
}

.page-product .compare-box {
  border: 0;
  border-top: 1px solid #e2e4de;
  border-bottom: 1px solid #e2e4de;
  border-radius: 0;
  background: transparent;
  padding-inline: 0;
}

.page-product .trial-callout {
  background: #f5f7f2;
  border-color: #cad4bc;
  color: #1d1d1f;
}

.page-product .trial-callout p,
.page-product .license-option p {
  color: #52525b;
}

.page-product .eyebrow {
  color: #384622;
  font-size: 0.75rem;
}

.page-product .renewal-disclosure a {
  color: #384622;
  text-decoration: underline;
}

.page-product .pricing {
  border-color: #d7dbd0;
  background: #e9ece5;
}

.page-product .pricing-head h2 {
  max-width: 25ch;
  color: #1d1d1f;
}

.page-product #faq details {
  border: 0;
  border-top: 1px solid #e2e4de;
  border-radius: 0;
  padding: 20px 0;
  background: transparent;
}

.page-product #faq details:last-child {
  border-bottom: 1px solid #e2e4de;
}

.page-product #faq details + details {
  margin-top: 0;
}

.page-product #faq summary {
  color: #1d1d1f;
  cursor: pointer;
  font-weight: 600;
}

.page-product #faq details p {
  color: #52525b;
  line-height: 1.65;
}

.page-product #faq details a {
  color: #384622;
  text-decoration: underline;
}

.page-product main :focus-visible {
  outline: 3px solid #35639b;
  outline-offset: 4px;
}

.page-product .skip-link:focus {
  background: #ffffff;
  color: #111111;
  z-index: 200;
}

.page-product main button {
  touch-action: manipulation;
}

/* Cart drawer & checkout modal contrast invariant on product pages */
body.page-product .cart-drawer,
body.page-product .modal-card { color: #20251c; }
body.page-product .modal-card .eyebrow { color: var(--signal-text, #384622); }
body.page-product .cart-drawer .button--primary,
body.page-product .modal-card .button--primary { color: #ffffff; }

@media (max-width: 1040px) {
  .pa-features-grid,
  .pa-controls-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pa-features-grid,
  .pa-controls-matrix {
    grid-template-columns: 1fr;
  }
  .pa-specs-table th {
    width: 36%;
    padding: 14px 16px;
  }
  .pa-specs-table td {
    padding: 14px 16px;
  }
  .pa-features-section,
  .pa-specs-section {
    padding: 44px 16px;
  }
  .waves-player-section,
  .pa-schematic-section {
    padding-block: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-product *, .page-product *::before, .page-product *::after { transition: none !important; animation: none !important; }
}
