.opening { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; }
.opening .statement { font-size: clamp(36px, 4.6vw, 60px); }
.scroll-cue { position: absolute; left: 50%; bottom: 48px; width: 1px; height: 64px; background: linear-gradient(var(--faint), transparent); }

.section > .col + .pair, .section > .col + .row, .section > .col + .catalogue, .section > .col + .types,
.section > .col + .forge-demo, .section > .col + .albums { margin-top: 72px; }
.section > .pair + .col, .section > .row + .col, .section > .catalogue + .col, .section > .forge-demo + .col,
.section > .types + .col { margin-top: 72px; }
.section > .col + .col { margin-top: 36px; }

/* the catalogue: 49 songs as rings, seven by seven */
.catalogue { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 34px 18px; max-width: 1180px; margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.bloom { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; transition: opacity 0.25s; }
.bloom canvas { width: 100%; aspect-ratio: 1; margin-bottom: 8px; transition: transform 0.35s ease; }
.catalogue:hover .bloom { opacity: 0.4; }
.catalogue .bloom:hover, .catalogue .bloom:focus-visible { opacity: 1; }
.bloom:hover canvas { transform: scale(1.06); }
.bloom-name { font-size: 12px; line-height: 1.3; }
.bloom-no { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--faint); }

/* a song, then its stems, each playable */
.solo-piece { display: flex; justify-content: center; padding: 0 var(--gutter); }
.solo-piece .piece { width: min(320px, 100%); }
.section > .solo-piece { margin-top: 72px; }
.section > .solo-piece + .col { margin-top: 96px; }
.play-chip { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 5px 12px 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--dim); transition: color 0.2s, border-color 0.2s; }
.play-chip:hover { color: var(--fg); border-color: var(--faint); }
.play-chip i { width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.play-chip.on { color: var(--fg); border-color: var(--fg); }
.play-chip.on i { width: 7px; height: 7px; border: 0; background: currentColor; border-radius: 1px; }
.caption .play-chip { display: flex; width: fit-content; margin: 10px auto 0; }

/* stems as tokens, in a row */
.row .piece .frame { width: 100%; }

/* types */
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.type { padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 14px; outline: 1px solid var(--hair); }
.type .swatch { height: 44px; border-radius: 9px; }
.type b { font-weight: 500; font-size: 14px; }
.type span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; }

/* forge demo */
.forge-demo { display: grid; grid-template-columns: minmax(0, 240px) auto minmax(0, 240px) auto minmax(0, 240px); align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); padding: 0 var(--gutter); }
.forge-demo .op { color: var(--faint); font-size: 22px; margin-bottom: 52px; }
.forge-steps { display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start; gap: 18px 14px; padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto; }
.forge-steps .piece { width: clamp(80px, 9vw, 136px); flex: none; }
.forge-steps .op { color: var(--faint); font-size: 18px; align-self: center; margin-bottom: 52px; }
.forge-steps .op.eq { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--fg); font-size: 34px; font-weight: 300; line-height: 1; margin: 0 8px 52px; }
.forge-steps .op.eq small { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; }
.section > .col + .forge-steps, .section > .forge-steps + .col { margin-top: 72px; }

/* albums */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 0 var(--gutter); }
.album-card { padding: 28px 24px; outline: 1px solid var(--hair); display: flex; flex-direction: column; gap: 22px; transition: background 0.2s; }
.album-card:hover { background: rgba(var(--tint), 0.025); }
.album-card .name { font-size: 40px; letter-spacing: -0.02em; }
.album-card .mini { display: flex; flex-direction: column; gap: 3px; }
.album-card .mini canvas { width: 100%; height: 5px; }
.album-card .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); line-height: 1.9; }

.closing .actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .albums { grid-template-columns: 1fr; }
  .forge-demo { grid-template-columns: minmax(0, 1fr); }
  .forge-demo .op { margin: 0 auto; }
  .catalogue { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 12px; }
  .forge-steps { flex-wrap: wrap; gap: 22px 12px; }
  .forge-steps .piece { width: calc((100% - 24px) / 3); }
  .forge-steps .op { display: none; }
  .forge-steps .op.eq { display: flex; flex-basis: 100%; margin: 8px 0 0; }
}

/* ── the radio ── */
.radio { position: fixed; z-index: 40; right: 16px; bottom: 16px; width: 300px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px 12px; font-size: 13px; }
.radio .r-toggle { position: absolute; top: -13px; left: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--dim); }
.radio.closed { width: auto; padding: 0; border: 0; background: none; }
/* The on-air light sits just outside the label, so the label never changes size. */
.radio .r-live { position: absolute; top: 50%; left: calc(100% + 8px); width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 4px var(--bg); opacity: 0; transition: opacity 0.4s; }
.radio.on-air .r-live { opacity: 1; animation: on-air 4s ease-in-out infinite; }
.radio.on-air .r-toggle { color: var(--fg); }
@keyframes on-air { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .radio .r-live { animation: none; } }
.radio.closed .r-body { display: none; }
.radio.closed .r-toggle { position: relative; top: 0; left: 0; }
.r-now { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.r-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.r-title { font-size: 15px; }
.r-title:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.r-track { position: relative; height: 28px; margin: 10px 0 8px; cursor: pointer; }
.r-track canvas { width: 100%; height: 100%; }
.r-track::after { content: ""; position: absolute; top: -3px; bottom: -3px; left: var(--p, 0); width: 1px; background: var(--fg); }
.r-row { display: flex; justify-content: space-between; align-items: center; }
.r-time { font-family: var(--mono); font-size: 10px; color: var(--faint); min-width: 34px; }
.r-dur { text-align: right; }
.r-ctrl { display: flex; gap: 4px; align-items: center; }
.r-ctrl button { min-width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.r-ctrl .r-play { padding: 0 14px; color: var(--fg); }
/* Phones: a compact bar along the bottom (title and buttons, a thin ribbon underneath). */
@media (max-width: 860px) {
  .radio { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 12px 12px 10px; }
  .r-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'now ctrl' 'track track'; gap: 8px 10px; align-items: center; }
  .r-now { grid-area: now; margin: 0; min-width: 0; }
  .r-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .r-row { grid-area: ctrl; }
  .r-row .r-time { display: none; }
  .r-track { grid-area: track; height: 16px; margin: 0; }
}
