/* HOME / HORIZONTAL CITY CAMPAIGN
   Derived from the supplied horizontal artwork. Both athletes and the ball
   share a single canvas: no flipped tennis pose, detached arm, or missing ball.
   This stylesheet is loaded only by index.html. Festival branding is retained. */
.festival-horizontal-home #main > .city-cover {
  --city-black:#000105;
  --city-ribbon:linear-gradient(90deg,#5FE0BE 0%,#8FDBF2 13%,#7FAAF6 27%,#C6A5EC 41%,#F9A6E7 55%,#FFB86A 70%,#FDF2AA 83%,#D8FBAA 95%,#8DFFAD 100%);
  position:relative;isolation:isolate;overflow:hidden;
  padding:0;background:var(--city-black);border:0;
}
.city-cover__composition {
  position:relative;width:100%;max-width:1680px;aspect-ratio:1920/1080;
  margin-inline:auto;isolation:isolate;
}
.city-cover__athletes picture {display:block;width:100%;height:100%}
.city-cover__athletes {position:absolute;inset:0;z-index:2;pointer-events:none}
.city-cover__athletes img {display:block;width:100%;height:100%;object-fit:contain}
.city-cover__identity {position:absolute;z-index:3;top:9%;left:50%;transform:translateX(-50%);width:48%;text-align:center}
#main .city-cover__identity #festival-cover-name {width:100%;margin:0;line-height:1}
#main .city-cover__identity #festival-cover-name > img {display:block;width:100%;max-width:none;height:auto;margin:0}
#main .city-cover__status {font:700 11px/1.5 var(--body);text-transform:uppercase;letter-spacing:.13em;color:var(--lime);margin:clamp(24px,3vw,42px) 0 0}
.city-cover__status > span {display:inline-block;margin-inline:8px;color:rgba(255,255,255,.5)}
.city-cover__actions {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:22px}
.city-cover__actions .btn {min-height:44px;font-size:13px;line-height:1.25;padding:12px 23px;white-space:nowrap}
/* The new ribbon is independent of the old printed artwork. Its centerline is
   down at shoe level. Athletes and ball render above it without obscuring faces. */
.city-cover__ribbon {
  position:absolute;z-index:1;left:50%;top:89%;transform:translate(-50%,-50%) rotate(2.6deg);
  width:115vw;max-width:none;height:clamp(58px,6vw,92px);display:flex;align-items:center;
  background:var(--city-ribbon);overflow:hidden;pointer-events:none;
}
.city-cover__track {display:flex;width:max-content;flex:none;will-change:transform;animation:city-cover-marquee 38s linear infinite}
.city-cover__group {display:flex;align-items:center;flex:none}
.city-cover__group > img {display:block;flex:none;max-width:none;width:clamp(580px,52vw,860px);height:auto;margin-inline:24px}
@keyframes city-cover-marquee {from{transform:translate3d(-50%,0,0)}to{transform:translate3d(0,0,0)}}
.city-cover__motion {position:absolute;z-index:4;right:20px;bottom:8px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:50%;color:#fff;background:#08080b;cursor:pointer;transition:background .15s}
.city-cover__motion:hover,.city-cover__motion:focus-visible {background:#23232a;border-color:var(--lime)}
.city-cover__pause-icon {display:block;width:9px;height:11px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.city-cover__motion[aria-pressed=true] .city-cover__pause-icon {width:0;height:0;border:6px solid transparent;border-right:0;border-left:9px solid currentColor;transform:translateX(1px)}
.city-cover.is-paused .city-cover__track {animation-play-state:paused}
/* Clear narrative transition. Nothing above the logo; the positioning line
   is removed and WHERE ENERGY MEETS PURPOSE is the next chapter's heading. */
.festival-horizontal-home #main > .event-welcome {padding-top:clamp(56px,5.2vw,84px);padding-bottom:50px}
.festival-horizontal-home #event-welcome-title > span {white-space:nowrap}
.festival-horizontal-home .event-welcome__layout {grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:clamp(38px,5vw,76px)}
.festival-horizontal-home .event-welcome__copy {padding-top:0}
/* Tablet: composition remains intact, not recropped to move a player offscreen. */
@media (max-width:1000px) and (min-width:701px) {
  #main .city-cover__status {font-size:10px;letter-spacing:.09em;margin-top:22px}
  .city-cover__actions {gap:8px;margin-top:16px}
  .city-cover__actions .btn {font-size:11px;min-height:42px;padding:11px 15px}
  .festival-horizontal-home #main #event-welcome-title {font-size:clamp(32px,3.8vw,44px)}
}
/* Mobile uses the SAME horizontal athlete composition at its intrinsic ratio.
   Identity and real buttons sit above it so neither type nor a face is cropped. */
@media (max-width:700px) {
  .city-cover__composition {display:flex;flex-direction:column;aspect-ratio:auto}
  .city-cover__identity {position:relative;top:auto;left:auto;transform:none;width:100%;max-width:510px;margin:0 auto;padding:30px 24px 18px;order:0}
  #main .city-cover__identity #festival-cover-name {max-width:440px;margin:auto}
  #main .city-cover__status {font-size:10px;letter-spacing:.1em;margin-top:23px}
  .city-cover__actions {margin-top:18px;gap:10px}
  .city-cover__actions .btn {font-size:12px;min-height:44px;padding:12px 18px}
  .city-cover__athletes {position:relative;inset:auto;order:1;aspect-ratio:1280/1080;flex:none;width:100%;margin-top:4px}
  .city-cover__ribbon {top:auto;bottom:calc(100vw * .03);height:clamp(42px,8.5vw,56px);transform:translate(-50%,0) rotate(2.6deg);width:112vw}
  .city-cover__group > img {width:clamp(350px,78vw,535px);margin-inline:20px}
  .city-cover__motion {right:12px;bottom:2px;width:30px;height:30px;background:#08080b}
  .festival-horizontal-home #main > .event-welcome {padding-top:50px;padding-bottom:30px}
  .festival-horizontal-home .event-welcome__layout {grid-template-columns:1fr;gap:24px}
  .festival-horizontal-home #main .event-welcome .event-overline {font-size:9px;letter-spacing:.14em}
}
@media (max-width:370px) {
  .city-cover__identity {padding:26px 20px 13px}
  .city-cover__actions {gap:9px}
  .city-cover__actions .btn {font-size:11px;padding:11px 15px;min-height:42px}
  #main .city-cover__status {font-size:9px;letter-spacing:.07em}
  .city-cover__status > span {margin-inline:5px}
  .city-cover__group > img {width:335px;margin-inline:18px}
}
@media(prefers-reduced-motion:reduce){.city-cover__track{animation:none;transform:none;will-change:auto}.city-cover__motion{display:none}.city-cover__motion{transition:none}}
