@import url("./about-layout-core.css?v=20261005-dialog1");

/* Large band profiles */
#line-up .members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin-inline: auto;
  contain: layout style;
}
#line-up .member-card {
  padding: 0;
  height: auto;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(139, 73, 224, 0.78);
  border-radius: 18px;
  background: #0d0920;
  box-shadow:
    0 16px 38px rgba(2, 0, 10, 0.22),
    inset 0 0 0 1px rgba(223, 178, 255, 0.025);
  text-align: center;
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
#line-up .member-card summary {
  display: block;
  padding: 0;
  cursor: pointer;
  list-style: none;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.14s ease;
}
@media (hover: hover) and (pointer: fine) {
  #line-up .member-card summary:hover .member-portrait img {
    transform: none;
  }
}
#line-up .member-card summary:active {
  opacity: 0.92;
}
#line-up .member-card summary .member-portrait img {
  transition: transform 0.28s ease;
}
#line-up .member-card summary:focus-visible {
  outline: 3px solid #dfb2ff;
  outline-offset: -5px;
  border-radius: 18px;
}
#line-up .member-card summary::-webkit-details-marker {
  display: none;
}
#line-up .member-card summary::marker {
  content: "";
}
#line-up .member-portrait {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0d0920;
  contain: paint;
}
#line-up .member-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  filter: none;
  transform: none;
}
#line-up .member-bio {
  margin: 0 24px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(223, 178, 255, 0.18);
  text-align: left;
}
#line-up .member-bio p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}
#line-up .member-bio p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  #story {
    padding-top: var(--page-section-y, clamp(48px, 5vw, 72px)) !important;
    padding-bottom: var(--page-section-y, clamp(48px, 5vw, 72px)) !important;
  }
  #story > .wrap {
    width: min(calc(100% - clamp(64px, 8vw, 120px)), 1120px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    grid-template-areas: "heading glance" "copy glance";
    /* The glance panel spans both rows; give any extra height to the copy
       row so the lead stays directly beneath its heading. */
    grid-template-rows: auto 1fr;
    column-gap: clamp(52px, 6vw, 76px);
    align-items: start;
  }
  #story .section-head {
    grid-area: heading;
    align-self: start;
    margin: 0 0 24px !important;
  }
  #story .two-col {
    display: contents;
  }
  #story .two-col > div:first-child {
    grid-area: copy;
    align-self: start;
    padding-top: 0;
  }
  #story .section-lead {
    max-width: 56ch;
    margin: 0;
    font-size: 1rem !important;
    line-height: 1.62 !important;
  }
  #story .section-actions {
    margin-top: 22px;
  }
  #story .section-actions .button {
    min-height: 46px;
    padding: 11px 22px;
  }
  #story .panel {
    grid-area: glance;
    width: 100%;
    max-width: 330px;
    min-height: 0;
    justify-self: end;
    align-self: start;
    gap: 18px;
    padding: 24px 26px;
    border-radius: 16px;
  }
  #story .panel .about-glance-title {
    margin: 0 0 8px;
  }
  #story .panel h3 {
    margin: 0 0 10px;
    font-size: 1.45rem !important;
    line-height: 1.08 !important;
  }
  #story .panel > div:first-child > p:last-child {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
  }
  #story .panel > .button {
    min-height: 46px;
    margin: 0;
    padding: 10px 18px;
  }
}
@media (min-width: 761px) and (max-width: 899px) {
  #story {
    padding-top: var(--page-section-y, clamp(50px, 6vw, 62px)) !important;
    padding-bottom: var(--page-section-y, clamp(50px, 6vw, 62px)) !important;
  }
  #story .section-head {
    margin-bottom: 24px !important;
  }
  #story .two-col {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  #story .section-lead {
    max-width: 58ch;
  }
  #story .panel {
    width: min(100%, 520px);
    max-width: none;
    justify-self: start;
    padding: 24px 26px;
  }
}
@media (max-width: 900px) {
  #line-up .members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Mobile keeps the same visual composition as the larger layout. Only scale,
   gutters and spacing change so the design does not become a different page. */
@media (max-width: 760px) {
  #story {
    padding-top: clamp(40px, 10vw, 48px) !important;
    padding-bottom: clamp(40px, 10vw, 48px) !important;
  }
  #story > .wrap {
    width: min(calc(100% - 36px), 520px);
  }
  #story .section-head {
    margin-bottom: 22px;
  }
  #story .section-lead {
    max-width: 36ch;
    font-size: 0.96rem !important;
    line-height: 1.64 !important;
  }
  #story .two-col {
    gap: 26px;
  }
  #story .section-actions {
    margin-top: 24px;
  }
  #story .panel {
    gap: 20px;
    padding: 24px 22px 22px;
    border-radius: 15px;
  }
  #story .panel .about-glance-title {
    margin-bottom: 10px;
  }
  #story .panel h3 {
    margin-bottom: 10px;
    font-size: 1.44rem !important;
    line-height: 1.08 !important;
  }
  #story .panel > div:first-child > p:not(.about-glance-title) {
    max-width: 34ch;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  #line-up {
    padding-top: clamp(40px, 10vw, 48px) !important;
    padding-bottom: clamp(40px, 10vw, 48px) !important;
  }
  #line-up > .wrap {
    width: min(calc(100% - 32px), 560px);
  }
  #line-up .section-head {
    margin-bottom: 22px;
  }
  #line-up .section-head h2 {
    font-size: clamp(2.35rem, 11vw, 3rem) !important;
    line-height: 0.98 !important;
  }
  #line-up .section-intro {
    max-width: 36ch;
    margin-inline: auto;
    font-size: 0.94rem !important;
    line-height: 1.6 !important;
  }

  /* Preserve the same two-column line-up layout on phones; cards simply scale
     with the viewport instead of changing to a different one-column design. */
  #line-up .members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 3vw, 14px);
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
  #line-up .member-card {
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(2, 0, 10, 0.18);
    contain-intrinsic-size: auto 310px;
  }
  #line-up .member-card summary:focus-visible {
    border-radius: 14px;
    outline-width: 2px;
    outline-offset: -3px;
  }
  #line-up .member-portrait {
    aspect-ratio: 1086/1448;
  }
  #line-up .members.has-bio-dialog .member-bio {
    display: none;
  }
  #line-up .members:not(.has-bio-dialog) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
  }
  #line-up .members:not(.has-bio-dialog) .member-bio {
    margin-inline: 18px;
    padding: 16px 0 20px;
  }
  #what-you-get .features .card strong {
    margin-bottom: 12px;
  }
}

