/* mentalshift23 — page layout. Uses tokens.css + mentalshift.css (Mental Shift design system). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: var(--stroke-rule) solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--stark); color: var(--on-stark); padding: 12px 16px; }

.wrap { max-width: 1312px; margin: 0 auto; padding-inline: 32px; }
.overline { margin: 0; font: 700 12px/16px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -.02em; }
.btn-link { text-decoration: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 5; background: var(--ground); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 9999px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 24px; font: 700 12px/16px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.nav__links a { text-decoration: none; padding: 14px 0; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav .ms-btn { height: 44px; }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-block: 96px 48px; }
.hero__text { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 5.4vw, 80px); line-height: .95; letter-spacing: -.03em; }
.lead { margin: 0; max-width: 34rem; font-size: 20px; line-height: 30px; color: var(--ink-muted); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { flex: 1 1 360px; min-width: 0; }
.hero__art .ms-pat { height: 440px; --p: var(--pitch-coarse); }
.hero__art .ms-pat__body { display: flex; align-items: center; justify-content: center; }
.hero__art .ms-pat__body img { width: 168px; height: 168px; border-radius: 9999px; box-shadow: 0 0 0 12px var(--ground); }
.skyline { padding-bottom: 96px; }
.skyline .ms-wave { height: 72px; }
.skyline .ms-wave__bar { background: var(--ink); }

/* release */
.release { background: var(--depth); color: var(--on-depth); padding-block: 96px; }
.release .overline { color: var(--on-depth); }
.release__in { max-width: 1024px; margin: 0 auto; padding-inline: 32px; display: flex; flex-direction: column; gap: 32px; }
.release .ms-facet { padding: 40px; }
.release__body { display: flex; flex-direction: column; gap: 24px; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.release h2.ms-prism-text { font-size: clamp(30px, 3.6vw, 46px); }
.release p.desc { margin: 0; max-width: 40rem; font-size: 18px; line-height: 28px; color: var(--ink-muted); }

/* SoundCloud players */
.player { position: relative; background: var(--stark); padding: 4px; }
.player iframe { display: block; width: 100%; border: 0; background: #ffffff; }
.player--track iframe { height: 166px; }
.player--profile iframe { height: 450px; }
.player__note { margin: 8px 0 0; font: 400 13px/20px var(--font-mono); color: var(--ink-muted); }
.player__note a { color: inherit; }

/* tracks */
.tracks { padding-block: 96px; display: flex; flex-direction: column; gap: 32px; }
.tracks__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tracks__head > div { display: flex; flex-direction: column; gap: 8px; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pick { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--surface); }
.pick:hover { background: var(--surface-2); }
.pick .ms-pat { width: 56px; height: 56px; --p: var(--pitch-fine); }
.pick b { display: block; font: 700 16px/1.25 var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick small { display: block; margin-top: 4px; font: 400 12px/18px var(--font-mono); color: var(--ink-muted); }
.pick__meta { min-width: 0; }

/* sound */
.sound { border-top: 1px solid var(--line); }
.sound__in { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-block: 96px; }
.sound__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sound h2 { margin: 0; font-family: var(--font-poster); font-weight: 400; font-size: clamp(48px, 6vw, 88px); line-height: .9; letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; }
.sound p { margin: 0; font-size: 18px; line-height: 28px; }
.sound p.muted { color: var(--ink-muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats div { background: var(--ground); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; }
.stats span { font: 400 13px/20px var(--font-mono); color: var(--ink-muted); }
.sound__img { flex: 1 1 520px; min-width: 0; }
.sound__img img { width: 100%; height: auto; box-shadow: var(--offset-hard); }
.band { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.band .ms-pat { height: 140px; }

/* contact */
.contact { background: var(--surface); }
.contact__in { padding-block: 96px; display: flex; flex-direction: column; gap: 48px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 2px solid var(--line-strong); background: var(--ground); min-height: 160px; transition: transform .12s steps(2), box-shadow .12s steps(2); }
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--offset-hard); }
.card__k { font: 700 12px/16px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.card__t { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; flex-grow: 1; }
.card__u { font: 400 14px/20px var(--font-mono); overflow-wrap: anywhere; }
.card--prism { border-color: transparent; background: linear-gradient(var(--ground), var(--ground)) padding-box, var(--ms-prism-conic) border-box; box-shadow: var(--glow-prism); }
.card--prism:hover { transform: skewX(var(--shift-angle)); box-shadow: var(--glow-prism); }
.card--prism .ms-tag { align-self: flex-start; }
.card--prism .card__t { font-weight: 800; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 32px; }
.foot img { width: 48px; height: 48px; }
.foot span { font: 400 13px/20px var(--font-mono); color: var(--ink-muted); flex-grow: 1; }
.foot a { font: 700 12px/16px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; padding: 14px 0; }

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  .wrap, .release__in { padding-inline: 16px; }
  .nav__in { flex-wrap: wrap; gap: 8px 16px; padding-block: 8px; }
  .nav__links { order: 3; width: 100%; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: .12em; }
  .nav__links a { padding: 10px 0; }
  .hero { gap: 40px; padding-block: 48px 32px; }
  .hero__text { flex-basis: 100%; }
  .hero__art { flex-basis: 100%; }
  .hero__art .ms-pat { height: 300px; }
  .hero__art .ms-pat__body img { width: 120px; height: 120px; box-shadow: 0 0 0 8px var(--ground); }
  .lead { font-size: 18px; line-height: 28px; }
  .btns .ms-btn { flex: 1 1 100%; justify-content: center; }
  .skyline { padding-bottom: 64px; }
  .skyline .ms-wave { height: 48px; gap: 1px; }
  .release, .tracks, .sound__in, .contact__in { padding-block: 64px; }
  .release .ms-facet { padding: 24px 20px; }
  .release .ms-prism-text--glitch::before, .release .ms-prism-text--glitch::after { content: none; }
  .release .ms-prism-text--glitch { text-shadow: var(--chroma-split); }
  .release .btns .ms-btn { flex: 1 1 100%; justify-content: center; }
  .player--profile iframe { height: 400px; }
  .sound__in { gap: 40px; }
  .sound__text, .sound__img { flex-basis: 100%; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats div { padding: 14px 12px; }
  .stats strong { font-size: 22px; }
  .stats span { font-size: 11px; }
  .band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band .ms-pat { height: 96px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .card--prism { transition: none; } }
.release .ms-prism-text--glitch::before, .release .ms-prism-text--glitch::after { background: var(--surface); }
