/* Festival cover, using the supplied two-line wordmark. */
#home.hero {
  background: #4a0d29;
  padding-block: clamp(42px, 5.4vw, 86px);
}
#home.hero::before {
  inset: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  transform: none;
  background: linear-gradient(90deg, #460c28 2%, #480d29ed 31%, transparent 59%),
              url(assets/sasha-partner.webp) right center / auto 100% no-repeat;
  mask-image: none;
  filter: none;
}
#home .wrap > small { text-transform: uppercase; }
#home.hero h1 {
  width: clamp(225px, 28vw, 410px);
  max-width: 56%;
  margin: 22px 0;
  line-height: 0;
  background: none;
  mix-blend-mode: lighten;
}
#home h1 img { width: 100%; height: auto; display: block; }
#home.hero .lead {
  width: min(51%, 700px);
  max-width: none;
  font-size: clamp(26px, 3.05vw, 48px);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 600;
}
#home .lead p { font: inherit; margin: 0; max-width: none; text-wrap: balance; }
@media (max-width: 760px) {
  #home.hero { padding-block: 26px 20px; }
  #home.hero::before {
    inset: 0 0 auto auto;
    width: 60%;
    aspect-ratio: 930 / 900;
    background: url(assets/hero-mobile-full.webp) center / contain no-repeat;
    mask-image: linear-gradient(90deg, transparent, black 17%),
                linear-gradient(0deg, transparent, black 26%);
    mask-composite: intersect;
  }
  #home.hero h1 { width: 44%; margin: 16px 0 0; }
  #home.hero .lead { width: 100%; margin-top: clamp(44px, 17vw, 120px); font-size: clamp(24px, 6vw, 34px); }
  #home.hero .actions { max-width: 100%; }
}

.festival-targets {
  padding: clamp(24px, 3vw, 42px) 0;
  background: linear-gradient(110deg, #310a1c, #58102d);
  border-block: 1px solid #e1ab6f77;
  color: #ffe6bb;
}
.festival-targets h2 { font: 600 18px/1.3 var(--type-body); letter-spacing: 0; margin: 0 0 20px; }
.festival-targets dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0; gap:16px; }
.festival-targets dl div { display:flex; flex-direction:column-reverse; justify-content:flex-end; border-left:1px solid #d9a36a; padding-left:clamp(10px,1.8vw,26px); }
.festival-targets dt { margin-top:5px; font-size:clamp(14px,1.4vw,20px); line-height:1.25; }
.festival-targets dd { margin:0; font:400 clamp(25px,3.2vw,50px)/1.15 Prata,serif; white-space:nowrap; }
#about .grid article p { font-size:clamp(18px,1.5vw,23px); line-height:1.35; }
#program .dress { display:grid; grid-template-columns:minmax(0,1fr) minmax(165px,25%); gap:clamp(16px,4vw,56px); align-items:center; }
#program .dress img { display:block; width:100%; height:auto; border-radius:var(--radius); }
#honored-guests { background:linear-gradient(115deg,#26131d,#481429); color:#ffe3ba; }
#honored-guests ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; list-style:none; padding:0; margin:24px 0 0; }
#honored-guests li { padding:18px 0 0; border-top:1px solid #b87f57; font:400 clamp(21px,2.3vw,35px)/1.25 Prata,serif; }
#history img[src$="author-original-cutout.webp"] { object-fit:cover; object-position:center 8%; }
#visits .grid { grid-template-columns:minmax(0,1fr); }
#partners .logos { grid-template-columns:repeat(7,minmax(0,1fr)); }
@media (max-width:760px) {
  .festival-targets dl { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:20px; }
  #partners .logos { display:flex; flex-wrap:wrap; justify-content:center; }
  #partners .logos > div { flex:0 0 25%; min-width:0; }
  #partners .logos img { max-width:100%; }
}
@media (max-width:540px) {
  #program .dress, #honored-guests ul { grid-template-columns:1fr; }
  #program .dress img { max-width:320px; justify-self:center; }
  #partners .logos > div { flex-basis:33.333%; }
}


/* Compact heading for the SPLAT company visit. */
#visits { padding-block: clamp(36px, 4vw, 60px); }
#visits .poster-band { min-height: 0; margin-bottom: 0; }
#visits .poster-copy h2 { font-size: clamp(28px, 4.1vw, 60px); margin-bottom: 0; }
#visits .poster-object { height: clamp(64px, 9vw, 128px); max-width: 100%; }
#visits .grid { margin-block: clamp(14px, 1.7vw, 24px); }
@media (max-width: 600px) {
  #visits .poster-band { grid-template-columns: minmax(0, 1fr) 56px; }
  #visits .poster-copy h2 { font-size: clamp(24px, 6.4vw, 34px); }
}


#tickets .grid { grid-template-columns: minmax(0, 1fr); }
#tickets .tariff { min-width: 0; padding: clamp(18px, 2vw, 30px); }
#tickets .cost { grid-template-columns: minmax(0, 1fr); justify-items: center; padding-top: 16px; }
#tickets .cost del { color: #e4c6b5; font-size: 1rem; }
#tickets .cost strong { margin-top: 4px; }
#tickets .cost .btn { width: min(100%, var(--action-w)); min-width: 0; max-width: 100%; }
#tickets .tariff aside { margin: 0 0 18px; }
#tickets .tariff aside h4, #tickets .tariff aside p { margin-block: 6px; }
@media (min-width: 1040px) {
  #tickets .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


#honored-guests .guest-profile {
  display: grid;
  grid-template-columns: clamp(110px, 12vw, 172px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 8px clamp(14px, 2vw, 28px);
  align-items: start;
}
#honored-guests .guest-photo {
  grid-row: span 2;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 70%;
  border-radius: var(--radius, 20px);
}
#honored-guests .guest-bio {
  margin: 0;
  font: 400 clamp(16px, 1.2vw, 19px)/1.5 var(--type-body);
}
@media (max-width: 760px) {
  #honored-guests ul { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  #honored-guests .guest-profile { grid-template-columns: 100px 1fr; }
  #honored-guests .guest-photo { grid-row: 1; }
  #honored-guests .guest-name { align-self: center; }
  #honored-guests .guest-bio { grid-column: 1 / -1; }
}


