.band-page {
  --band-paper: #f8f4ec;
  --band-ink: #211e1a;
  --band-muted: #625951;
  --band-gold: #e6b973;
  --band-rule: #d8cfc1;
  --band-serif: Georgia, "Times New Roman", serif;
  background: var(--band-paper);
  color: var(--band-ink);
}

.band-page .wrap {
  max-width: 1160px;
}

.band-page .page-header .header-nav [aria-current="page"] {
  color: var(--band-gold);
}

.band-intro,
.profile-hero {
  background: #15151c;
  color: var(--band-paper);
}

.band-intro .wrap {
  padding-block: clamp(44px, 7vw, 94px);
}

.band-intro h1,
.profile-hero h1 {
  font-family: var(--band-serif);
  font-size: clamp(46px, 7.2vw, 105px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .98;
}

.band-intro p {
  max-width: 39em;
  margin-top: 24px;
  color: #d8d1ca;
}

.band-roster {
  display: grid;
  gap: 26px;
  padding-block: clamp(30px, 6vw, 78px);
}

.band-member {
  background: #fffaf2;
  border: 1px solid var(--band-rule);
  min-width: 0;
}

.band-member-link {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  text-decoration: none;
}

.band-member img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center 34%;
}

.band-member-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 5vw, 72px);
}

.band-member h2 {
  margin: 9px 0 12px;
  font: 700 clamp(42px, 5vw, 72px)/1 var(--band-serif);
  letter-spacing: -.06em;
}

.band-member-copy > p:not(.band-role) {
  max-width: 28ch;
  color: var(--band-muted);
}

.band-role {
  color: #79511f;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .065em;
}

.band-link,
.band-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  text-underline-offset: .35em;
}

.band-link {
  text-decoration: underline;
}

.band-member .band-link {
  margin-top: 13px;
}

.band-member-link:hover .band-link {
  color: #79511f;
}

.profile-hero {
  overflow: hidden;
}

.profile-hero-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(470px, 47vw, 625px);
}

.profile-hero-copy {
  position: relative;
  z-index: 1;
  width: min(490px, 50%);
  padding-block: 38px 54px;
}

.profile-hero-layout > img {
  position: absolute;
  inset: 0 auto 0 31%;
  width: 81%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 59% 40%;
}

.profile-hero-layout::after {
  content: "";
  position: absolute;
  inset: 0 -13% 0 0;
  background: linear-gradient(90deg, #15151c 2%, #15151c 28%, #15151cd4 38%, #15151c38 52%, transparent 68%);
  pointer-events: none;
}

.band-breadcrumb {
  margin-bottom: clamp(15px, 3vw, 32px);
  color: #e4ded7;
  text-decoration: none;
}

.band-breadcrumb:hover {
  text-decoration: underline;
}

.profile-hero h1 {
  max-width: 8ch;
}

.profile-hero .band-role {
  margin-top: 20px;
  color: var(--band-gold);
}

.profile-quote {
  max-width: 26ch;
  margin-top: 22px;
  font: 400 clamp(23px, 2.5vw, 34px)/1.2 var(--band-serif);
  letter-spacing: -.03em;
  text-wrap: pretty;
}

.profile-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: 16px;
}

.profile-jump a:hover {
  color: var(--band-gold);
}

.profile-story {
  padding-block: clamp(42px, 6vw, 84px);
}

.profile-story > h2,
.profile-favorites h2,
.profile-gallery h2,
.profile-memory h2,
.profile-concerts h2 {
  font: 700 clamp(37px, 5vw, 66px)/1.02 var(--band-serif);
  letter-spacing: -.058em;
  text-wrap: balance;
}

.profile-story > h2 {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.profile-chapter {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(30px, 7vw, 96px);
  padding-block: clamp(30px, 4.2vw, 58px);
  border-top: 1px solid var(--band-rule);
}

.profile-chapter:last-child {
  padding-bottom: 0;
}

.profile-chapter-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.profile-chapter-reverse .profile-story-photo {
  order: 1;
}

.profile-story-photo img {
  width: 100%;
  height: auto;
}

.profile-story-portrait img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 81%;
}

.profile-story-photo figcaption {
  margin-top: 9px;
  color: var(--band-muted);
  font-size: 13px;
  line-height: 1.45;
}

.profile-answers {
  display: grid;
  gap: clamp(24px, 3vw, 39px);
  max-width: 55ch;
}

.profile-answers h3 {
  margin-bottom: 8px;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.2;
  letter-spacing: -.035em;
  text-wrap: pretty;
}

.profile-answers p {
  color: #443d35;
  text-wrap: pretty;
}

.profile-answers p + p {
  margin-top: .85em;
}

