/* DON'T YOU WANNA BE FINE? — video-first zine layout */
.dywbf-page {
  --paper: #e4a159;
  --ink: #162a22;
  --green: #124c36;
  --blue: #19194e;
  width: 100%;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.dywbf-page img {
  display: block;
  width: 100%;
  height: auto;
}

/* HERO */
.dywbf-hero {
  display: grid;
  grid-template-columns: minmax(230px, .62fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(3.5rem, 6vw, 5rem);
}

.dywbf-hero-copy { align-self: center; }

.dywbf-kicker,
.dywbf-about-kicker {
  margin: 0 0 1rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dywbf-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 7.2vw, 7.6rem);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.055em;
}

.dywbf-note {
  max-width: 19rem;
  margin: 1.25rem 0 0;
  font-size: .9rem;
  line-height: 1.55;
}

.dywbf-watch-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: inherit;
  font-size: .8rem;
  text-underline-offset: .28em;
}

.dywbf-hero-media { min-width: 0; }

.dywbf-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: .38rem;
  background: var(--green);
  box-shadow: 12px 14px 0 rgba(28, 30, 24, .14);
  transform: rotate(-.18deg);
}

.dywbf-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #080808;
}

.dywbf-stream-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.25rem;
  margin-top: 1.05rem;
  font-size: .82rem;
}

.dywbf-stream-links a {
  color: inherit;
  text-underline-offset: .25em;
}

/* MARQUEES */
.dywbf-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.dywbf-marquee-track {
  display: flex;
  width: max-content;
  animation: dywbf-marquee 23s linear infinite;
  will-change: transform;
}

.dywbf-marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 31s;
}

.dywbf-marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding-right: clamp(1.25rem, 3vw, 3rem);
}

.dywbf-marquee span { white-space: nowrap; }
.dywbf-marquee i { font-style: normal; opacity: .7; }

.dywbf-marquee-do {
  border-top: 1px solid rgba(24, 43, 35, .16);
  border-bottom: 1px solid rgba(24, 43, 35, .16);
  background: rgba(238, 233, 222, .62);
  color: rgba(211, 123, 43, .78);
}

.dywbf-marquee-do .dywbf-marquee-group {
  padding-top: .75rem;
  padding-bottom: .65rem;
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.05em;
}

/* ABOUT / LINER NOTES SPREAD */
.dywbf-about {
  position: relative;
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}

