/* Static Progress Studio | Pré-amplificadores, 16 canais | componente isolado */
.preamp-showcase {
  --preamp-paper: #f5efe7;
  --preamp-fog: #c1b9ae;
  --preamp-copper: #d48a57;
  --preamp-azure: #86b1bf;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #34312d;
  color: var(--preamp-paper);
  background: #191917;
  box-shadow: 0 24px 44px rgba(21, 17, 13, .1);
  margin: clamp(24px,3.7vw,48px) 0 clamp(26px,4vw,50px);
}
.preamp-showcase *, .preamp-showcase *::before, .preamp-showcase *::after { box-sizing: border-box; }
.preamp-showcase__header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 18px;
  border-bottom: 1px solid #3c3833;
  padding: 14px clamp(18px,3vw,32px);
  color: var(--preamp-fog);
  font: 600 10px/1.5 Archivo, sans-serif;
  letter-spacing: .15em; text-transform: uppercase;
}
.preamp-showcase__header b { color: var(--preamp-copper); font-weight: 700; }
.preamp-showcase__header small { font: inherit; color: #9fa9a7; }
.preamp-showcase__body {
  display: grid;
  /* Editorial hierarchy: 3 parts image, 1 part information on desktop. */
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  min-height: 460px;
}
.preamp-showcase__photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  background: #222321;
}
.preamp-showcase__photo img.preamp-showcase__rack {
  width: 100%; height: 100%; position: absolute;
  inset: 0; display: block; object-fit: cover; object-position: center 48%;
  opacity: .57;
  filter: contrast(1.10) saturate(.65) brightness(.76);
  transition: transform 8s ease;
}
.preamp-showcase[data-running="true"] .preamp-showcase__photo img.preamp-showcase__rack { transform: scale(1.065); }
.preamp-showcase__photo::after {
  z-index: 1;
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12,12,12,.88), transparent 58%),
    linear-gradient(90deg, transparent 65%, #191917 100%);
  pointer-events: none;
}
.preamp-showcase__photo figcaption {
  position: absolute; z-index: 2;
  bottom: clamp(17px,2.5vw,29px); left: clamp(18px,3vw,32px);
  right: 20px;
  font-size: clamp(13px,1.6vw,18px);
  letter-spacing: .025em;
  font-weight: 500;
  line-height: 1.45;
  color: #f8f1e9;
}
.preamp-showcase__photo figcaption span {
  display: block; color: #deb594;
  font: 700 11px/1.7 Archivo,sans-serif; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 5px;
}
.preamp-showcase__stage {
  min-width: 0;
  position: relative;
  min-height: 460px;
  background: radial-gradient(ellipse at 86% 12%, rgba(130, 177, 182, .07), transparent 58%),
    #191917;
  overflow: hidden;
}
.preamp-showcase__stage::before {
  content: ""; pointer-events: none; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.13), transparent);
}
.preamp-showcase__card {
  position: absolute;
  inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(9px,1.25vw,14px); margin: 0;
  padding: clamp(17px,2vw,28px);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(22px,0,0);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1), visibility 650ms ease;
  pointer-events: none;
}
.preamp-showcase__card.is-active {
  opacity: 1; visibility: visible; z-index: 3;
  transform: translate3d(0,0,0);
  pointer-events: auto;
}
.preamp-showcase__count {
  color: var(--preamp-azure);
  font: 700 clamp(9px,.83vw,11px)/1.5 Archivo,sans-serif;
  letter-spacing: .10em; text-transform: uppercase;
}
.preamp-showcase__card h3 {
  margin: 0;
  color: var(--preamp-paper);
  font: 500 clamp(23px,2.25vw,33px)/1.14 'Bodoni Moda', Georgia, serif;
  letter-spacing: -.025em;
  max-width: 26ch;
  overflow-wrap: anywhere;
}
.preamp-showcase__model {
  margin: -9px 0 0;
  color: #e4a875;
  font: 600 clamp(14px,1.2vw,18px)/1.35 Archivo,sans-serif;
}
.preamp-showcase__detail {
  margin: 0;
  color: #d5cbc0;
  font: 400 clamp(13px,1.08vw,15px)/1.55 Archivo,sans-serif;
  max-width: 45ch;
}
.preamp-showcase__channel-line {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
  margin-top: 2px;
}
.preamp-showcase__channel-line span {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; min-width: 32px; padding: 0 7px;
  color: #19211e; background: #b2d0c9;
  border: 1px solid #ccded9; border-radius: 4px;
  box-shadow: 0 2px 9px rgba(125,191,177,.17);
  font: 700 11px/1 Archivo,sans-serif; font-variant-numeric: tabular-nums;
}
.preamp-showcase__transport {
  display: flex; gap: clamp(14px,2vw,28px); align-items: center;
  justify-content: space-between;
  padding: 13px clamp(18px,3vw,32px);
  border-top: 1px solid #393630; border-bottom: 1px solid #393630;
  background: #20201d;
}
.preamp-showcase__position {
  color: #eddfd2; white-space: nowrap;
  font: 600 13px/1.4 Archivo,sans-serif; letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.preamp-showcase__bar {
  flex: 1 1 200px;
  max-width: 390px; height: 3px;
  border-radius: 99px; background: #4b4943;
  position: relative; overflow: hidden;
}
.preamp-showcase__bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--preamp-copper);
  width: 0%; transition: width 600ms ease;
}
.preamp-showcase__controls { display: flex; gap: 6px; align-items: center; }
.preamp-showcase__controls button,
.preamp-showcase__channels button {
  appearance: none; -webkit-appearance: none;
  font-family: Archivo, sans-serif;
  cursor: pointer;
}
.preamp-showcase__controls button {
  display: inline-flex; min-width: 40px; height: 38px; padding: 0 10px;
  align-items: center; justify-content: center;
  border: 1px solid #615c52; border-radius: 5px;
  background: #292825; color: var(--preamp-paper);
  font-size: 15px; font-weight: 600;
  transition: background .2s, border-color .2s;
}
.preamp-showcase__controls button[data-preamp-toggle] {
  min-width: 78px;
  font: 600 12px/1 Archivo,sans-serif;
}
.preamp-showcase__controls button:hover { background: #39352f; border-color: #d48a57; }
.preamp-showcase__controls button:focus-visible,
.preamp-showcase__channels button:focus-visible {
  outline: 3px solid #d48a57;
  outline-offset: 3px;
}
.preamp-showcase__connections {
  padding: 17px clamp(18px,3vw,32px) 22px;
  display: grid;
  gap: 17px;
  background: #171816;
}
.preamp-showcase__connections-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 7px;
  font: 600 10px/1.5 Archivo,sans-serif; letter-spacing: .12em;
  text-transform: uppercase; color: #b6b4ad;
}
.preamp-showcase__connections-head strong { color: #d1bbb0; }
.preamp-showcase__channels {
  display: grid;
  grid-template-columns: repeat(16, minmax(0,1fr));
  gap: clamp(3px,.5vw,7px);
}
.preamp-showcase__channels button {
  min-width: 0; width: 100%; height: 39px;
  border: 1px solid #525049; border-radius: 4px;
  background: #292b27;
  color: #aba9a1;
  font: 600 clamp(10px,1vw,12px)/1 Archivo,sans-serif;
  font-variant-numeric: tabular-nums;
  transition: color .28s, border-color .28s, background .28s, box-shadow .28s;
}
.preamp-showcase__channels button.is-lit {
  background: #d48a57; border-color: #edb183; color: #211b17;
  box-shadow: 0 0 16px rgba(213,138,87,.3);
}
.preamp-showcase__flow {
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px;
  font: 600 11px/1.6 Archivo,sans-serif;
  color: #bcb8af;
}
.preamp-showcase__flow span { color: #dfb38e; }
.preamp-showcase__flow i { color: #86847e; font-style: normal; }
.preamp-showcase__note {
  margin: 12px 0 0;
  font: 400 12px/1.65 Archivo,sans-serif;
  color: #796f62;
}

/* Routing video follows the 16-channel schematic, not the Studio hero. */
.studio-video-followup {
  padding-block: clamp(50px,7vw,94px);
  background: var(--paper, #faf8f3);
  border-top: 1px solid var(--rule, #e4ddd2);
}
.studio-video-followup__wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,350px);
  align-items: center;
  gap: clamp(30px,6vw,92px);
}
.studio-video-followup__copy { min-width: 0; max-width: 680px; }
.studio-video-followup__copy .lead {
  max-width: 54ch;
  line-height: 1.65;
}
.studio-video-followup .studio-hero__media {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.studio-video-followup .studio-hero-video,
.studio-video-followup__video {
  width: min(100%,350px);
  margin-inline: auto;
  text-align: center;
}
.studio-video-followup video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 12px;
  background: #242424;
}
.studio-video-followup__download {
  display: inline-block;
  margin-top: 14px;
  font: 500 13px/1.5 Archivo, sans-serif;
  color: var(--ink-2, #5b534c);
  text-underline-offset: 3px;
}
@media (max-width: 750px) {
  .studio-video-followup__wrap {
    grid-template-columns: minmax(0,1fr);
    justify-items: center;
    gap: 24px;
  }
  .studio-video-followup__copy { justify-self: stretch; }
  .studio-video-followup .studio-hero__media { width: 100%; }
  .studio-video-followup .studio-hero-video,
  .studio-video-followup__video { max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-video-followup video { scroll-behavior: auto; }
}

/* Front-only product cutouts sit above the ORIGINAL rack photograph. */
.preamp-showcase__photo .preamp-showcase__cutout {
  position: absolute;
  z-index: 2;
  left: 2%;
  top: 6%;
  width: 96%;
  height: 82%;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 14px, 0) scale(.96);
  pointer-events: none;
  filter: drop-shadow(0 17px 16px rgba(0,0,0,.84)) drop-shadow(0 1px 1px rgba(240,235,214,.3));
  transition: opacity 660ms ease, transform 850ms cubic-bezier(.2,.7,.2,1),
    visibility 660ms ease;
}
.preamp-showcase__photo .preamp-showcase__cutout.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}
.preamp-showcase__photo figcaption { z-index: 3; }
.preamp-showcase__credits {
  display: block;
  margin: 12px 1px 0;
  font: 400 11px/1.8 Archivo,sans-serif;
  color: #797168;
}
.preamp-showcase__credits a {
  color: #655c4f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.preamp-showcase__credits a:hover { color: #ab653a; }

@media (max-width: 1150px) and (min-width: 901px) {
  .preamp-showcase__body { grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); }
}
@media (max-width: 900px) and (min-width: 651px) {
  .preamp-showcase__card h3 { font-size: clamp(22px,3.1vw,29px); }
}
.preamp-showcase__photo .preamp-showcase__cutout[data-preamp-photo="6"] {
  left: 7%;
  top: 1%;
  width: 86%;
  height: 94%;
  object-position: center;
  filter: drop-shadow(0 22px 20px rgba(0,0,0,.85));
}

@media (max-width: 900px) {
  .preamp-showcase__channels {
    grid-template-columns: repeat(8, minmax(0,1fr));
  }
  .preamp-showcase__body { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); }
  .preamp-showcase__body,
  .preamp-showcase__stage { min-height: 430px; }
}
@media (max-width: 650px) {
  .preamp-showcase { border-radius: 11px; }
  .preamp-showcase__header { padding: 12px 16px; }
  .preamp-showcase__header small { font-size: 9px; }
  .preamp-showcase__body { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .preamp-showcase__photo { min-height: 305px; }
  .preamp-showcase__photo img.preamp-showcase__rack { object-position: center 44%; }
  .preamp-showcase__photo::after {
    background: linear-gradient(0deg,rgba(9,9,9,.86),transparent 83%);
  }
  .preamp-showcase__photo figcaption {
    left: 18px; right: 15px; bottom: 13px; font-size: 14px;
  }
  .preamp-showcase__photo .preamp-showcase__cutout {
    left: 2%; width: 96%; top: 4%; height: 78%;
  }
  .preamp-showcase__photo figcaption span { font-size: 9px; }
  .preamp-showcase__photo .preamp-showcase__cutout[data-preamp-photo="6"] {
    left: 9%; width: 82%; top: 1%; height: 96%;
  }

  .preamp-showcase__stage { min-height: 310px; }
  .preamp-showcase__card { padding: 22px 20px; gap: 15px; }
  .preamp-showcase__card h3 { font-size: 28px; line-height: 1.16; }
  .preamp-showcase__model { font-size: 16px; }
  .preamp-showcase__detail { font-size: 14px; line-height: 1.6; }
  .preamp-showcase__transport { gap: 10px; padding: 12px 16px; }
  .preamp-showcase__bar { flex-basis: 45px; }
  .preamp-showcase__position { font-size: 11px; }
  .preamp-showcase__controls { gap: 4px; }
  .preamp-showcase__controls button { min-width: 34px; height: 34px; padding: 0 7px; }
  .preamp-showcase__controls button[data-preamp-toggle] { min-width: 66px; font-size: 10px; }
  .preamp-showcase__connections { padding: 15px 16px 18px; gap: 12px; }
  .preamp-showcase__channels button { height: 34px; font-size: 11px; }
  .preamp-showcase__flow { font-size: 10px; gap: 5px; }
}
@media (max-width: 370px) {
  .preamp-showcase__stage { min-height: 336px; }
  .preamp-showcase__card h3 { font-size: 25px; }
  .preamp-showcase__bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .preamp-showcase__card,
  .preamp-showcase__bar span,
  .preamp-showcase__channels button,
  .preamp-showcase__photo img { transition: none !important; }
}
