/* ============================================================
   Fan page
   Every color, radius and face here is a token the admin writes.
   Nothing below hardcodes a brand value except platform hues.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* --- browser surfaces we did not draw, themed anyway ------------------- */
::selection { background: var(--accent); color: var(--on-accent); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }
:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
input { caret-color: var(--accent-text); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

img, svg { display: block; max-width: 100%; }
/* Author rules beat the UA sheet, so display:block above would un-hide any
   [hidden] image. This puts the attribute back in charge. */
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }

/* --- page ground ------------------------------------------------------- */

.page {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* Background treatments the artist chooses between. */
.page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
}
.page::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
[data-background="gradient"] .page::after {
  opacity: 1;
  background:
    radial-gradient(120% 70% at 50% -10%, var(--accent-soft), transparent 70%),
    radial-gradient(90% 55% at 100% 105%, var(--accent-soft), transparent 72%);
}
[data-background="grain"] .page::after {
  opacity: 1;
  background-image:
    radial-gradient(110% 60% at 50% -8%, var(--sheen), transparent 68%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  background-size: auto, 140px 140px;
  mix-blend-mode: overlay;
}
[data-mode="light"][data-background="grain"] .page::after { opacity: .5; }

/* --- column ------------------------------------------------------------ */

.shell {
  width: 100%;
  max-width: 552px;
  margin-inline: auto;
  padding-inline: 20px;
}
[data-width="wide"] .shell { max-width: 720px; }
[data-width="narrow"] .shell { max-width: 460px; }

/* --- masthead ---------------------------------------------------------- */

.masthead {
  position: relative;
  isolation: isolate;
  margin-bottom: 26px;
  /* Full-bleed on a phone, inside the column on desktop. The photograph is
     the artist's own asset; on the device it should own the whole width. */
  margin-inline: -20px;
}
@media (min-width: 600px) {
  .masthead { margin-inline: 0; }
  .masthead__media { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

.masthead__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 62svh;
  overflow: hidden;
  background: var(--surface-2);
}
.masthead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--header-focus, 50% 40%);
  /* A slow settle out of a slight scale. The photograph is the first thing
     the fan sees; it should arrive rather than snap. */
  transform: scale(1.04);
  filter: saturate(1.02);
}
.masthead__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      color-mix(in srgb, var(--bg) 34%, transparent) 0%,
      transparent 26%,
      transparent 42%,
      color-mix(in srgb, var(--bg) 62%, transparent) 68%,
      var(--bg) 97%);
}

/* No photo: the name carries the top on its own. */
.masthead[data-style="none"] .masthead__media { display: none; }
.masthead[data-style="none"] { padding-top: 56px; }

.masthead[data-style="gradient"] .masthead__media {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(90% 120% at 30% 0%, var(--accent-soft), transparent 68%),
    linear-gradient(160deg, var(--surface-3), var(--surface));
}
.masthead[data-style="gradient"] .masthead__media img { display: none; }

.masthead__id {
  position: relative;
  z-index: 2;
  margin-top: -68px;
  text-align: center;
}
.masthead[data-style="none"] .masthead__id { margin-top: 0; }

.avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 2px solid var(--bg);
  box-shadow: var(--shadow-md);
  background: var(--surface-2);
}
.avatar[data-shape="circle"] { border-radius: 50%; }
.avatar[data-shape="rounded"] { border-radius: var(--radius-lg); }
.avatar[data-shape="square"] { border-radius: 0; }