.profile-favorites {
  padding: clamp(24px, 4vw, 48px);
  background: #eee4d3;
  border-top: 2px solid #ad7946;
}

.profile-favorites h2 {
  font-size: clamp(34px, 4vw, 49px);
}

.profile-favorites dl {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, .95fr) minmax(0, 1.1fr);
  gap: 20px clamp(20px, 4vw, 50px);
  margin: 20px 0 0;
}

.profile-favorites dt {
  margin-bottom: 4px;
  font-weight: 750;
}

.profile-favorites dd {
  margin: 0;
  color: #443d35;
}

.profile-gallery {
  padding-block: clamp(44px, 6vw, 84px);
  background: #15151c;
  color: var(--band-paper);
}

.profile-gallery-help {
  margin-top: 9px;
  color: #d8d1ca;
}

.profile-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 18vw, 230px);
  gap: clamp(6px, 1.25vw, 14px);
  margin-top: clamp(20px, 3vw, 34px);
}

.profile-photo-grid a {
  position: relative;
  min-width: 0;
  display: block;
  overflow: hidden;
  background: #21212b;
}

.profile-photo-grid a:first-child {
  grid-column: span 2;
}

.profile-photo-grid a:last-child {
  grid-column: span 3;
}

.profile-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 39%;
  transition: transform .2s ease-out;
}

.profile-photo-grid a:hover img {
  transform: scale(1.04);
}

.profile-photo-grid img[width="480"][height="720"] {
  object-position: center 56%;
}

.profile-photo-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 3px 7px;
  color: white;
  background: #111116db;
  font-size: 11px;
  line-height: 1.4;
}

.profile-memory-inner,
.profile-concerts-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-block: clamp(38px, 5.5vw, 68px);
}

.profile-memory h2,
.profile-concerts h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.profile-memory p {
  margin-top: 10px;
  color: var(--band-muted);
}

.profile-concerts {
  background: #eee4d3;
  border-top: 1px solid var(--band-rule);
}

.profile-concerts-inner {
  row-gap: 18px;
}

.profile-lightbox:not([open]) {
  display: none;
}

.profile-lightbox {
  width: min(1060px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 24px);
  padding: 12px;
  border: 1px solid #ffffff3d;
  border-radius: 10px;
  background: #15151c;
  color: white;
}

.profile-lightbox::backdrop {
  background: #080810e8;
}

.profile-lightbox-toolbar,
.profile-lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profile-lightbox-toolbar p {
  padding-inline: 5px;
  font-size: 14px;
}

.profile-lightbox button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #ffffff62;
  border-radius: 5px;
  background: #23232d;
  color: white;
  font-size: 15px;
  font-weight: 650;
}

.profile-lightbox button:hover {
  background: #383743;
}

.profile-lightbox-frame {
  margin-block: 12px;
}

.profile-lightbox-frame img {
  width: 100%;
  height: min(64vh, 700px);
  height: min(64dvh, 700px);
  object-fit: contain;
}

.profile-lightbox-frame figcaption {
  padding-top: 4px;
  text-align: center;
  color: #e4ded7;
  font-size: 13px;
}

@media (max-width: 760px) {
  .band-member-link,
  .profile-hero-layout,
  .profile-chapter,
  .profile-favorites dl {
    grid-template-columns: 1fr;
  }

  .band-member img {
    aspect-ratio: 6 / 5;
    max-height: 420px;
  }

  .profile-hero-layout {
    width: 100%;
    min-height: auto;
  }

  .profile-hero-layout::after {
    content: none;
  }

  .profile-hero-copy {
    width: auto;
    margin-inline: 20px;
    padding-block: 15px 21px;
  }

  .profile-hero h1 {
    max-width: none;
    font-size: clamp(46px, 10vw, 72px);
  }

  .profile-hero .band-role {
    margin-top: 13px;
  }

  .band-breadcrumb,
  .profile-quote {
    margin-bottom: 5px;
  }

  .profile-quote {
    margin-top: 18px;
  }

  .profile-jump {
    margin-top: 6px;
  }

  .profile-hero-layout > img {
    position: static;
    width: 100%;
    height: auto;
    max-height: 440px;
    aspect-ratio: 3 / 2;
    object-position: 58% 40%;
  }

  .profile-chapter {
    gap: 20px;
  }

  .profile-chapter .profile-story-photo {
    order: 1;
  }

  .profile-story-portrait img {
    aspect-ratio: 5 / 4;
  }

  .profile-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(108px, 31vw, 220px);
  }

  .profile-photo-grid a:first-child {
    grid-column: auto;
  }

  .profile-photo-grid a:last-child {
    grid-column: span 2;
  }
}
