/* About, FAQ, footer, legal pages. */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split--top > .band__head {
  position: sticky;
  top: calc(var(--header) + 2rem);
}

/* About */

.about__media {
  position: relative;
  margin: 0 0 1.25rem 1.25rem;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: 1.25rem 1.25rem -1.25rem -1.25rem;
  z-index: 0;
  border-radius: var(--radius-large);
  background: var(--accent);
}

.about__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-large);
}

.about__text p {
  margin-top: 1rem;
  color: var(--muted);
}

.about__text .btn {
  margin-top: 2rem;
}

.facts {
  display: grid;
  gap: 0;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.facts li:last-child {
  border-bottom: 1px solid var(--line);
}

.facts b {
  color: var(--ink);
}

/* FAQ */

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.375rem;
  top: 50%;
  width: 1.125rem;
  height: 2px;
  background: var(--accent);
  transition: transform 0.25s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  max-width: 40rem;
  padding-bottom: 1.5rem;
  color: var(--muted);
}

/* Footer */

.foot {
  padding-block: 3rem 2rem;
  border-top: 1px solid color-mix(in srgb, var(--on-brand) 18%, transparent);
  background: var(--brand);
  color: var(--on-brand-muted);
}

.foot__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.foot strong {
  color: var(--on-brand);
  font-size: 1.125rem;
}

.foot__contact {
  margin-top: 0.75rem;
}

.foot__title {
  color: var(--on-brand);
  font-weight: 700;
}

.foot__links {
  display: grid;
  gap: 0.25rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.foot a {
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--on-brand);
}

.foot a:hover {
  color: var(--highlight);
}

.foot__credit {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--on-brand) 18%, transparent);
  font-size: var(--text-small);
}

/* Legal pages and plain messages */

.legal {
  max-width: 46rem;
}

.legal h1 {
  font-size: var(--h2);
}

.legal h2 {
  margin-top: 2.25rem;
  font-size: var(--h3);
}

.legal p {
  margin-top: 0.75rem;
}

.legal .note {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--tint);
}

@media (max-width: 62rem) {
  .split {
    grid-template-columns: 1fr;
  }

  .about__media {
    max-width: 30rem;
  }

  .split--top > .band__head {
    position: static;
    margin-bottom: 0;
  }

  .foot__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot__row > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 36rem) {

  .facts li {
    grid-template-columns: 1fr;
    gap: 0.125rem;
  }

  .foot {
    padding-bottom: 5.5rem;
  }
}