@media (min-width: 901px) {
  #speakers .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 1.15vw, 20px);
  }
  #speakers .speaker > div {
    padding: clamp(10px, 1vw, 18px);
    overflow-wrap: anywhere;
  }
  #speakers .speaker:last-child > img {
    width: calc(100% - 24px);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 20%;
    margin: 12px;
    border-radius: var(--radius);
  }
}
#speakers .speaker > div { min-width: 0; overflow-wrap: anywhere; }

/* Approved horizontal signature from page 3 of the festival brand book. */
.section h2 .fest-wordmark {
  display: inline-block;
  width: min(4.1em, 100%);
  height: auto;
  vertical-align: -.06em;
}
header .brand img, .fest-footer .brand img { height: auto; }
#partners .partner-invite {
  max-width: none;
  margin: 1.4em auto;
  text-align: center;
  text-wrap: balance;
}
#visits .visit { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 60px); align-items: center; }
#visits .visit-brands { padding: clamp(16px, 2vw, 32px); border-left: 1px solid #b18360; }
#visits .visit-marks { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); margin: 20px 0; }
#visits .visit-marks img { display: block; width: min(46%, 138px); height: 68px; object-fit: contain; object-position: left center; }
#visits .visit-brands p { margin: 0; }
#tickets .premium-labels { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; justify-content:space-between; }
#tickets .premium-labels span { color:#ffe4ac; border:1px solid #d1ab76; border-radius:999px; padding:4px 10px; font:600 13px/1.2 var(--type-body); }
#tickets #premium { border-color:#d3a862; }
#deck .deck-contacts { display:grid; justify-items:center; gap:12px; }
#deck .deck-contacts .btn { width:min(100%,var(--action-w)); margin:0; }
#deck .secondary { background:transparent; border:2px solid var(--action); color:#32191b; }
#deck .secondary:is(:hover,:focus-visible) { background:var(--action-hover); }
@media (min-width: 901px) {
  #tickets .wrap > h2 { max-width:78%; width:max-content; font-size:clamp(36px,4.7vw,78px); }
}
@media (max-width: 900px) {
  header .bar nav { display:flex; flex-basis:100%; order:3; justify-content:center; gap:6px clamp(8px,2vw,18px); font-size:clamp(12px,2.8vw,15px); }
}
@media (max-width: 640px) {
  #visits .visit { grid-template-columns:minmax(0,1fr); }
  #visits .visit-brands { border:0; border-top:1px solid #b18360; padding:16px 0 0; }
  #visits .visit-marks img { height:50px; }
}
