@import url("typography.css");

/* Prevent horizontal scroll from oversized design assets. The original clipped-left poster was a viewport overflow issue. */
html, body { margin: 0; max-width: 100%; overflow-x: clip; }
/* Elk Creek project page. Scoped to .elk-page; header/footer styles are shared. */
.elk-page{overflow:clip;background:#fff;color:#151515;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}
.elk-page *{box-sizing:border-box}
.elk-page img{display:block;max-width:100%;height:auto}

/* Opening collage and brand introduction */
.elk-hero{display:grid;grid-template-columns:59% 41%;align-items:center;min-height:32vw;padding:2.5% 5% 0}
.elk-hero img:first-child{width:106%;max-height:42vw;object-fit:contain;position:relative;z-index:2}
.elk-hero img:last-child{width:93%;justify-self:center;max-height:25vw;object-fit:contain;transform:translateX(-15%)}
.elk-intro{display:grid;grid-template-columns:51% 49%;align-items:center;padding:2% 8% 3%}
.elk-intro-copy{max-width:550px;padding:1rem 8% 1rem 0}
.elk-intro h1{font-size:clamp(25px,3.3vw,58px);line-height:var(--heading-leading);margin:0 0 .15em;font-weight:var(--heading-weight);letter-spacing:var(--heading-tracking);font-family:var(--editorial-font);overflow-wrap:anywhere;min-width:0;}
.elk-category{font-family:Jura,sans-serif;font-size:clamp(10px,.85vw,14px);letter-spacing:.05em;margin:0 0 1.7em!important;font-weight:var(--subtitle-weight);line-height:var(--subtitle-leading);}
.elk-intro p{font-size:clamp(13px,1.2vw,19px);line-height:var(--body-leading);margin:0 0 1.2em;font-weight:var(--body-weight);letter-spacing:var(--body-tracking);font-family:var(--editorial-font);}
.elk-intro-mark{align-self:center;justify-self:center;width:100%}
.elk-intro-mark img{width:100%;max-height:48vw;object-fit:contain}

/* Distinctly sized dancer and DJ artworks, not forced into a shared crop */
.elk-duo{display:grid;grid-template-columns:47% 52%;gap:1%;align-items:center;padding:2vw 1.5% 3vw;background:#fff}
.elk-duo img{width:100%;height:auto;object-fit:contain}
.elk-duo img:first-child{width:100%;justify-self:start}
.elk-duo img:last-child{width:100%;justify-self:end}

/* Normal-flow scroll artwork. No pinning or artificial scroll-height. */
.elk-scroll-gallery { position:relative; background:#fff; overflow:hidden; }
.elk-gallery-pin { position:relative; width:100%; height:auto; display:block; overflow:hidden; background:#fff; }
.elk-gallery-rail {
  display:flex; flex-wrap:nowrap; align-items:center;
  gap:0; width:max-content; height:42vw; max-height:550px;
  padding-left:38vw; padding-right:2vw;
  will-change:transform;
}
.elk-gallery-slide {
  flex:0 0 44vw; width:44vw; height:100%;
  margin:0; display:flex; align-items:center; justify-content:center;
}
.elk-page .elk-gallery-slide > img { width:100%; height:100%; object-fit:contain; }
.elk-page .elk-slide-cassette > img { width:91%; height:94%; }
.elk-page .elk-slide-torn > img { width:93%; height:96%; }
/* Photo pair sits directly beneath the rail and scrolls naturally with the page. */
.elk-posters {
  display:grid; grid-template-columns:minmax(0, 52fr) minmax(0, 46fr); column-gap:2%;
  align-items:center; width:100%; max-width:100%; box-sizing:border-box; padding:0 2% 1.5vw; margin:0; background:#fff;
}
.elk-chair-stage {
  position:relative; width:100%; aspect-ratio:1045 / 993;
  overflow:hidden; margin:0;
}
.elk-page .elk-chair-base { width:100%; height:100%; object-fit:contain; }
.elk-page .elk-chair-overlay { position:absolute; height:auto; max-width:none; pointer-events:none; }
.elk-page .elk-chair-horns { width:29%; left:6%; top:35%; }
.elk-page .elk-chair-music { width:45%; left:5%; top:4%; }
.elk-page .elk-chair-monday { width:33%; right:3%; bottom:3%; }
.elk-poster-street { margin:0; width:96%; display:flex; align-items:center; justify-content:center; justify-self:center; }
.elk-page .elk-poster-street img { width:100%; max-width:100%; height:auto; object-fit:contain; }

/* Avoid hiding anything when JS is unavailable; animation engages only once JS opts in. */
@media(prefers-reduced-motion:no-preference){
 .elk-chair-animated .elk-chair-overlay{opacity:0;transition:opacity .85s ease}
 .elk-chair-animated.is-visible .elk-chair-overlay{opacity:1}
 .elk-chair-animated .elk-chair-horns{transform:translateY(12px);transition:opacity 1.2s ease,transform 1.2s ease}
 .elk-chair-animated.is-visible .elk-chair-horns{opacity:1;transform:translateY(0);transition-delay:.15s}
 .elk-chair-animated.is-visible .elk-chair-music{transition-delay:.45s}
 .elk-chair-animated.is-visible .elk-chair-monday{transition-delay:.7s}
}

/* Final torn-paper art: wordmark sits in front of the raised red collage. */
.elk-end { position:relative; background:#fff; padding:2vw 3% 10vw; overflow:hidden; }
.elk-page .elk-end-title {
  display:block; position:relative; z-index:3;
  width:92%; max-width:1550px; margin:0 auto -6vw; object-fit:contain;
}
/* Final composition: black-and-white artwork on the LEFT, red mark on the RIGHT. */
.elk-end-art {
  display:grid;
  grid-template-columns:52% 48%;
  column-gap:0;
  align-items:center;
  min-height:0;
  position:relative;
  z-index:1;
}
.elk-end-front {
  grid-column:1;
  grid-row:1;
  width:160%;
  max-width:none;
  justify-self:start;
  position:relative;
  z-index:2;
  transform:translate(10%, 35%);
}
.elk-end-red {
  grid-column:2;
  grid-row:1;
  width:108%;
  max-width:none;
  justify-self:start;
  position:relative;
  z-index:3;
  transform:translateX(-13%);
}

/* Text reveals progressively without hiding the content if JavaScript is unavailable. */
@media (prefers-reduced-motion: no-preference) {
  .elk-intro-copy.elk-reveal-ready > * { opacity: 0; transform: translateY(22px); transition: opacity 1.5s ease, transform 1.5s ease; }
  .elk-intro-copy.elk-reveal-ready.elk-reveal-visible > * { opacity: 1; transform: none; }
  .elk-intro-copy.elk-reveal-ready > :nth-child(2) { transition-delay: .25s; }
  .elk-intro-copy.elk-reveal-ready > :nth-child(3) { transition-delay: .55s; }
  .elk-intro-copy.elk-reveal-ready > :nth-child(4) { transition-delay: .85s; }
  .elk-intro-copy.elk-reveal-ready > :nth-child(5) { transition-delay: 1.1s; }
}

/* Tablet and mobile: editorial artwork stacks at large, uncropped sizes */
@media(max-width:800px){
 .elk-hero{grid-template-columns:58% 42%;min-height:0;padding:5% 5% 0}
 .elk-hero img:first-child{width:100%}
 .elk-hero img:last-child{width:90%;transform:none}
 .elk-intro{grid-template-columns:52% 48%;padding:4% 6%}
 .elk-intro-copy{padding-right:6%}
 .elk-intro h1{font-size:clamp(18px,3.3vw,31px)}
 .elk-intro p{font-size:clamp(10px,1.6vw,15px)}
 .elk-category{font-size:clamp(8px,1.4vw,12px)}
}
@media(max-width:700px){
 .elk-scroll-gallery{height:auto!important}
 .elk-gallery-pin{height:auto;min-height:0;position:static;display:block;overflow:visible}
 .elk-gallery-rail{width:100%;height:auto;max-height:none;display:flex;flex-direction:column;flex:0 0 auto;padding:3vw 5%;gap:7vw;transform:none!important;will-change:auto}
 .elk-gallery-slide{width:100%;height:auto;flex:0 0 auto;min-height:0}
 .elk-page .elk-gallery-slide>img,.elk-page .elk-slide-cassette>img,.elk-page .elk-slide-torn>img{width:100%;height:auto;max-height:none;object-fit:contain}
 .elk-gallery-instruction{display:none}
 .elk-posters{display:grid;grid-template-columns:1fr;gap:5vw;padding:6vw 4% 7vw}
 .elk-chair-stage{width:100%;max-width:none;margin:0 auto}
 .elk-poster-street{width:94%;justify-self:center;margin:0 auto}
 .elk-page .elk-poster-street img{width:100%;max-height:none}
 .elk-end{padding:6vw 4%}
 .elk-page .elk-end-title{width:100%;margin-bottom:-4vw}
 .elk-end-art{min-height:0;grid-template-columns:1fr;gap:2vw}
 .elk-end-front,.elk-end-red{grid-column:1;grid-row:auto;margin:0 auto;max-width:95%;transform:none}
 .elk-end-red{grid-row:1;width:75%;justify-self:end}
 .elk-end-front{grid-row:2;width:92%;justify-self:start}
}
@media(max-width:520px){
 .elk-hero{padding:6% 5% 0;grid-template-columns:60% 40%;align-items:center}
 .elk-intro{grid-template-columns:52% 48%;padding:2% 7% 6%;align-items:start}
 .elk-intro-copy{padding:0 5% 0 0}
 .elk-intro h1{font-size:clamp(16px,4.1vw,24px)}
 .elk-intro p{font-size:clamp(9px,2.15vw,12px);line-height:var(--body-leading);margin-bottom:1.6em}
 .elk-category{font-size:clamp(8px,1.9vw,11px)}
 .elk-intro-mark{align-self:start;margin-top:10%}
 .elk-duo{grid-template-columns:1fr;gap:28px;padding:7% 5% 10%}
 .elk-duo img:first-child,.elk-duo img:last-child{width:100%;justify-self:center}
}

/* Verified-element fixes: heading alignment, desktop hero scale, and tight dancer/DJ pairing. */
.elk-intro h1 { position:relative; left:-4px; margin-bottom:4px; line-height:var(--heading-leading);font-weight:var(--heading-weight);letter-spacing:var(--heading-tracking);font-family:var(--editorial-font);overflow-wrap:anywhere;min-width:0;}
.elk-intro .elk-category { margin-top:0; line-height:var(--subtitle-leading);font-weight:var(--subtitle-weight);}
@media (min-width:801px) {
  .elk-hero img:first-child { width:125%; max-height:none; position:relative; z-index:2; }
  .elk-hero img:last-child { width:115%; max-height:none; transform:translateX(-15%); }
  .elk-duo { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:0; padding:2% 1%; align-items:center; }
  .elk-duo img:first-child, .elk-duo img:last-child { width:100%; }
}
@media (min-width: 701px) {
  .elk-page .elk-end-art > img.elk-end-front {
    width: 150%;
    max-width: none;
    margin-top: 14vw;
    transform: translateX(0);
  }
}
/* FINAL COLLAGE */
.elk-page .elk-end-art > .elk-end-front {
  transform: translate(10%, 35%) !important;
  z-index: 1;
}

.elk-page .elk-end-art > .elk-end-red {
  z-index: 2;
}

/* ELK CREEK BODY COPY */
.elk-page .elk-intro-copy > p:not(.elk-category) {
  font-weight:var(--body-weight);letter-spacing:var(--body-tracking);line-height:var(--body-leading);font-family:var(--editorial-font);}
@media (min-width: 701px) {
  .elk-page .elk-end-art > img.elk-end-front {
    transform: translate(5%, 10%) !important;
  }

  .elk-page .elk-end-art > img.elk-end-red {
    transform: translateY(-15%) !important;
  }

  .elk-page .elk-end {
    overflow: visible;
    padding-bottom: 12vw;
  }
}
.elk-intro .elk-category { font-weight:var(--subtitle-weight); line-height:var(--subtitle-leading); letter-spacing:.05em; }
/* Elk Creek — mobile composition */
@media (max-width: 800px) {

  /* Bring the opening artworks into interaction */
  .elk-hero {
    grid-template-columns: 60% 40%;
    padding: 6vw 5% 0;
  }

 .elk-hero img:first-child {
  width: 105%;
  max-width: none;
  max-height: none;
}

.elk-hero img:last-child {
  width: 100%;
  max-height: none;
  transform: translateX(-5%);
}

  /* Full-width introductory copy */
  .elk-intro {
    grid-template-columns: minmax(0, 1fr);
    padding: 8vw 7% 4vw;
    gap: 4vw;
  }

  .elk-intro-copy {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .elk-intro h1 {
    font-size: clamp(28px, 5vw, 40px);
    left: 0;
  }

  .elk-intro p {
    font-size: clamp(15px, 2.5vw, 18px);
  }

  /* Full logo beneath copy */
  .elk-intro-mark {
    width: 85%;
    margin: 0 auto;
  }

  .elk-intro-mark img {
    width: 100%;
    max-height: none;
  }

}

/* Raise final collage on mobile */
@media (max-width: 700px) {

  .elk-page .elk-end-art > .elk-end-front {
    transform: none !important;
    margin-top: -10vw;
  }

  .elk-end {
    padding-bottom: 5vw;
  }

}