/* ==========================================================
   PORTFOLIO HOLDING PAGE (/portfolio/): "In the studio"
   Loads after pages.css (the shared fonts, colors, header and buttons).
   Only what's unique to this page lives here: the REC light,
   the equalizer and the "On the board" list.
   When the real portfolio is ready, replace this file and portfolio/index.html.
   ========================================================== */
.studio { max-width: 760px; margin: 0 auto; padding: 64px 28px 96px; }

/* The red "REC" light */
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 10px var(--red-hi); animation: rec 1.6s steps(2, jump-none) infinite; }
@keyframes rec { 50% { opacity: .25; } }

/* Equalizer: 12 bars, each with its own speed so they don't move in lockstep */
.eq { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin: 28px 0 32px; }
.eq i { width: 10px; height: 100%; background: var(--red); transform-origin: bottom; animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(3n)   { animation-duration: .8s; }
.eq i:nth-child(3n+1) { animation-duration: 1.3s; animation-delay: -.4s; }
.eq i:nth-child(4n)   { background: var(--bone); animation-delay: -.7s; }
@keyframes eq { from { transform: scaleY(.15); } to { transform: scaleY(1); } }

.lead { font-size: 21px; line-height: 1.5; margin-bottom: 28px; }
.studio > p:not(.kicker):not(.script) { max-width: 62ch; }

/* "On the board": numbered like a track sheet */
.studio .board { margin-bottom: 28px; }
.board h2 { margin-bottom: 12px; }
.board ul { list-style: none; padding: 0; counter-reset: trk; }
.board li { counter-increment: trk; display: flex; gap: 14px; padding: 10px 0; border-top: 1px dashed var(--line); }
.board li:first-child { border-top: 0; }
.board li::before { content: counter(trk, decimal-leading-zero); font: 600 13px/1.7 var(--mono); color: var(--red-hi); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

@media (max-width: 600px) { .studio { padding: 44px 20px 72px; } }
/* Respect "reduce motion": the REC light and equalizer hold still */
@media (prefers-reduced-motion: reduce) {
  .rec, .eq i { animation: none; }
  .eq i { transform: scaleY(.6); }
}
