/* Shared phone refinements for the static Solstice site export. */
.brandywine-details {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px max(5vw, calc(50vw - 660px));
  background: #101612;
  color: #f4eedf;
}

.brandywine-details::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 8, .98) 0%, rgba(7, 11, 8, .86) 55%, rgba(7, 11, 8, .54) 100%),
    url('/images/brandywine-feature.jpg') center 58% / cover;
  content: '';
}

.brandywine-details::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 74% 12%, rgba(227, 154, 28, .22), transparent 30%);
  content: '';
}

.brandywine-details .details-eyebrow {
  color: #e39a1c;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 15px;
  font-size: 13px;
  font-weight: 900;
}

.brandywine-details h2 {
  max-width: 850px;
  margin: 0 0 50px;
  color: #f4eedf;
  font-size: clamp(52px, 7vw, 100px);
  line-height: .9;
}

.brandywine-detail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.brandywine-detail-card {
  min-height: 340px;
  padding: 30px 26px;
  border: 1px solid rgba(227, 154, 28, .6);
  border-radius: 12px;
  background: rgba(8, 13, 10, .88);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .24);
}

.brandywine-detail-card h3 {
  margin: 0 0 30px;
  color: #e39a1c;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1;
}

.brandywine-detail-card h4 {
  margin: 0 0 16px;
  color: #f4eedf;
  font: 700 24px/1.12 Georgia, serif;
}

.brandywine-detail-card p {
  margin: 0 0 14px;
  color: #ddd4c0;
  font-size: 16px;
  line-height: 1.55;
}

.brandywine-detail-card .detail-note {
  color: #aeb59c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brandywine-detail-card a:not(.detail-ticket) {
  color: #e7ad3f;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brandywine-detail-card.where h3 { color: #a6ad58; }
.brandywine-detail-card.who h3 { color: #db4d2e; }
.brandywine-detail-card.why h3,
.brandywine-detail-card.why h4 { color: #79aeb2; }

.detail-ticket {
  width: 100%;
  min-height: 54px;
  margin-top: 20px;
  border-radius: 4px;
  background: #e39a1c;
  color: #171c18;
  font-weight: 900;
  text-align: center;
}

.brandywine-art-section {
  background: #07100b;
  padding: 28px;
}

.brandywine-art-desktop {
  position: relative;
  max-width: 1536px;
  margin: 0 auto;
}

.brandywine-art-desktop > img {
  display: block;
  width: 100%;
  height: auto;
}

.brandywine-art-hotspot {
  position: absolute;
  top: 33%;
  width: 18.2%;
  height: 54%;
  border: 1px solid transparent;
  border-radius: 12px;
  outline-offset: 5px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.brandywine-art-hotspot.who { left: 2.3%; }
.brandywine-art-hotspot.what { left: 21.3%; }
.brandywine-art-hotspot.where { left: 40.9%; }
.brandywine-art-hotspot.why { left: 59.9%; }
.brandywine-art-hotspot.how { left: 79.3%; }

.brandywine-art-hotspot:hover,
.brandywine-art-hotspot:focus-visible {
  z-index: 2;
  border-color: rgba(227, 154, 28, .9);
  background: rgba(227, 154, 28, .05);
  box-shadow: 0 20px 35px rgba(0, 0, 0, .6), 0 0 22px rgba(227, 154, 28, .2);
  transform: translateY(-8px) scale(1.018);
}

.brandywine-art-hotspot:focus-visible {
  outline: 4px solid #fff;
}

.brandywine-art-mobile {
  display: none;
}

@media (max-width: 800px) {
  .site-header nav {
    column-gap: 15px;
    row-gap: 2px;
  }

  .site-header nav a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 7px 1px;
  }

  .site-header nav a:focus-visible {
    border-radius: 3px;
    outline: 3px solid var(--orange);
    outline-offset: 2px;
  }

  .event-intro .brandywine-ticket {
    width: 100%;
    min-height: 56px;
  }

  .brandywine-details {
    padding: 70px 18px;
  }

  .brandywine-details::before {
    background:
      linear-gradient(rgba(7, 11, 8, .9), rgba(7, 11, 8, .96)),
      url('/images/brandywine-feature.jpg') center / cover;
  }

  .brandywine-details h2 {
    margin-bottom: 36px;
    font-size: clamp(46px, 14vw, 66px);
  }

  .brandywine-detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brandywine-detail-card {
    min-height: 0;
    padding: 26px 24px;
  }

  .brandywine-detail-card h3 {
    margin-bottom: 20px;
    font-size: 42px;
  }

  .brandywine-art-section {
    padding: 0;
  }

  .brandywine-art-desktop {
    display: none;
  }

  .brandywine-art-mobile {
    display: block;
    padding: 0 18px 28px;
    background: #07100b;
  }

  .brandywine-art-heading {
    position: relative;
    isolation: isolate;
    min-height: 280px;
    margin: 0 -18px 18px;
    padding: 46px 22px 28px;
    overflow: hidden;
    color: #f4eedf;
  }

  .brandywine-art-heading::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: url('/images/brandywine-details-artwork.png') 64% 0 / auto 600px;
    content: '';
  }

  .brandywine-art-heading::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 8, 5, .98), rgba(4, 8, 5, .64));
    content: '';
  }

  .brandywine-art-heading p {
    margin: 0 0 14px;
    color: #e39a1c;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
  }

  .brandywine-art-heading h2 {
    max-width: 330px;
    margin: 0;
    font-size: clamp(48px, 15vw, 64px);
    line-height: .9;
  }

  .brandywine-art-card {
    display: block;
    width: 100%;
    aspect-ratio: 279 / 548;
    margin-bottom: 14px;
    border: 1px solid rgba(227, 154, 28, .7);
    border-radius: 12px;
    background-image: url('/images/brandywine-details-artwork.png');
    background-repeat: no-repeat;
    background-size: 550.5% auto;
    background-position: var(--card-x) 71.2%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  }

  .brandywine-art-card.who { --card-x: 2.8%; }
  .brandywine-art-card.what { --card-x: 26%; }
  .brandywine-art-card.where { --card-x: 50%; }
  .brandywine-art-card.why { --card-x: 73.2%; }
  .brandywine-art-card.how { --card-x: 96.9%; }

  a.brandywine-art-card {
    outline-offset: 3px;
  }

  a.brandywine-art-card:focus-visible {
    outline: 4px solid #fff;
  }

  .brandywine-art-card:hover,
  .brandywine-art-card:focus-visible {
    z-index: 1;
    border-color: #e39a1c;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .55), 0 0 18px rgba(227, 154, 28, .18);
    transform: translateY(-6px) scale(1.012);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brandywine-art-hotspot,
  .brandywine-art-card {
    transition: none;
  }
}