.dywbf-about-intro {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(340px, 1.04fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.dywbf-about-image,
.dywbf-collab-art {
  --drift-x: 0px;
  --drift-y: 0px;
  margin: 0;
  transition: transform .08s linear;
}

.dywbf-about-image {
  width: min(100%, 500px);
  transform: translate(var(--drift-x), var(--drift-y)) rotate(-.55deg);
}

.dywbf-about-image button,
.dywbf-collab-art button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.dywbf-about-image img,
.dywbf-collab-art img {
  box-shadow: 12px 14px 0 rgba(20, 34, 27, .12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.dywbf-about-copy {
  max-width: 39rem;
  padding-top: .2rem;
}

.dywbf-about-copy h2 {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  font-size: clamp(3.2rem, 6vw, 6.3rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.055em;
}

.dywbf-about-copy p {
  max-width: 34rem;
  margin: 0 0 1.2rem;
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.8;
}

.dywbf-collab-spread {
  position: relative;
  display: grid;
  gap: clamp(4rem, 8vw, 7rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.dywbf-collab-entry {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: clamp(430px, 43vw, 570px);
}

.dywbf-collab-name {
  position: absolute;
  z-index: 0;
  margin: 0;
  font-size: clamp(5.5rem, 12vw, 11.5rem);
  font-weight: 400;
  line-height: .7;
  letter-spacing: -.075em;
  color: rgba(22, 42, 34, .115);
  pointer-events: none;
  user-select: none;
}

.dywbf-collab-geoff .dywbf-collab-name {
  top: 0;
  left: 31%;
}

.dywbf-collab-devin .dywbf-collab-name {
  top: -.1em;
  right: 31%;
  text-align: right;
}

.dywbf-collab-art,
.dywbf-collab-copy {
  position: relative;
  z-index: 1;
}

.dywbf-collab-art {
  width: 100%;
}

.dywbf-collab-geoff .dywbf-collab-art {
  grid-column: 1 / span 5;
  transform: translate(var(--drift-x), var(--drift-y)) rotate(-1.15deg);
}

.dywbf-collab-geoff .dywbf-collab-copy {
  grid-column: 6 / span 5;
  margin: clamp(4rem, 9vw, 8rem) 0 0 clamp(1rem, 3vw, 3rem);
}

.dywbf-collab-devin .dywbf-collab-copy {
  grid-column: 3 / span 4;
  grid-row: 1;
  margin: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 3rem) 0 0;
}

.dywbf-collab-devin .dywbf-collab-art {
  grid-column: 8 / span 5;
  grid-row: 1;
  transform: translate(var(--drift-x), var(--drift-y)) rotate(1.05deg);
}

.dywbf-collab-role {
  display: inline-block;
  margin: 0 0 1rem !important;
  padding: .38rem .58rem .32rem;
  border: 1px solid rgba(22, 42, 34, .35);
  background: rgba(238, 233, 222, .24);
  font-size: .72rem !important;
  line-height: 1 !important;
  letter-spacing: .1em;
}

.dywbf-collab-copy {
  max-width: 31rem;
}

.dywbf-collab-copy p {
  margin: 0;
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.82;
}

.dywbf-collab-copy strong {
  font-weight: 700;
  letter-spacing: .01em;
}

.dywbf-about-quote {
  position: relative;
  width: min(1050px, 88%);
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid rgba(22, 42, 34, .22);
  border-bottom: 1px solid rgba(22, 42, 34, .22);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-style: normal;
  font-weight: 400;
  line-height: .87;
  letter-spacing: -.055em;
  text-align: center;
}

.dywbf-about-quote span { display: block; }
.dywbf-about-quote span:nth-child(2) { transform: translateX(3vw); }
.dywbf-about-quote span:nth-child(3) { transform: translateX(-2vw); }

/* SECOND MARQUEE */
.dywbf-marquee-title {
  margin: 0;
  color: rgba(24, 43, 35, .18);
  transform: rotate(-2deg) scale(1.03);
}

.dywbf-marquee-title .dywbf-marquee-group {
  padding-top: .4rem;
  padding-bottom: .4rem;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.055em;
}

/* ARTWORK COLLECTION */
.dywbf-gallery {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(5rem, 8vw, 8rem);
}

.dywbf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2rem);
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  align-items: center;
}

.dywbf-panel {
  --drift-x: 0px;
  --drift-y: 0px;
  --tilt: 0deg;
  margin: 0;
  transform: translate(var(--drift-x), var(--drift-y)) rotate(var(--tilt));
  transition: transform .08s linear;
}

.dywbf-panel button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.dywbf-panel img {
  box-shadow: 8px 10px 0 rgba(20, 34, 27, .11);
  transition: transform .3s ease, box-shadow .3s ease;
}

.panel-02 { grid-column: 1 / span 3; --tilt: .45deg; }
.panel-05 { grid-column: 5 / span 3; --tilt: -.35deg; }
.panel-04 { grid-column: 9 / span 4; --tilt: .35deg; }
.panel-06 { grid-column: 2 / span 4; --tilt: -.35deg; margin-top: clamp(.5rem, 2vw, 2rem); }
.panel-03 { grid-column: 7 / span 3; --tilt: .45deg; margin-top: clamp(1rem, 3vw, 3rem); }
.panel-07 { grid-column: 10 / span 3; --tilt: -.4deg; margin-top: clamp(1rem, 3vw, 3rem); }
.panel-08 { grid-column: 4 / span 6; --tilt: -.2deg; margin-top: clamp(1.5rem, 3vw, 3rem); }

/* OUTRO */
.dywbf-outro {
  display: grid;
  place-items: center;
  min-height: 58vh;
  padding: 5rem 20px;
  background: var(--blue);
  color: #e7a260;
  text-align: center;
}

.dywbf-outro-small {
  margin: 0 0 1rem;
  font-size: .72rem;
  letter-spacing: .18em;
}

.dywbf-outro h2 {
  margin: 0;
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.07em;
}

.dywbf-outro a {
  margin-top: 2rem;
  color: inherit;
  font-size: .85rem;
  text-underline-offset: .3em;
}

.dywbf-back {
  display: block;
  padding: 2rem 20px 4rem;
  background: var(--blue);
  color: #e7a260;
  font-size: .8rem;
}

/* LIGHTBOX */
.dywbf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: minmax(44px, 1fr) minmax(0, 86vw) minmax(44px, 1fr);
  align-items: center;
  background: rgba(15, 18, 16, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.dywbf-lightbox.is-open { opacity: 1; visibility: visible; }
.dywbf-lightbox-image-wrap { display: grid; place-items: center; max-height: 92vh; }
.dywbf-lightbox-image-wrap img { width: auto; max-width: 86vw; max-height: 92vh; object-fit: contain; box-shadow: none; }

.dywbf-lightbox-close,
.dywbf-lightbox-arrow {
  border: 0;
  background: none;
  color: #e5a35e;
  cursor: pointer;
  font: inherit;
}

.dywbf-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  font-size: 2rem;
  line-height: 1;
}

.dywbf-lightbox-arrow { padding: 2rem 1rem; font-size: 1.6rem; }
.dywbf-lightbox-prev { justify-self: end; }
.dywbf-lightbox-next { justify-self: start; }

@keyframes dywbf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (hover: hover) and (pointer: fine) {
  .dywbf-panel button:hover img,
  .dywbf-about-image button:hover img,
  .dywbf-collab-art button:hover img {
    transform: translateY(-5px) scale(1.012);
    box-shadow: 13px 15px 0 rgba(20, 34, 27, .15);
  }

  .dywbf-video-frame {
    transition: transform .35s ease, box-shadow .35s ease;
  }

  .dywbf-video-frame:hover {
    transform: translateY(-4px) rotate(.12deg);
    box-shadow: 16px 18px 0 rgba(28, 30, 24, .17);
  }
}

@media (max-width: 980px) {
  .dywbf-hero,
  .dywbf-about-intro {
    grid-template-columns: 1fr;
  }

  .dywbf-hero {
    gap: 2.5rem;
    width: min(860px, calc(100% - 32px));
    padding-top: 3rem;
  }

  .dywbf-hero-copy { max-width: 38rem; }
  .dywbf-hero h1 { font-size: clamp(4rem, 14vw, 7rem); }

  .dywbf-about {
    width: min(900px, calc(100% - 32px));
  }

  .dywbf-about-image {
    width: min(620px, 82%);
  }

  .dywbf-about-copy {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
  }

  .dywbf-collab-entry {
    min-height: 420px;
  }

  .dywbf-collab-geoff .dywbf-collab-art { grid-column: 1 / span 6; }
  .dywbf-collab-geoff .dywbf-collab-copy { grid-column: 7 / span 6; }
  .dywbf-collab-devin .dywbf-collab-copy { grid-column: 1 / span 6; }
  .dywbf-collab-devin .dywbf-collab-art { grid-column: 7 / span 6; }

  .dywbf-gallery-grid {
    width: min(860px, calc(100% - 32px));
  }
}

@media (max-width: 700px) {
  .dywbf-hero { padding: 2.5rem 0 3rem; }
  .dywbf-note { max-width: 23rem; }

  .dywbf-marquee-do .dywbf-marquee-group,
  .dywbf-marquee-title .dywbf-marquee-group {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .dywbf-about {
    width: min(100%, calc(100% - 32px));
    padding: 4rem 0 5rem;
  }

  .dywbf-about-image {
    width: 92%;
    margin: 0 auto;
  }

  .dywbf-about-copy h2 {
    font-size: clamp(2.8rem, 13vw, 4.7rem);
  }

  .dywbf-about-copy p,
  .dywbf-collab-copy p {
    font-size: .92rem;
    line-height: 1.7;
  }

  .dywbf-collab-spread {
    gap: 5rem;
    margin-top: 4.5rem;
  }

  .dywbf-collab-entry {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .dywbf-collab-name,
  .dywbf-collab-geoff .dywbf-collab-name,
  .dywbf-collab-devin .dywbf-collab-name {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    order: 0;
    margin: 0 0 -.12em;
    font-size: clamp(4.3rem, 20vw, 7rem);
    line-height: .72;
    text-align: left;
    color: rgba(22, 42, 34, .2);
  }

  .dywbf-collab-art,
  .dywbf-collab-geoff .dywbf-collab-art,
  .dywbf-collab-devin .dywbf-collab-art {
    order: 1;
    width: 88%;
    margin: 0 auto;
  }

  .dywbf-collab-copy,
  .dywbf-collab-geoff .dywbf-collab-copy,
  .dywbf-collab-devin .dywbf-collab-copy {
    order: 2;
    max-width: 34rem;
    margin: 1.5rem 0 0;
  }

  .dywbf-about-quote {
    width: 100%;
    margin-top: 5rem;
    text-align: left;
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .dywbf-about-quote span:nth-child(2),
  .dywbf-about-quote span:nth-child(3) {
    transform: none;
  }

  .dywbf-gallery {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .dywbf-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }

  .panel-02,
  .panel-05,
  .panel-04,
  .panel-06,
  .panel-03,
  .panel-07,
  .panel-08 {
    grid-column: auto;
    margin-top: 0;
  }

  .panel-08 {
    grid-column: 1 / -1;
    width: 78%;
    justify-self: center;
  }

  .dywbf-outro { min-height: 52vh; }
  .dywbf-lightbox { grid-template-columns: 42px minmax(0, 1fr) 42px; }
  .dywbf-lightbox-image-wrap img { max-width: calc(100vw - 84px); max-height: 84vh; }
  .dywbf-lightbox-arrow { padding: 1rem .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dywbf-page *,
  .dywbf-page *::before,
  .dywbf-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .dywbf-marquee-track { animation: none !important; }
  .dywbf-panel { transform: rotate(var(--tilt)); }
  .dywbf-about-image,
  .dywbf-collab-art { transform: none; }
}

/* collaborator name legibility + gentle drift */
.dywbf-collab-name {
  --name-float-x: 6px;
  --name-float-y: -4px;
  z-index: 3;
  font-size: clamp(4.6rem, 9.3vw, 8.8rem);
  color: rgba(22, 42, 34, .58);
  text-shadow: 2px 2px 0 rgba(228, 161, 89, .5);
  animation: dywbf-name-float 6.5s ease-in-out infinite alternate;
  will-change: transform;
}

.dywbf-collab-geoff .dywbf-collab-name {
  top: -.34em;
  left: 41%;
  --name-float-x: 8px;
  --name-float-y: -5px;
}

.dywbf-collab-devin .dywbf-collab-name {
  top: -.36em;
  right: 41%;
  --name-float-x: -8px;
  --name-float-y: -5px;
  animation-delay: -2.4s;
}

@keyframes dywbf-name-float {
  from { transform: translate(0, 0); }
  to { transform: translate(var(--name-float-x), var(--name-float-y)); }
}

@media (max-width: 700px) {
  .dywbf-collab-name,
  .dywbf-collab-geoff .dywbf-collab-name,
  .dywbf-collab-devin .dywbf-collab-name {
    font-size: clamp(3.7rem, 17vw, 6.2rem);
    color: rgba(22, 42, 34, .62);
    text-shadow: 1px 1px 0 rgba(228, 161, 89, .55);
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dywbf-collab-name { animation: none !important; }
}

/* featured about artwork — independent float layered over scroll drift */
@media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
  .dywbf-about-image {
    animation: dywbf-about-float 7.8s ease-in-out infinite alternate;
    will-change: transform;
  }
}

@keyframes dywbf-about-float {
  0% {
    transform: translate(calc(var(--drift-x) - 4px), calc(var(--drift-y) + 3px)) rotate(-.85deg);
  }
  50% {
    transform: translate(calc(var(--drift-x) + 8px), calc(var(--drift-y) - 9px)) rotate(-.1deg);
  }
  100% {
    transform: translate(calc(var(--drift-x) + 15px), calc(var(--drift-y) - 14px)) rotate(.55deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dywbf-about-image { animation: none !important; }
}

/* blue interruption behind the about-song spread */
.dywbf-about-intro {
  position: relative;
  isolation: isolate;
}

.dywbf-about-intro::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  top: 28%;
  height: clamp(95px, 10vw, 145px);
  z-index: 0;
  background: rgba(25, 25, 78, .24);
  transform: translateX(-50%) rotate(-.45deg);
  transform-origin: center;
  pointer-events: none;
}

.dywbf-about-image,
.dywbf-about-copy {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .dywbf-about-intro::before {
    top: 22%;
    height: 84px;
    transform: translateX(-50%) rotate(-.7deg);
  }
}
