html.lenis {
    height: auto;
  }

  .lenis.lenis-smooth {
    scroll-behavior: auto;
  }

  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }

  .lenis.lenis-stopped {
    overflow: hidden;
  }

  .lenis.lenis-scrolling iframe {
     pointer-events: none;
  } 

	div.plyr__controls {
  	background: none !important;
    z-index: 100 !important;
  }
  div.plyr__controls > div.plyr__controls__item:first-child {
  	margin-left: auto;
    margin-right: 0;
  }
  
  .plyr video{
  	width: auto;
  }

  .relationship-video-embed .plyr,
  .relationship-video-embed .plyr__video-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }

  .relationship-video-embed .plyr video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Portfolio fullscreen embeds (Plyr) — same layout fix as relationship */
  .fullsize-lightbox .video-embed .plyr,
  .fullsize-lightbox .video-embed .plyr__video-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }

  .fullsize-lightbox .video-embed .plyr video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.w-webflow-badge {
  display: none !important;
}

/* Contact form (Webflow markup + PHP mail) */
.cta-form .weiss-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.cta-form.is-success form {
  display: none;
}
.cta-form.is-success .w-form-done {
  display: block;
}
.cta-form.is-fail .w-form-fail {
  display: block;
}
.cta-form .w-form-done,
.cta-form .w-form-fail {
  color: var(--th-white, #fff);
  background: transparent;
  padding: 1em 0;
  font-family: Closer Text, Arial, sans-serif;
  font-size: 1.125em;
  font-weight: 600;
  text-align: center;
}
.cta-form .w-form-fail {
  color: #ffb4b4;
}

/* Header — match Webflow sizing */
.brand img {
  width: 100%;
  height: auto;
  display: block;
}

#fixed-navigation {
  transform: translate(0, -150%);
  transition: transform 0.35s ease;
}

.page-news #fixed-navigation,
.page-projects #fixed-navigation {
  transform: translate(0, 0);
}

/* Projects listing */
.page-projects .site-navigation-wrapper {
  display: none;
}
.projects-nav-dot,
.projects-nav-spacer {
  transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.projects-nav-element.is-active .projects-nav-dot {
  width: 0.75em;
  border-radius: 50%;
}
.projects-nav-element.is-active .projects-nav-spacer {
  width: 2.5em;
}

/* News archive + articles — white fixed nav only */
.page-news .site-navigation-wrapper {
  display: none;
}

/* Desktop news layout only — mobile uses Webflow flex stack (≤479px) */
@media screen and (min-width: 480px) {
  .page-news .news-block-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 21em;
    grid-column-gap: 1.25em;
    align-items: start;
  }

  .page-news .news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .page-news .news-list-item {
    grid-row: span 2;
  }

  .page-news .news-list-item:nth-child(-n + 2) {
    grid-column: 1 / span 2;
    grid-row: span 3;
  }

  .page-news .liked-news-block > .news-like-title {
    font-family: Closer Text, Arial, sans-serif;
    font-size: 1.875em;
    font-weight: 600;
    line-height: 0.8;
    text-transform: uppercase;
    margin: 0;
  }

  .page-news .liked-news-item h3.news-card-title {
    font-family: Closer Text, Arial, sans-serif;
    font-size: 1.375em;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
  }

  .page-news .liked-news-list {
    row-gap: 2.5em;
  }
}

/* Portfolio project pages — transparent nav on hero, white fixed nav after scroll (nav.js) */

/* Who is Robert — Muddy Boots grid (image spans both rows like Webflow w-node) */
._2-cols-grid.about-robert-grid .project-pic {
  grid-area: span 2 / span 1 / span 2 / span 1;
}

/* Relationship — keep ticker copy on one line so the marquee can measure/loop */
.page-relationship .relationship-slogan-wrapper {
  width: max-content;
}
.page-relationship .h1.relationship-h1,
.page-relationship .h2.relationship-slogan {
  white-space: nowrap;
}