/* Very small screens keep the two-column design too; reduce only the outer
   gutter and card gap so the proportions stay faithful to the main layout. */
@media (max-width: 390px) {
  #story > .wrap {
    width: min(calc(100% - 30px), 360px);
  }
  #line-up > .wrap {
    width: min(calc(100% - 24px), 380px);
  }
  #line-up .members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    max-width: none;
  }
  #line-up .member-card {
    border-radius: 12px;
    contain-intrinsic-size: auto 270px;
  }
}
@media (max-width: 350px) {
  #line-up > .wrap {
    width: calc(100% - 20px);
  }
  #line-up .members {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #line-up .member-card summary,
  #line-up .member-card summary .member-portrait img {
    transition: none;
  }
}

/* Tiny phones need a single readable profile column. This also prevents
   portrait cards becoming too narrow for reliable tapping at 320px. */
@media (max-width: 340px) {
  #line-up .members {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 260px);
    margin-inline: auto;
    gap: 12px;
  }
}

/* Keep the story, people and booking details on one consistent content rail. */
@media (min-width: 761px) {
  .about-page #story > .wrap,
  .about-page #line-up > .wrap,
  .about-page #what-you-get > .wrap,
  .about-page #kind-words > .wrap {
    width: min(calc(100% - clamp(48px, 7vw, 96px)), 1040px);
  }

  .about-page #line-up .members {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 18px;
  }

  .about-page #line-up .line-up-introduction {
    margin-bottom: 28px;
  }

  .about-page #line-up .section-head {
    margin-bottom: 18px;
  }

  .about-page #line-up .section-intro {
    max-width: 62ch;
    margin: 0;
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .about-page #kind-words .section-head h2 {
    font-size: clamp(2rem, 3.4vw, 2.6rem) !important;
  }

  .about-page #kind-words .reviews-panel {
    max-width: none;
    padding: 28px 30px;
    column-gap: 32px;
  }
}

