/* Bass Synth — page-specific overrides */

/* Hero accent color — warm amber/orange for the synth */
.hero-synth::before {
  background: radial-gradient(circle, rgba(255,160,50,0.10) 0%, transparent 70%);
}

.hero-synth .hero-tag {
  color: #f0a030;
  border-color: rgba(240,160,48,0.3);
}

.hero-synth .hero-title span {
  background: linear-gradient(135deg, #f0a030, #e05c20);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-synth .btn-primary {
  background: #e08820;
  box-shadow: 0 0 30px rgba(224,136,32,0.25);
}
.hero-synth .btn-primary:hover {
  background: #c87010;
  box-shadow: 0 0 40px rgba(224,136,32,0.4);
}

/* Outline CTA */
.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border: 1px solid rgba(240,160,48,0.4);
  color: #f0a030;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-outline:hover {
  border-color: #f0a030;
  background: rgba(240,160,48,0.08);
  color: #f5b84a;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* Nav report link */
.nav-report {
  color: #f0a030 !important;
}
.nav-report:hover {
  color: #f5b84a !important;
}

/* Section label accent override */
.arch-section .section-label,
.arch-section h2 {
  /* inherits base styles */
}

/* ── Architecture Flow ──────────────────────────────────────── */
.arch-section { background: var(--bg); }

.arch-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 4rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.arch-step {
  flex: 1;
  min-width: 140px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  position: relative;
}

.arch-step-num {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #f0a030;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.arch-step h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.arch-step p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.arch-arrow {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  color: #f0a030;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2.5rem;
  opacity: 0.6;
}

/* Block diagram */
.arch-diagram {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.arch-diagram-label {
  padding: 0.8rem 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

/* Block diagram: inline SVG, drawn at a readable size instead of a stretched bitmap */
.arch-diagram svg {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 1.4rem auto;
}
.bd-box { fill: var(--bg-elevated); stroke: var(--border-phosphor-strong); stroke-width: 1; }
.bd-box--mcu { stroke: rgba(240, 160, 48, 0.7); }
.bd-title { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; fill: var(--text-primary); }
.bd-sub { font-family: var(--font-mono); font-size: 10.5px; fill: var(--text-dim); }
.bd-line { stroke: rgba(240, 160, 48, 0.75); stroke-width: 1.5; fill: none; }
.bd-arrowhead { fill: rgba(240, 160, 48, 0.9); }
.bd-label { font-family: var(--font-mono); font-size: 10.5px; fill: rgba(240, 160, 48, 0.9); letter-spacing: 0.04em; }

/* Demo video (with sound, tap to play). Sized so the whole portrait video
   fits within ~70% of the screen height. */
.synth-demo-section { padding-top: 2.5rem; }
.synth-demo-intro {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 1.4rem;
}
.synth-demo-stage { display: flex; justify-content: center; }
.synth-demo-stage video {
  display: block;
  width: 100%;
  max-width: min(320px, calc(70vh * 540 / 960));
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 0 80px rgba(240, 160, 48, 0.15);
}

/* ── Synth Gallery (3-col grid) ─────────────────────────────── */
/* (the shared gallery in style.css now handles this page) */

/* Highlight card accent */
.highlights-section .highlight-icon {
  color: #f0a030;
}
.highlights-section .highlight-card:hover {
  border-color: rgba(240,160,48,0.45);
}

/* ── Responsive ─────────────────────────────────────────────── */
/* Six 140px steps + arrows need ~1070px in a row; stack before they clip */
@media (max-width: 1100px) {
  .arch-flow {
    flex-direction: column;
  }
  .arch-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
    padding: 0;
  }
  .arch-step { min-width: unset; }
}

@media (max-width: 900px) {
  .synth-gallery {
    grid-template-columns: 1fr 1fr !important;
  }
  .synth-gallery .gallery-item.large {
    grid-row: span 1 !important;
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .hero-cta-row { flex-direction: column; }
  .synth-gallery {
    grid-template-columns: 1fr !important;
  }
  .synth-gallery .gallery-item.large {
    grid-column: span 1;
  }
}