.artist {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9.5vw, 2.85rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.tagline {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bio {
  margin: 14px auto 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: .95rem;
  text-wrap: pretty;
}

/* --- shared section furniture ------------------------------------------ */

main { flex: 1; padding-bottom: 8px; }

.section { margin-top: 44px; }
.section:first-child { margin-top: 0; }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section__title {
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  /* --faint is mixed 66% toward the background, which leaves a 12px uppercase
     label around 2.8:1 on a dark theme — legible only if you know it is
     there. Section headings carry real information, so they use the same
     tone as other secondary text. */
  color: var(--muted);
}
.section__meta {
  font-size: .75rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* --- release ----------------------------------------------------------- */

.release {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

/* The artist's own wording for "pre-save" / "out now" — now lives inside the
   card it describes instead of floating above it. */
.release__kicker {
  margin: 0 0 12px;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.release__top {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
}
.release__art {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface-3);
  box-shadow: var(--shadow-md);
}
.release__type {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.release__title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.release__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 7px 0 0;
}
.release__when {
  font-size: .82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.release__countdown {
  flex: none;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.release__note {
  margin: 4px 0 0;
  font-size: .8rem;
  color: var(--faint);
  text-wrap: pretty;
}

.release__grid {
  margin-top: 16px;
  display: grid;
  /* One per row on a phone. Two 150px-wide buttons side by side truncate the
     service name and leave a thumb aiming at half a target; the desktop rule
     at 940px is where two-up earns its place. */
  grid-template-columns: 1fr;
  gap: 9px;
}

.dsp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: .855rem;
  font-weight: 650;
  letter-spacing: -0.012em;
  text-decoration: none;
  background: var(--accent);
  border: 1px solid transparent;
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
  transition: transform .16s cubic-bezier(.2,.8,.3,1), box-shadow .16s ease, opacity .16s ease;
}
.dsp svg { flex: none; }
.dsp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dsp:hover { box-shadow: var(--shadow-md); opacity: .93; }
.dsp:active { transform: scale(.982); }
[data-icons="brand"] .dsp svg { color: var(--brand, currentColor); }

/* --- link buttons ------------------------------------------------------ */

.links { display: grid; gap: 10px; grid-template-columns: 1fr; }

.link {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr 20px;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.008em;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), background .18s ease,
              border-color .18s ease, box-shadow .18s ease;
  will-change: transform;
}
.link__icon { display: flex; align-items: center; justify-content: center; }
[data-icons="brand"] .link__icon { color: var(--brand, currentColor); }
.link__body { min-width: 0; }
.link__label { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link__note {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  opacity: .62;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link__go { opacity: 0; transform: translateX(-4px); transition: opacity .18s ease, transform .18s ease; }
.link:hover .link__go, .link:focus-visible .link__go { opacity: .55; transform: translateX(0); }
.link:active { transform: scale(.985); }

/* Button styles the artist picks between. */
[data-button="solid"] .link {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}
[data-button="solid"] .link:hover { box-shadow: var(--shadow-md); }

[data-button="outline"] .link {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
[data-button="outline"] .link:hover { border-color: var(--accent); background: var(--accent-soft); }

[data-button="soft"] .link {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
[data-button="soft"] .link:hover { background: var(--surface-2); box-shadow: var(--shadow-md); }

[data-button="glass"] .link {
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: var(--text);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-sm);
}
[data-button="glass"] .link:hover { background: color-mix(in srgb, var(--surface) 78%, transparent); }

/* --- social icon row --------------------------------------------------- */

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}
.social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  transition: color .16s ease, background .16s ease, transform .16s cubic-bezier(.2,.8,.3,1);
}
.social:hover { color: var(--text); background: var(--surface-2); }
.social:active { transform: scale(.92); }
[data-icons="brand"] .social:hover { color: var(--brand, var(--text)); }

/* --- tour -------------------------------------------------------------- */

.tour__list { list-style: none; margin: 0; padding: 0; }
.date {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 2px;
  border-top: 1px solid var(--line);
}
.date:last-child { border-bottom: 1px solid var(--line); }
.date__when { text-align: center; font-variant-numeric: tabular-nums; }
.date__mon {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.date__day { display: block; font-size: 1.28rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.date__where { min-width: 0; }
.date__city { font-weight: 600; font-size: .97rem; }
.date__venue {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.date__sub {
  display: block;
  font-size: .76rem;
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.date__city {
  display: block;
  /* Keeps a long city name, or the dev placeholder badge, on one line instead
     of wrapping and making every row a different height. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section__sub {
  margin: -6px 0 14px;
  font-size: .84rem;
  color: var(--muted);
  text-wrap: pretty;
}
.date__cta {
  flex: none;
  padding: 9px 15px;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: var(--on-accent);
  transition: transform .16s cubic-bezier(.2,.8,.3,1), opacity .16s ease;
}
.date__cta:hover { opacity: .88; }
/* Low tickets reads as urgency, so it keeps the accent but adds a ring rather
   than becoming a second solid colour competing with the primary button. */
.date__cta[data-low="true"] {
  background: transparent;
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.date__cta[data-low="true"]:hover { background: var(--accent-soft); opacity: 1; }
.date__cta:active { transform: scale(.96); }
.date__soldout {
  flex: none;
  padding: 9px 15px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 99px;
}
.empty { color: var(--muted); font-size: .9rem; padding: 16px 0; }

/* --- subscribe --------------------------------------------------------- */

.subscribe {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.subscribe__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.018em;
}
.subscribe__note { margin: 6px 0 14px; font-size: .85rem; color: var(--muted); text-wrap: pretty; }
.subscribe__row { display: flex; gap: 8px; }
.subscribe input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.subscribe input::placeholder { color: var(--muted); }
.subscribe input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.subscribe button {
  flex: none;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .16s cubic-bezier(.2,.8,.3,1), opacity .16s ease;
}
.subscribe button:hover:not(:disabled) { opacity: .9; }
.subscribe button:active:not(:disabled) { transform: scale(.97); }
.subscribe button:disabled { opacity: .55; cursor: default; }
.subscribe button .spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.formnote { margin: 10px 0 0; font-size: .82rem; min-height: 1.2em; }
.formnote[data-state="error"] { color: #ff8a7a; }
[data-mode="light"] .formnote[data-state="error"] { color: #b4291a; }
.formnote[data-state="ok"] { color: var(--accent-text); }

/* --- footer ------------------------------------------------------------ */

.foot {
  margin-top: 46px;
  padding: 24px 0 34px;
  text-align: center;
}
.foot__tools { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 550;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s cubic-bezier(.2,.8,.3,1);
}
.tool:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface); }
.tool:active { transform: scale(.96); }
.foot__credit { font-size: .74rem; color: var(--faint); }

/* --- QR sheet ---------------------------------------------------------- */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.sheet[data-open="true"] { opacity: 1; visibility: visible; }
.sheet__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transform: translateY(10px) scale(.98);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.sheet[data-open="true"] .sheet__card { transform: none; }
.sheet__card canvas, .sheet__card svg.qr { margin: 0 auto 14px; border-radius: var(--radius-sm); }
.sheet__url { font-size: .8rem; color: var(--muted); word-break: break-all; max-width: 240px; margin: 0 auto 14px; }

/* --- cookie consent ----------------------------------------------------- */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .32s cubic-bezier(.16,1,.3,1), transform .38s cubic-bezier(.16,1,.3,1);
}
.consent.is-open { opacity: 1; transform: none; }
.consent__text { flex: 1 1 280px; margin: 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.consent__actions { display: flex; gap: 8px; margin-left: auto; }
.consent__btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 99px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s cubic-bezier(.2,.8,.3,1), opacity .16s ease;
}
.consent__btn:hover { opacity: .9; }
.consent__btn:active { transform: scale(.96); }
.consent__btn--ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.consent__btn--ghost:hover { color: var(--text); border-color: var(--line-strong); opacity: 1; }
.consent__manage {
  display: block;
  margin: 6px auto 0;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: .74rem;
  color: var(--faint);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.consent__manage:hover { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .consent { transition: opacity .16s ease; transform: none; }
}

/* --- entrance: one authored moment ------------------------------------ */
/* Content is visible by default. JS opts in, so a failed script never
   leaves a blank page. */

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.shown {
  opacity: 1;
  transform: none;
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0ms);
}
.js .masthead__media img { transition: transform 1.5s cubic-bezier(.16,1,.3,1), filter 1.2s ease; }
.js.ready .masthead__media img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.shown { opacity: 1; transform: none; transition: none; }
  .js .masthead__media img { transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- placeholder marker ------------------------------------------------ */
.badge-ph {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  vertical-align: middle;
  background: var(--accent-soft);
  color: var(--accent-text);
  border: 1px solid var(--accent-line);
}
body[data-show-placeholders="false"] .badge-ph { display: none; }

@media (min-width: 620px) {
  .section { margin-top: 52px; }
}

/* ============================================================
   Desktop: a two-column page, not a phone in a window.
   The identity holds the left rail and stays put; the actions scroll on the
   right. Scrolling is preserved because a link page is still a list.
   ============================================================ */

@media (min-width: 940px) {
  [data-width="normal"] .shell,
  [data-width="narrow"] .shell { max-width: 1120px; }
  [data-width="wide"] .shell   { max-width: 1280px; }

  .shell {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 5vw, 76px);
    align-items: start;
    padding-inline: 40px;
    padding-block: 40px 0;
  }

  .masthead {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 40px;
    margin-bottom: 0;
    text-align: left;
  }
  .masthead__media {
    aspect-ratio: 4 / 5;
    max-height: min(58svh, 520px);
    border-radius: var(--radius-lg);
  }
  /* The scrim exists to seat the name over the photo on a phone. In the rail
     the name sits below the image, so the photo stays clean. */
  .masthead__media::after {
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--bg) 22%, transparent) 0%, transparent 30%);
  }
  .masthead__id {
    margin-top: 22px;
    text-align: left;
  }
  .avatar { margin: 0 0 14px; }
  .artist { font-size: clamp(2.1rem, 2.9vw, 3.1rem); }
  .bio { margin-inline: 0; max-width: 36ch; }

  main { grid-column: 2; grid-row: 1 / span 2; padding-bottom: 40px; }
  .section:first-child { margin-top: 4px; }

  .foot {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    position: sticky;
    bottom: 0;
    margin-top: 26px;
    padding: 20px 0 34px;
    text-align: left;
    background: linear-gradient(to top, var(--bg) 62%, transparent);
  }
  .foot__tools { justify-content: flex-start; }

  /* More horizontal room means more per row, not just longer rows. */
  .release__top { grid-template-columns: 128px 1fr; gap: 20px; }
  .release__art { width: 128px; height: 128px; }
  .release { padding: 22px; }
  /* Two across, matching the link grid below it. One rhythm down the whole
     right column beats each section picking its own column count. */
  .release__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release__title { font-size: 1.7rem; }

  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .socials { justify-content: flex-start; }

  .date { grid-template-columns: 60px 1fr auto; padding: 17px 2px; }
  .subscribe { padding: 24px; }
}

/* A very wide rail would stretch link rows into banners, so the right column
   is capped and the extra width goes to the gutter. */
@media (min-width: 1400px) {
  main { max-width: 760px; }
}
