/* ============================================================================
   VOICES-RACK.CSS — §247o
   ----------------------------------------------------------------------------
   Brings the standalone Voices page onto the same rack hardware as the
   Re-Production Studio.

   HOW IT WORKS
   - voices.html now carries `class="rk-console"` on <body>, so rack.css and
     rack-console.css already skin #voice-console, the .vc-* modules, the
     .vc-bay engine well and the .sa-input mic strip. Nothing is duplicated
     here.
   - This file only adds the PAGE SHELL the studio does not have: the nameplate
     header, the console bench, the side rack panels and the responsive rules.
   - Loaded LAST. Purely additive: no id or class is renamed, no display or
     visibility is touched, no hit-testing changes.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. BENCH
   --------------------------------------------------------------------------- */
.voices-wrap {
  max-width: 1180px;
  padding: 26px 22px 8px;
}

/* ---------------------------------------------------------------------------
   2. NAMEPLATE — the hero becomes the top of the chassis
   --------------------------------------------------------------------------- */
.voices-hero {
  position: relative;
  max-width: none;
  margin: 0 0 18px;
  padding: 20px 22px 18px;
  border: 1px solid var(--rk-edge);
  border-radius: 14px;
  background:
    /* four screw heads */
    radial-gradient(circle at 13px 13px, #4a5364 0 2.1px, #0a0c10 2.1px 3.3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 13px) 13px, #4a5364 0 2.1px, #0a0c10 2.1px 3.3px, transparent 3.5px),
    radial-gradient(circle at 13px calc(100% - 13px), #4a5364 0 2.1px, #0a0c10 2.1px 3.3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 13px) calc(100% - 13px), #4a5364 0 2.1px, #0a0c10 2.1px 3.3px, transparent 3.5px),
    /* brushed grain */
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .015) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #272c36 0%, #1c2028 44%, #14171d 100%);
  box-shadow:
    inset 0 1px 0 var(--rk-hi),
    inset 0 -1px 0 rgba(0, 0, 0, .55),
    0 12px 28px rgba(0, 0, 0, .45);
}

/* Silkscreened eyebrow, with a power LED. */
.voices-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #c9d0dc;
}
.voices-hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rk-phos);
  box-shadow: 0 0 7px rgba(53, 255, 158, .9);
}

.voices-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(1.5rem, 3.1vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: #eef1f5;
}
.voices-hero h1 .grad {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--rk-amber);
}

.voices-hero .lead {
  max-width: 780px;
  margin: 0;
  font-size: .94rem;
  line-height: 1.5;
  color: #9aa3b2;
}

.voices-hero-ctas { margin: 16px 0 0; gap: 10px; }
.voices-hero-note {
  margin: 10px 0 0;
  font-size: .82rem;
  color: #6d7686;
}

/* ---------------------------------------------------------------------------
   3. CONSOLE BENCH — the two-column area sits on the chassis
   --------------------------------------------------------------------------- */
.voices-grid {
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 16px;
}

/* The console itself is skinned by rack-console.css; only the outer spacing
   needs a nudge so it lines up with the nameplate above. */
.voices-main .voice-console { margin: 0; }

/* The sub-heading is the one paragraph that survived the studio's "less copy"
   pass — keep it as a small engraved caption rather than body text. */
.voices-main #voice-console > .vc-sub {
  margin: 0 0 12px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #7d8697;
}

/* Per-module engraved tags. rack-console.css hard-codes VC-1 for every
   .vc-match; on this page each module carries its own plate. */
body.rk-console #voice-console .vc-match::after { content: attr(data-tag); }

/* The guided-capture module keeps an amber tint (it is the "no singing" path). */
body.rk-console #voice-console .vc-match.is-guided {
  border-color: rgba(255, 107, 53, .3);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 3px),
    radial-gradient(420px 140px at 100% -40%, rgba(255, 107, 53, .13), transparent 62%),
    linear-gradient(180deg, #242932 0%, #1a1e26 58%, #151920 100%);
}

/* ---------------------------------------------------------------------------
   4. SIDE RACK — the three aside cards become bolted sub-panels
   --------------------------------------------------------------------------- */
.voices-side { gap: 12px; top: 78px; }

.side-card {
  position: relative;
  padding: 13px 14px 13px;
  border: 1px solid var(--rk-edge);
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #20252e 0%, #171b22 100%);
  box-shadow:
    inset 0 1px 0 var(--rk-hi),
    inset 0 -1px 0 rgba(0, 0, 0, .45),
    0 3px 10px rgba(0, 0, 0, .32);
}

/* Silkscreened header bar, bleeding to the panel edges. */
.side-card h3 {
  margin: -13px -14px 11px;
  padding: 8px 14px 7px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #9aa3b2;
  background: linear-gradient(180deg, #2d333e 0%, #232833 55%, #1e222a 100%);
  border-bottom: 1px solid #0a0c10;
  box-shadow: inset 0 1px 0 var(--rk-hi-2);
  display: flex;
  align-items: center;
  gap: 7px;
}
.side-card h3::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f6b4c;
  box-shadow: 0 0 5px rgba(53, 255, 158, .45);
}

.side-card p { font-size: .84rem; line-height: 1.45; color: #8e97a6; }

.voices-steps,
.voices-tips { padding-left: 16px; margin: 0; }
.voices-steps li,
.voices-tips li {
  margin: 0 0 7px;
  font-size: .82rem;
  line-height: 1.4;
  color: #8e97a6;
}
.voices-steps li b,
.voices-tips li b { color: #d5dae3; }

/* The CTA panel keeps an amber key light, like the studio's primary module. */
.side-cta {
  border-color: rgba(255, 107, 53, .3);
  background:
    radial-gradient(320px 120px at 100% -40%, rgba(255, 107, 53, .13), transparent 62%),
    linear-gradient(180deg, #20252e 0%, #171b22 100%);
}
.side-cta h3::before {
  background: var(--rk-amber);
  box-shadow: 0 0 6px rgba(255, 107, 53, .8);
}

/* ---------------------------------------------------------------------------
   5. BUTTONS on this page — match the studio's rack keys
   --------------------------------------------------------------------------- */
body.rk-console .voices-hero .btn,
body.rk-console .voices-side .btn {
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 9px 14px;
}
body.rk-console .voices-hero .btn-primary,
body.rk-console .voices-side .btn-primary {
  background: linear-gradient(180deg, #ff9a5e 0%, #ff6b35 52%, #dd541d 100%);
  border-color: #b8461a;
  color: #1a0d05;
  box-shadow: 0 2px 10px rgba(255, 107, 53, .22), inset 0 1px 0 rgba(255, 255, 255, .28);
}
body.rk-console .voices-hero .btn-ghost {
  background: linear-gradient(180deg, #232833, #1b1f27);
  border-color: var(--border);
  color: var(--text-dim);
}
body.rk-console .voices-hero .btn-ghost:hover { color: var(--text); border-color: rgba(53, 194, 255, .45); }

/* ---------------------------------------------------------------------------
   6. RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .voices-grid { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 900px) {
  .voices-grid { grid-template-columns: 1fr; }
  .voices-side { position: static; }
}
@media (max-width: 760px) {
  .voices-wrap { padding: 18px 14px 6px; }
  .voices-hero { padding: 16px 15px 14px; border-radius: 12px; }
  .voices-hero-ctas .btn { width: 100%; }
  .side-card h3 { margin: -13px -14px 10px; }
}
