/* KONK! — a creator's profile on THE WALL. The portrait leads; everything else is quiet type beside it. */
.profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 104px); align-items: start; }
.profile-portrait { position: sticky; top: max(clamp(20px, 5vw, 64px), env(safe-area-inset-top)); animation: wall-rise 620ms var(--wall-ease) both; }
.profile-portrait .creator-plate { max-height: calc(100dvh - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto; }
.profile-body { min-width: 0; padding-top: clamp(40px, 7vh, 84px); animation: wall-rise 620ms var(--wall-ease) 90ms both; }

.profile-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 !important; color: var(--wall-muted) !important; background: none; border: 0; font: 700 12px var(--font-body) !important; letter-spacing: .16em; text-transform: uppercase; transition: color 180ms ease; }
.profile-back::before { content: ''; width: 22px; height: 2px; background: currentColor; box-shadow: none; transition: transform 240ms var(--wall-ease); transform-origin: right; }
.profile-back:hover { color: var(--yellow) !important; }
.profile-back:hover::before { transform: scaleX(1.5); }
.profile-discipline { margin: clamp(18px, 3vw, 40px) 0 0; color: var(--yellow); font: 700 12px/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }
.profile-name { margin: 10px 0 0 -.04em; font: 400 clamp(68px, 12vw, 190px)/.83 var(--font-display); letter-spacing: -.012em; text-transform: uppercase; overflow-wrap: anywhere; }
.profile-name:focus { outline: 0; }
.profile-headline { max-width: 34ch; margin: clamp(18px, 2.4vw, 30px) 0 0; font: 500 clamp(18px, 2vw, 24px)/1.35 var(--font-body); }
.profile-bio { max-width: 56ch; margin: 18px 0 0; color: var(--wall-warm); font: 400 17px/1.65 var(--font-body); }

.profile-section { margin-top: clamp(40px, 6vw, 80px); }
.profile-section-title { margin: 0 0 clamp(16px, 2vw, 24px); padding-bottom: 12px; border-bottom: 1px solid var(--wall-hair); color: var(--wall-muted); font: 700 12px/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }

/* What they made for KONK!, hung as a row of record sleeves. */
.profile-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: clamp(20px, 2.6vw, 32px) clamp(14px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.profile-track { display: grid; gap: 12px; align-content: start; min-width: 0; }
.profile-track-cover { aspect-ratio: 1; box-shadow: 0 14px 30px rgb(0 0 0 / .42); transition: transform 500ms var(--wall-ease); }
.profile-track:hover .profile-track-cover { transform: translateY(-4px); }
.profile-track-words { display: grid; gap: 4px; min-width: 0; }
.profile-track-role { color: var(--wall-muted); font: 700 10px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.profile-track-title { font: 400 22px/1.05 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.profile-track-facts { color: var(--wall-muted); font: 500 12px/1.4 var(--font-body); }
.profile-track-playing { color: var(--yellow); font: 700 10px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.profile-track.is-playing .profile-track-cover { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* Where to find them: plain rows, the destination always in view. */
.profile-links { display: grid; }
.profile-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; min-height: 64px; padding: 10px 0; color: var(--wall-warm); border-bottom: 1px solid var(--wall-hair); text-decoration: none; transition: color 180ms ease, padding-left 320ms var(--wall-ease); }
.profile-link-label { font: 700 clamp(15px, 1.5vw, 18px)/1.25 var(--font-body); letter-spacing: .05em; }
.profile-link-host { grid-column: 1; color: var(--wall-muted); font: 500 13px/1.3 var(--font-body); overflow-wrap: anywhere; }
.profile-link svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; transition: transform 240ms var(--wall-ease); }
.profile-link:hover { color: var(--yellow); padding-left: 8px; }
.profile-link:hover svg { transform: translate(3px, -3px); }
.profile-work { display: inline-flex; align-items: center; min-height: 52px; margin-top: 22px; padding: 0 26px; color: var(--wall-ground); background: var(--wall-warm); font: 700 13px var(--font-body); letter-spacing: .16em; text-decoration: none; text-transform: uppercase; transition: background-color 180ms ease, transform 120ms var(--ease-out); }
.profile-work:hover { background: var(--yellow); }
.profile-work:active { transform: scale(.97); }

.profile-correction { margin: clamp(40px, 6vw, 72px) 0 0; color: var(--wall-muted); font: 500 13px/1.6 var(--font-body); }
.profile-correction-link { display: inline-block; min-height: 32px; color: var(--wall-warm); text-underline-offset: 3px; }
.profile-correction-link:hover { color: var(--yellow); }

@media (max-width: 760px) and (orientation: portrait) {
  .profile { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .profile-portrait { position: static; margin: 44px calc(-1 * clamp(18px, 5vw, 72px)) 0; }
  .profile-portrait .creator-plate { max-height: 68dvh; width: 100%; }
  .profile-body { padding-top: 12px; }
  .profile-name { font-size: clamp(64px, 21vw, 120px); }
  .profile-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (orientation: landscape) and (max-height: 500px) {
  .profile { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 28px; }
  .profile-portrait { top: max(14px, env(safe-area-inset-top)); }
  .profile-portrait .creator-plate { max-height: calc(100dvh - 28px); }
  .profile-body { padding-top: 0; }
  .profile-name { font-size: clamp(56px, 22vh, 104px); }
}
@media (prefers-reduced-motion: reduce) {
  .profile-portrait, .profile-body { animation: none; }
  .profile-track:hover .profile-track-cover, .profile-link:hover svg, .profile-back:hover::before { transform: none; }
  .profile-link:hover { padding-left: 0; }
}
