/*PROSE SECTIONS: about, performance style, events*/

.prose h2 {
  margin-bottom: 1.3rem;
}

.prose p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/*FEATURED PERFORMANCE*/

.performances h2 {
  margin-bottom: 1.8rem;
}

.featured-video {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 7;
  color: rgb(255 255 255 / .95);
  text-decoration: none;
  transition: scale 200ms ease-in-out;
}

.featured-video:hover {
  scale: 1.01;
}

.featured-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgb(6 8 16 / .93) 0%,
    rgb(6 8 16 / .78) 42%,
    rgb(6 8 16 / .15) 78%,
    transparent 100%);
}

.featured-video .texts {
  box-sizing: border-box;
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: min(62%, 34rem);
  padding-inline: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
}

.featured-video .title {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0;
}

.featured-video .parag {
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.85;
}

.featured-video .play-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  background-color: var(--second-color);
  color: white;
  font-size: 0.9rem;
}

.featured-video .play-pill svg {
  width: 0.9rem;
  height: 0.9rem;
}

/*a video swapped in for its thumbnail (see scripts/video-embed.js)*/

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 8px;
}

/* the warm up copy has to be rendered for the browser to load it, so it is parked
 * off screen at a pixel rather than hidden (see scripts/video-embed.js) */
.player-warm-up {
  position: fixed;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  border: 0;
  pointer-events: none;
}

/* the crop, the gradient and the hover lift all belong to the thumbnail,
 * and are only in the way once the player is there instead */
.featured-video.playing {
  aspect-ratio: 16 / 9;
}

.featured-video.playing::after {
  content: none;
}

.featured-video.playing:hover {
  scale: 1;
}

/*MORE PERFORMANCES*/

.performances .subheading {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted-color);
  margin: 3rem 0 1.2rem;
}

.performances .videos-grid {
  --min-column-size: 16rem;
}

.pill-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 2.5rem auto 0;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--hairline-color);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 200ms ease-in-out, background-color 200ms ease-in-out;
}

.pill-link svg {
  /* the youtube mark is wider than tall, so it needs a roomier box than a plus sign */
  width: 1.4rem;
  height: 1.4rem;
}

.pill-link:hover {
  border-color: var(--second-color);
  background-color: rgb(255 255 255 / .04);
}

/*WHERE I'VE PLAYED*/

.venues h2 {
  margin-bottom: 1rem;
}

.venues .section-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted-color);
  margin: 0 0 2.5rem;
}

.venues-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}

.venue {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--second-color);
}

.venue-name {
  font-size: 1rem;
  font-weight: 500;
}

.venue-note {
  font-size: 0.8rem;
  color: var(--muted-color);
}

/*SCHOLARSHIPS & AWARDS*/

.awards h2 {
  margin-bottom: 1.8rem;
}

.awards-card {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 2.5rem 3rem;
  background-color: var(--panel-color);
  background-image: url('../media/awardsBackdrop.webp');
  background-size: cover;
  background-position: center right;
}

.awards-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgb(var(--panel-rgb) / 1) 0%,
    rgb(var(--panel-rgb) / .96) 42%,
    rgb(var(--panel-rgb) / .74) 74%,
    rgb(var(--panel-rgb) / .5) 100%);
}

.awards-card ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 3rem;
}

.awards-card li {
  position: relative;
  break-inside: avoid;
  padding-left: 1.1rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.awards-card li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  color: var(--second-color);
}

/*LOOKING TO BOOK*/

/* the booking prompt sits inside the intro, so about -> booking -> performance
 * style are spaced as one section rather than three */
.page > .booking,
.page > .booking + section {
  margin-top: 3.5rem;
}

.booking-card {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
  border: 1px solid var(--hairline-color);
  border-radius: 10px;
  background-color: var(--panel-color);
}

.booking-text h2 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.booking-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-color);
  margin: 0;
}

.booking-button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  background-color: var(--second-color);
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: scale 200ms ease-in-out;
}

.booking-button svg {
  width: 1rem;
  height: 1rem;
}

.booking-button:hover {
  scale: 1.02;
}

/*LINKS INSIDE THE COPY*/

.prose a,
.areas .footnote a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--second-color);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 200ms ease-in-out;
}

.prose a:hover,
.areas .footnote a:hover {
  color: var(--second-color);
}