/* Keep the About sections on a shared reading rail at wide desktop sizes. */
@media (min-width: 1200px) {
  .about-page #line-up > .wrap {
    display: block;
  }

  .about-page #line-up .line-up-introduction {
    display: block;
    margin: 0 0 30px;
  }

  .about-page #line-up .section-head,
  .about-page #what-you-get .section-head {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .about-page #line-up .section-head .label,
  .about-page #what-you-get .section-head .label {
    order: -1;
    max-width: none;
  }

  .about-page #line-up .section-head h2 {
    width: 100%;
    max-width: none;
  }

  .about-page #line-up .section-intro {
    max-width: 44ch;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 1rem !important;
    line-height: 1.65 !important;
    text-align: left;
  }

  .about-page #line-up .members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .about-page #what-you-get > .wrap {
    display: block;
  }

  .about-page #what-you-get .section-head {
    margin: 0 0 26px;
  }

  .about-page #what-you-get .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .about-page #what-you-get .features .card {
    padding: 24px;
  }

  .about-page #what-you-get .section-actions {
    display: flex;
    justify-content: flex-end;
    margin: 24px 0 0;
  }

  .about-page #what-you-get .section-actions .button {
    width: min(100%, 320px);
    min-height: 50px;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .about-page #line-up .line-up-introduction {
    margin-bottom: 24px;
  }

  .about-page #line-up .section-head {
    margin-bottom: 16px;
  }

  .about-page #line-up .section-intro {
    display: block;
    max-width: 33ch;
    margin: 0 auto;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  .about-page #kind-words .section-head h2 {
    max-width: 18ch;
    font-size: clamp(2.2rem, 10vw, 2.7rem) !important;
  }
}

/* ABOUT PAGE — FINAL SECTION HEADING ALIGNMENT
   Keep every section label above its heading and on the same true centre axis.
   Reading copy below remains left-aligned. */
.about-page :is(#story, #line-up, #what-you-get, #kind-words) .section-head {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-inline: auto;
  text-align: center !important;
}

.about-page
  :is(#story, #line-up, #what-you-get, #kind-words)
  .section-head
  .label {
  order: -1 !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 auto !important;
  align-self: center !important;
  text-align: center !important;
}

.about-page
  :is(#story, #line-up, #what-you-get, #kind-words)
  .section-head
  :is(h2, .label) {
  margin-inline: auto !important;
  text-align: center !important;
}

/* Keep the supporting copy as a readable left-aligned block rather than
   inheriting the centred section-heading treatment. */
.about-page :is(#story, #line-up, #what-you-get, #kind-words) .section-lead,
.about-page :is(#story, #line-up, #what-you-get, #kind-words) .section-intro {
  text-align: left;
}

@media (max-width: 760px) {
  .about-page :is(#story, #line-up, #what-you-get, #kind-words) .section-head {
    gap: 8px;
    margin-inline: auto;
  }

  .about-page
    :is(#story, #line-up, #what-you-get, #kind-words)
    .section-head
    .label {
    width: auto !important;
  }

  .about-page :is(#story, #line-up, #what-you-get, #kind-words) .section-lead,
  .about-page :is(#story, #line-up, #what-you-get, #kind-words) .section-intro {
    text-align: left;
  }
}

/* ABOUT PAGE — PRACTICAL FEATURE CARDS
   Give each card a clear internal hierarchy and matching visual weight. */
.about-page #what-you-get .features {
  align-items: stretch;
}

.about-page #what-you-get .features .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 170px;
  padding: 26px;
  border-radius: 16px;
  text-align: left;
}

.about-page #what-you-get .features .card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
  line-height: 1.08 !important;
  text-align: left;
}

.about-page #what-you-get .features .card p {
  max-width: 48ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  text-align: left;
}

@media (max-width: 760px) {
  .about-page #what-you-get .features {
    gap: 14px;
  }

  .about-page #what-you-get .features .card {
    min-height: 0;
    padding: 22px 20px;
    border-radius: 14px;
  }

  .about-page #what-you-get .features .card h3 {
    margin-bottom: 9px;
    font-size: 1.3rem !important;
  }

  .about-page #what-you-get .features .card p {
    max-width: 36ch;
    font-size: 0.92rem;
    line-height: 1.62;
  }
}

/* ABOUT PAGE — CARD READING EDGE
   Keep the card eyebrow, heading, body and action on one shared left rail. */
