/* The band: a quiet grid of portraits, one page per person */
:root { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }

.tm {
  flex: none; width: 100%; max-width: 1600px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(230px, 21%) minmax(0, 1fr);
  gap: 2rem clamp(1.5rem, 3.5vw, 3.5rem); align-items: start;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2.5vw, 2rem) 6rem;
}

/* ── left column ── */
.tm-left { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.tm-left.is-sticky { position: sticky; top: 1.75rem; }
.tm-right { min-width: 0; }
.tm-side { display: flex; flex-direction: column; gap: 1.8rem; min-width: 0; }
.tm-title {
  display: block; margin: 0; color: var(--text-primary); text-decoration: none;
  font-family: var(--font-serif); font-weight: 400; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: .88;
}
.tm-lead { margin: 0; max-width: 32ch; font-family: var(--font-family); font-size: .86rem; font-weight: 300; line-height: 1.75; color: var(--text-secondary); }
.tm-label { display: block; margin: 0 0 .7rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.tm-names { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.tm-names a, .tm-names span {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; text-transform: uppercase;
  color: var(--text-secondary); text-decoration: none; transition: color .2s ease;
}
.tm-names a { color: var(--text-primary); }
.tm-names a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tm-collab { display: flex; justify-content: center; margin-top: 1.8rem; text-align: center; }
.tm-collab-note { margin: .7rem 0 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; line-height: 1.6; text-transform: uppercase; color: var(--text-secondary); }
.tm-names [aria-current] { color: var(--text-primary); text-decoration: underline; text-underline-offset: 4px; }

/* ── the grid ── */
.tm-main { min-width: 0; }
.tm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem 1rem; }
.tm-grid > li { animation: tmRise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(min(var(--i, 0), 8) * 70ms); }
@keyframes tmRise { from { opacity: 0; transform: translateY(18px); } }

.tile { display: block; color: var(--text-primary); text-decoration: none; }
.tile-img { display: block; aspect-ratio: 1; overflow: hidden; background: #0d0d0d; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); transition: filter .5s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.tile-img img.ph { object-fit: contain; padding: 32%; filter: none; opacity: .2; mix-blend-mode: screen; }
a.tile:hover .tile-img img:not(.ph), a.tile:focus-visible .tile-img img:not(.ph) { filter: none; transform: scale(1.035); }
.tile-name { display: block; margin-top: .6rem; font-family: var(--mono); font-size: .9rem; letter-spacing: .01em; }
a.tile:hover .tile-name { text-decoration: underline; text-underline-offset: 4px; }
.tile-tag { display: block; margin-top: .15rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }

.tile--invite .tile-img { display: grid; place-items: center; background: transparent; border: 1px dashed rgba(240, 232, 216, .32); transition: border-color .3s ease, background .3s ease; }
.tile--invite .tile-img svg { width: 22%; fill: none; stroke: rgba(240, 232, 216, .5); stroke-width: 1.2; stroke-linecap: round; transition: stroke .3s ease; }
.tile--invite:hover .tile-img, .tile--invite:focus-visible .tile-img { border-color: rgba(240, 232, 216, .7); background: rgba(255, 248, 238, .04); }
.tile--invite:hover .tile-img svg { stroke: var(--text-primary); }

/* ── buttons & contact ── */
.tm-btn, .tm-btn--ghost {
  display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; text-decoration: none; border-radius: 3px;
  font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .9rem 1.25rem; transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}
.tm-btn { background: var(--text-primary); color: #000; border: 1px solid var(--text-primary); }
.tm-btn:hover { opacity: .85; }
.tm-btn--ghost { background: transparent; color: var(--text-primary); border: 1px solid rgba(240, 232, 216, .35); }
.tm-btn--ghost:hover { border-color: rgba(240, 232, 216, .75); background: rgba(255, 248, 238, .06); }


/* ── a profile ── */
.mp { min-width: 0; }
.mp-back { display: inline-block; margin-bottom: 1.6rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); text-decoration: none; transition: color .2s ease; }
.mp-back:hover { color: var(--text-primary); }
.mp-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.mp-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #0d0d0d; animation: tmRise .8s cubic-bezier(.2, .7, .2, 1) both; }
.mp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); transition: filter .6s ease; }
.mp-photo:hover img:not(.ph) { filter: none; }
.mp-photo img.ph { object-fit: contain; padding: 28%; filter: none; opacity: .45; }
.mp-info { animation: tmRise .8s cubic-bezier(.2, .7, .2, 1) .12s both; }
.mp-role { margin: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); line-height: 1.7; }
.mp-name { margin: .8rem 0 1.6rem; font-family: var(--font-serif); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(3.2rem, 6.4vw, 6rem); line-height: .9; color: var(--text-primary); }
.mp-bio { margin: 0 0 2rem; max-width: 54ch; font-family: var(--font-family); font-size: 1rem; line-height: 1.85; color: var(--text-secondary); }
.mp-stats { display: flex; flex-wrap: wrap; gap: 1rem 2.8rem; margin: 0 0 2.2rem; padding: 1.3rem 0 0; border-top: 1px solid var(--border); }
.mp-stats div { display: flex; flex-direction: column; gap: .25rem; }
.mp-stats dt { order: 0; margin: 0; font-family: var(--font-serif); font-size: 2.4rem; line-height: 1; color: var(--text-primary); }
.mp-stats dd { order: 1; margin: 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.mp-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.mp-credits { margin-top: 4.5rem; }
.mp-credits ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.mp-credits a {
  display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 1.05rem .3rem;
  border-bottom: 1px solid var(--border); text-decoration: none; transition: background .2s ease, padding .25s ease;
}
.mp-credits a:hover { background: rgba(255, 248, 238, .05); padding-left: .8rem; }
.mp-credits .y { font-family: var(--mono); font-size: .8rem; color: var(--text-muted); }
.mp-credits .t { font-family: var(--font-family); font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.mp-credits .r { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); text-align: right; }

/* ── responsive ── */
@media (max-width: 1100px) {
  .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-top { grid-template-columns: 1fr; }
  .mp-photo { max-width: 460px; }
}
@media (max-width: 860px) {
  .tm { grid-template-columns: 1fr; gap: 1.8rem; padding-bottom: 5rem; }
  .tm-left, .tm-right { display: contents; }
  .tm-side { order: 1; gap: 1.2rem; }
  .tm-main, .mp { order: 2; }
  .tm-roll { order: 3; margin-top: 1.2rem; }
  .tm-names { column-count: 2; column-gap: 1.2rem; display: block; }
  .tm-names li { break-inside: avoid; padding: .12rem 0; }
  .tm-title { font-size: clamp(3.6rem, 16vw, 5.4rem); }
  .tm-lead { max-width: 46ch; }
  .mp-credits a { grid-template-columns: 3.6rem minmax(0, 1fr); }
  .mp-credits .r { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-grid > li, .mp-photo, .mp-info { animation: none; }
  .tile-img img, .mp-photo img { transition: none; }
}