.about-page #story .panel {
  align-items: flex-start;
  text-align: left;
}

.about-page #story .panel > div:first-child {
  width: 100%;
  text-align: left;
}

.about-page #story .panel :is(.about-glance-title, h3, p) {
  width: auto;
  max-width: 100%;
  margin-inline: 0;
  text-align: left !important;
}

.about-page #story .panel .about-glance-title {
  margin-bottom: 10px;
}

.about-page #story .panel h3 {
  margin-bottom: 10px;
}

.about-page #story .panel > .action-link {
  align-self: flex-start;
  justify-self: start;
  margin-inline: 0;
  text-align: left !important;
}

@media (max-width: 760px) {
  .about-page #story .panel > div:first-child,
  .about-page #story .panel :is(.about-glance-title, h3, p),
  .about-page #story .panel > .action-link {
    text-align: left !important;
  }
}

/* ABOUT PAGE — CARD INTERNAL SPACING
   Keep the supporting copy visually attached to its heading while giving the
   paragraph and action enough separation to scan comfortably. */
.about-page #story .panel > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-page #story .panel .about-glance-title {
  margin: 0 0 10px !important;
}

.about-page #story .panel h3 {
  margin: 0 0 12px !important;
}

.about-page #story .panel > div:first-child > p:not(.about-glance-title) {
  margin: 0 !important;
  max-width: 42ch;
  line-height: 1.62;
}

.about-page #story .panel > .action-link {
  margin-top: 22px !important;
}

@media (max-width: 760px) {
  .about-page #story .panel > div:first-child > p:not(.about-glance-title) {
    max-width: 36ch;
    line-height: 1.62;
  }

  .about-page #story .panel > .action-link {
    margin-top: 20px !important;
  }
}

/* PROFILE CARDS — keep portraits natural and avoid stretching */
#line-up .members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  align-items: start;
}
#line-up .member-card {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0d0920;
  box-sizing: border-box;
}
#line-up .member-card summary {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
#line-up .member-card summary::-webkit-details-marker {
  display: none;
}
#line-up .member-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
}
#line-up .member-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
#line-up .member-bio {
  margin: 0;
  padding: 18px 20px 22px;
}
@media (max-width: 900px) {
  #line-up .members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 760px) {
  #line-up .members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #line-up .member-card {
    border-radius: 13px;
  }
  #line-up .member-bio {
    padding: 15px 16px 18px;
  }
}
@media (max-width: 360px) {
  #line-up .members {
    gap: 9px;
  }
  #line-up .member-card {
    border-radius: 11px;
  }
  #line-up .member-bio {
    padding: 13px 13px 16px;
  }
}

/* PROFILE PORTRAITS — definitive natural-ratio rendering.
   The source portraits are 1086×1448 (3:4). Let the image define the
   portrait height so no parent or breakpoint can distort the source. */
#line-up .member-portrait {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}
#line-up .member-portrait img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: fill !important;
  object-position: center top !important;
  transform: none !important;
}

/* Tablet / narrow-laptop bridge ------------------------------------------------
   About has rich cards and portraits; keep them on a comfortable content rail
   until there is genuinely room for the full desktop compositions. */
@media (min-width: 761px) and (max-width: 1100px) {
  .about-page :is(#story, #line-up, #what-you-get, #kind-words) > .wrap {
    width: min(calc(100% - clamp(48px, 7vw, 72px)), 46rem) !important;
    max-width: 46rem;
  }

  .about-page #story > .wrap {
    display: block !important;
  }

  .about-page #story .two-col {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
  }

  .about-page #story .section-lead,
  .about-page #line-up .section-intro {
    max-width: 46ch !important;
    margin-inline: auto !important;
  }

  .about-page #story .panel {
    width: min(100%, 34rem) !important;
    max-width: 34rem !important;
    justify-self: center !important;
    margin-inline: auto !important;
  }

  .about-page #line-up .members {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2.2vw, 18px) !important;
    max-width: 44rem !important;
    margin-inline: auto !important;
  }

  .about-page #what-you-get .features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .about-page #kind-words .reviews-panel {
    width: min(100%, 42rem);
    margin-inline: auto;
    padding: 26px 28px;
  }
}

@media (min-width: 761px) and (max-width: 860px) {
  .about-page #what-you-get .features {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
