/**
 * LBPA single project page
 * Scoped to .lbpa-project-page so the existing compiled theme CSS remains intact.
 */

.lbpa-project-page {
  --lbpa-navy: #1a3045;
  --lbpa-navy-deep: #11263a;
  --lbpa-blue: #224082;
  --lbpa-clay: #ae583c;
  --lbpa-clay-dark: #8e442f;
  --lbpa-ink: #253443;
  --lbpa-copy: #5f6266;
  --lbpa-gray: #6d6f72;
  --lbpa-muted: #76797d;
  --lbpa-line: #d8dadd;
  --lbpa-soft: #f3f3f1;
  --lbpa-white: #ffffff;
  --lbpa-display: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --lbpa-body: "Open Sans", Arial, sans-serif;
  color: var(--lbpa-copy);
  font-family: var(--lbpa-body);
  overflow: hidden;
}

.lbpa-project-page *,
.lbpa-project-page *::before,
.lbpa-project-page *::after {
  box-sizing: border-box;
}

.lbpa-project-page h1,
.lbpa-project-page h2,
.lbpa-project-page h3,
.lbpa-project-page p,
.lbpa-project-page ul {
  margin-top: 0;
}

.lbpa-project-page h1,
.lbpa-project-page h2,
.lbpa-project-page h3 {
  color: var(--lbpa-navy);
  font-family: var(--lbpa-display);
  font-weight: 700;
  line-height: 1.08;
}

.lbpa-project-page a {
  text-decoration: none;
}

.lbpa-project-page a:focus-visible,
.lbpa-project-page button:focus-visible {
  outline: 3px solid var(--lbpa-clay);
  outline-offset: 4px;
}

.lbpa-project-page svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* Hero */
.lbpa-project-hero {
  background: var(--lbpa-navy);
  color: var(--lbpa-white);
  min-height: clamp(31rem, 58vw, 45rem);
  position: relative;
  isolation: isolate;
}

.lbpa-project-hero.has-image {
  background-image: var(--lbpa-project-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.lbpa-project-hero__overlay {
  background:
    linear-gradient(90deg, rgba(11, 25, 38, 0.88) 0%, rgba(11, 25, 38, 0.66) 35%, rgba(11, 25, 38, 0.12) 73%, rgba(11, 25, 38, 0.02) 100%),
    linear-gradient(0deg, rgba(11, 25, 38, 0.36), rgba(11, 25, 38, 0.05) 45%);
  inset: 0;
  position: absolute;
  z-index: -1;
}

.lbpa-project-hero__inner {
  display: flex;
  flex-direction: column;
  min-height: inherit;
  padding-bottom: clamp(3.25rem, 7vw, 6rem);
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
}

.lbpa-project-back-link {
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: fit-content;
}

.lbpa-project-back-link:hover,
.lbpa-project-back-link:focus {
  color: var(--lbpa-white);
}

.lbpa-project-back-link span {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.lbpa-project-back-link:hover span,
.lbpa-project-back-link:focus span {
  transform: translateX(-0.2rem);
}

.lbpa-project-hero__content {
  margin-top: auto;
  max-width: 46rem;
}

.lbpa-project-hero__client {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--lbpa-display);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.lbpa-project-hero__client a {
  color: inherit;
}

.lbpa-project-hero__client a:hover,
.lbpa-project-hero__client a:focus {
  color: var(--lbpa-white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lbpa-project-page .lbpa-project-hero__title {
  color: var(--lbpa-white);
  font-size: clamp(3rem, 7vw, 6.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  max-width: 52rem;
  text-transform: uppercase;
}

.lbpa-project-hero__rule {
  background: var(--lbpa-clay);
  display: block;
  height: 3px;
  margin-bottom: 1.25rem;
  width: min(21rem, 72%);
}

.lbpa-project-hero__location {
  align-items: center;
  color: var(--lbpa-white);
  display: flex;
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  font-weight: 600;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.lbpa-project-hero__location svg {
  height: 1.2rem;
  width: 1.2rem;
}

.lbpa-project-hero__market {
  color: var(--lbpa-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0;
  text-transform: uppercase;
}

/* Overview and facts */
.lbpa-project-summary {
  background: var(--lbpa-white);
}

.lbpa-project-summary__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.45fr);
  padding-left: 0;
  padding-right: 0;
}

.lbpa-project-overview {
  background: var(--lbpa-navy);
  color: var(--lbpa-white);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4.2vw, 4rem);
}

.lbpa-project-page .lbpa-project-overview h2,
.lbpa-project-page .lbpa-project-team h2,
.lbpa-project-page .lbpa-project-cta h2 {
  color: var(--lbpa-white);
}

.lbpa-project-overview h2,
.lbpa-project-facts > h2,
.lbpa-project-detail h2,
.lbpa-project-team h2,
.lbpa-related-projects h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.lbpa-project-overview p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.7rem;
}

.lbpa-project-overview__actions {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lbpa-project-button {
  align-items: center;
  border: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 0.65rem;
  justify-content: center;
  letter-spacing: 0.06em;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lbpa-project-button svg {
  height: 1.1rem;
  transition: transform 160ms ease;
  width: 1.1rem;
}

.lbpa-project-button:hover svg,
.lbpa-project-button:focus svg {
  transform: translateX(0.2rem);
}

.lbpa-project-button--outline {
  color: var(--lbpa-white);
}

.lbpa-project-button--outline:hover,
.lbpa-project-button--outline:focus {
  background: var(--lbpa-white);
  border-color: var(--lbpa-white);
  color: var(--lbpa-navy);
}

.lbpa-project-button--accent {
  background: var(--lbpa-clay);
  border-color: var(--lbpa-clay);
  color: var(--lbpa-white);
}

.lbpa-project-button--accent:hover,
.lbpa-project-button--accent:focus {
  background: var(--lbpa-clay-dark);
  border-color: var(--lbpa-clay-dark);
  color: var(--lbpa-white);
  transform: translateY(-2px);
}

.lbpa-project-facts {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4.2vw, 4rem);
}

.lbpa-project-facts > h2 {
  color: var(--lbpa-gray);
  font-weight: 400;
}

.lbpa-project-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lbpa-project-fact {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.3rem 1.2rem;
  text-align: center;
}

.lbpa-project-fact + .lbpa-project-fact {
  border-left: 1px solid var(--lbpa-line);
}

.lbpa-project-fact__icon {
  color: var(--lbpa-clay);
  display: block;
  margin-bottom: 0.9rem;
}

.lbpa-project-fact__icon svg {
  height: 2.35rem;
  width: 2.35rem;
}

.lbpa-project-fact strong {
  color: var(--lbpa-navy);
  display: block;
  font-family: var(--lbpa-display);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.lbpa-project-fact > span:last-child {
  color: var(--lbpa-copy);
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  margin-top: 0.45rem;
}

/* Gallery */
.lbpa-project-gallery {
  background: var(--lbpa-white);
  scroll-margin-top: 2rem;
}

.lbpa-project-gallery__track {
  display: grid;
  grid-auto-rows: clamp(15rem, 27vw, 25rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.lbpa-project-gallery__item {
  background: var(--lbpa-soft);
  display: block;
  overflow: hidden;
  position: relative;
}

.lbpa-project-gallery__item::after {
  background: rgba(26, 48, 69, 0.1);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 180ms ease;
}

.lbpa-project-gallery__item:hover::after,
.lbpa-project-gallery__item:focus::after {
  opacity: 1;
}

.lbpa-project-gallery__item img {
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
  width: 100%;
}

.lbpa-project-gallery__item:hover img,
.lbpa-project-gallery__item:focus img {
  transform: scale(1.025);
}

.lbpa-project-gallery__item:nth-child(4n + 1) {
  grid-column: span 2;
}

.lbpa-project-gallery__item:nth-child(4n + 4) {
  grid-column: span 2;
}

.lbpa-project-gallery__legacy {
  padding-bottom: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(2rem, 5vw, 4rem);
}

.lbpa-project-gallery__legacy img {
  height: auto;
  max-width: 100%;
}

.lbpa-project-gallery__legacy .flexslider,
.lbpa-project-gallery__legacy .metaslider {
  margin-bottom: 0;
  max-width: none !important;
}


.lbpa-project-gallery__item {
  cursor: zoom-in;
}

.lbpa-project-gallery__zoom {
  align-items: center;
  background: rgba(11, 25, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: var(--lbpa-white);
  display: flex;
  font-family: var(--lbpa-display);
  font-size: 1.7rem;
  font-weight: 300;
  height: 3rem;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  position: absolute;
  right: 1rem;
  top: 1rem;
  transform: translateY(-0.25rem);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  width: 3rem;
  z-index: 2;
}

.lbpa-project-gallery__item:hover .lbpa-project-gallery__zoom,
.lbpa-project-gallery__item:focus .lbpa-project-gallery__zoom {
  opacity: 1;
  transform: translateY(0);
}

.lbpa-project-lightbox {
  background: rgba(11, 25, 38, 0.94);
}

.lbpa-project-lightbox .modal-dialog {
  height: 100%;
  margin: 0;
  max-width: none;
  width: 100%;
}

.lbpa-project-lightbox .modal-content {
  background: var(--lbpa-blue);
  border: 0;
  border-radius: 0;
  color: var(--lbpa-white);
  min-height: 100%;
}

.lbpa-project-lightbox__header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 3vw, 2rem);
}

.lbpa-project-lightbox__header .modal-title {
  color: var(--lbpa-white);
  font-family: var(--lbpa-display);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.lbpa-project-lightbox__close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--lbpa-white);
  cursor: pointer;
  display: flex;
  font-size: 2rem;
  height: 2.75rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 180ms ease, border-color 180ms ease;
  width: 2.75rem;
}

.lbpa-project-lightbox__close:hover,
.lbpa-project-lightbox__close:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.78);
  outline: 0;
}

.lbpa-project-lightbox__body {
  align-items: center;
  display: flex;
  min-height: calc(100vh - 5rem);
  padding: 0;
}

.lbpa-project-lightbox__carousel,
.lbpa-project-lightbox .carousel-inner,
.lbpa-project-lightbox .carousel-item {
  width: 100%;
}

.lbpa-project-lightbox__slide {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(1rem, 3vw, 2rem) clamp(3.75rem, 7vw, 6rem);
}

.lbpa-project-lightbox__image {
  display: block;
  height: auto;
  max-height: calc(100vh - 10rem);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.lbpa-project-lightbox__meta {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 56rem;
  text-align: center;
}

.lbpa-project-lightbox__counter {
  color: rgba(255, 255, 255, 0.62);
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.lbpa-project-lightbox__meta p {
  margin: 0;
}

.lbpa-project-lightbox__control {
  bottom: 0;
  opacity: 0.82;
  top: 0;
  width: clamp(3.25rem, 7vw, 5.75rem);
}

.lbpa-project-lightbox__control:hover,
.lbpa-project-lightbox__control:focus {
  opacity: 1;
}

.lbpa-project-lightbox__control .carousel-control-prev-icon,
.lbpa-project-lightbox__control .carousel-control-next-icon {
  background-color: rgba(11, 25, 38, 0.82);
  background-size: 58%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  height: 3.25rem;
  width: 3.25rem;
}

.lbpa-project-lightbox__control .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

.lbpa-project-lightbox__control .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* Project narrative */
.lbpa-project-detail {
  background: var(--lbpa-white);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
}

.lbpa-project-detail__grid {
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr);
}

.lbpa-project-detail__grid--single {
  display: block;
}

.lbpa-project-detail__grid--single .lbpa-project-detail__content {
  max-width: 55rem;
}

.lbpa-project-detail__content {
  border-right: 1px solid var(--lbpa-line);
  padding-right: clamp(2rem, 5vw, 5rem);
}

.lbpa-project-detail__grid--single .lbpa-project-detail__content {
  border-right: 0;
  padding-right: 0;
}

.lbpa-project-detail__content.entry-content {
  line-height: 1.75;
  margin-bottom: 0;
  margin-top: 0;
}

.lbpa-project-detail__content.entry-content > *:first-child + * {
  margin-top: 0;
}

.lbpa-project-detail__content p,
.lbpa-project-detail__content li {
  color: var(--lbpa-copy);
  font-size: 0.97rem;
  line-height: 1.78;
}

.lbpa-project-detail__content p:last-child {
  margin-bottom: 0;
}

.lbpa-project-detail__content ul,
.lbpa-project-detail__content ol {
  padding-left: 1.25rem;
}

.lbpa-project-detail__content a {
  color: var(--lbpa-blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.lbpa-project-detail__content a:hover,
.lbpa-project-detail__content a:focus {
  color: var(--lbpa-clay);
}

.lbpa-project-highlights h2 {
  margin-bottom: 1.4rem;
}

.lbpa-project-highlights ul {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.lbpa-project-highlights li {
  align-items: flex-start;
  color: var(--lbpa-copy);
  display: flex;
  font-size: 0.95rem;
  gap: 0.8rem;
  line-height: 1.55;
  padding: 0.55rem 0;
}

.lbpa-project-highlights__icon {
  color: var(--lbpa-clay);
  flex: 0 0 auto;
  margin-top: 0.05rem;
}

.lbpa-project-highlights__icon svg {
  height: 1.25rem;
  width: 1.25rem;
}

.lbpa-project-highlights__content {
  display: grid;
  gap: 0.2rem;
}

.lbpa-project-highlights__content strong {
  color: var(--lbpa-navy);
  font-size: 1rem;
}

.lbpa-project-highlights__content > span {
  color: var(--lbpa-muted);
  display: block;
}

.lbpa-project-awards {
  border-top: 1px solid var(--lbpa-line);
  margin-top: 2.25rem;
  padding-top: 2rem;
}

.lbpa-project-awards h3 {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.lbpa-project-awards ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lbpa-project-awards li {
  border-bottom: 1px solid var(--lbpa-line);
  padding: 0.65rem 0;
}

.lbpa-project-awards a {
  color: var(--lbpa-blue);
  font-weight: 700;
}

.lbpa-project-awards a:hover,
.lbpa-project-awards a:focus {
  color: var(--lbpa-clay);
}


/* Project story sidebar */
.lbpa-project-sidebar {
  min-width: 0;
}

.lbpa-project-sidebar__section + .lbpa-project-sidebar__section {
  border-top: 1px solid var(--lbpa-line);
  margin-top: 2.25rem;
  padding-top: 2rem;
}

.lbpa-project-sidebar__section h2,
.lbpa-project-awards h2 {
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.lbpa-project-sidebar .lbpa-project-awards {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.lbpa-project-awards li:last-child,
.lbpa-project-client-projects li:last-child {
  border-bottom: 0;
}

.lbpa-project-awards a {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.lbpa-project-awards a span {
  min-width: 0;
}

.lbpa-project-awards small {
  color: var(--lbpa-muted);
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

.lbpa-project-client-projects__client {
  color: var(--lbpa-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.lbpa-project-client-projects ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lbpa-project-client-projects li {
  border-bottom: 1px solid var(--lbpa-line);
}

.lbpa-project-client-projects a {
  align-items: center;
  color: var(--lbpa-blue);
  display: flex;
  font-size: 0.93rem;
  font-weight: 700;
  gap: 0.75rem;
  justify-content: space-between;
  line-height: 1.4;
  padding: 0.75rem 0;
}

.lbpa-project-client-projects a:hover,
.lbpa-project-client-projects a:focus {
  color: var(--lbpa-clay);
}

.lbpa-project-client-projects svg {
  flex: 0 0 auto;
  height: 1rem;
  transition: transform 160ms ease;
  width: 1rem;
}

.lbpa-project-client-projects a:hover svg,
.lbpa-project-client-projects a:focus svg {
  transform: translateX(0.2rem);
}

/* Project videos */
.lbpa-project-videos {
  background: var(--lbpa-soft);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.lbpa-project-videos__header {
  margin-bottom: 1.75rem;
  max-width: 44rem;
}

.lbpa-project-videos__header h2 {
  margin-bottom: 0.55rem;
}

.lbpa-project-videos__header p {
  color: var(--lbpa-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.lbpa-project-videos__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lbpa-project-video-card {
  background: var(--lbpa-white);
  box-shadow: 0 1rem 2.5rem rgba(17, 38, 58, 0.08);
  min-width: 0;
}

.lbpa-project-video-card__media {
  aspect-ratio: 16 / 9;
  background: var(--lbpa-navy-deep);
  display: block;
  overflow: hidden;
  position: relative;
}

.lbpa-project-video-card__media img,
.lbpa-project-video-card__placeholder {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 300ms ease, opacity 300ms ease;
  width: 100%;
}

.lbpa-project-video-card__placeholder {
  background:
    linear-gradient(135deg, rgba(26, 48, 69, 0.96), rgba(34, 64, 130, 0.72)),
    var(--lbpa-navy);
}

.lbpa-project-video-card__media::after {
  background: linear-gradient(0deg, rgba(11, 25, 38, 0.42), transparent 58%);
  content: "";
  inset: 0;
  position: absolute;
}

.lbpa-project-video-card__media:hover img,
.lbpa-project-video-card__media:focus img {
  transform: scale(1.035);
}

.lbpa-project-video-card__play {
  align-items: center;
  background: var(--lbpa-clay);
  border-radius: 50%;
  color: var(--lbpa-white);
  display: flex;
  height: 4rem;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 160ms ease, transform 160ms ease;
  width: 4rem;
  z-index: 2;
}

.lbpa-project-video-card__media:hover .lbpa-project-video-card__play,
.lbpa-project-video-card__media:focus .lbpa-project-video-card__play {
  background: var(--lbpa-clay-dark);
  transform: translate(-50%, -50%) scale(1.05);
}

.lbpa-project-video-card__play svg {
  fill: currentColor;
  height: 1.7rem;
  margin-left: 0.15rem;
  stroke: none;
  width: 1.7rem;
}

.lbpa-project-video-card__play svg circle {
  display: none;
}

.lbpa-project-video-card__play svg path {
  fill: currentColor;
  stroke: none;
}

.lbpa-project-video-card__duration {
  background: rgba(11, 25, 38, 0.9);
  bottom: 0.75rem;
  color: var(--lbpa-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.5rem;
  position: absolute;
  right: 0.75rem;
  z-index: 2;
}

.lbpa-project-video-card__body {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.lbpa-project-video-card__body h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin-bottom: 0.65rem;
}

.lbpa-project-video-card__body h3 a {
  color: var(--lbpa-navy);
}

.lbpa-project-video-card__body h3 a:hover,
.lbpa-project-video-card__body h3 a:focus {
  color: var(--lbpa-clay);
}

.lbpa-project-video-card__body p {
  color: var(--lbpa-copy);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.lbpa-project-video-card__link {
  align-items: center;
  color: var(--lbpa-blue);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lbpa-project-video-card__link:hover,
.lbpa-project-video-card__link:focus {
  color: var(--lbpa-clay);
}

.lbpa-project-video-card__link svg {
  height: 1rem;
  transition: transform 160ms ease;
  width: 1rem;
}

.lbpa-project-video-card__link:hover svg,
.lbpa-project-video-card__link:focus svg {
  transform: translateX(0.2rem);
}

/* Team */
.lbpa-project-team {
  background: var(--lbpa-navy);
  color: var(--lbpa-white);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.lbpa-project-team__inner {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.lbpa-project-team__inner > div {
  flex: 1 1 auto;
  min-width: 0;
}

.lbpa-project-team__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.4rem;
}

.lbpa-project-team-member {
  align-items: center;
  color: var(--lbpa-white);
  display: inline-flex;
  gap: 0.9rem;
  min-width: 13rem;
}

.lbpa-project-team-member:hover,
.lbpa-project-team-member:focus {
  color: var(--lbpa-white);
}

.lbpa-project-team-member__photo {
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  display: flex;
  flex: 0 0 4.25rem;
  height: 4.25rem;
  justify-content: center;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
  width: 4.25rem;
}

.lbpa-project-team-member:hover .lbpa-project-team-member__photo,
.lbpa-project-team-member:focus .lbpa-project-team-member__photo {
  border-color: var(--lbpa-clay);
  transform: translateY(-2px);
}

.lbpa-project-team-member__photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.lbpa-project-team-member__photo > span {
  color: var(--lbpa-white);
  font-family: var(--lbpa-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.lbpa-project-team-member__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.lbpa-project-team-member__text strong {
  color: var(--lbpa-white);
  font-size: 0.9rem;
}

.lbpa-project-team-member__text span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

/* Related projects */
.lbpa-related-projects {
  background: var(--lbpa-white);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.lbpa-related-projects__header {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.lbpa-related-projects__header h2 {
  margin-bottom: 0;
}

.lbpa-related-projects__header > a {
  align-items: center;
  color: var(--lbpa-blue);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lbpa-related-projects__header > a:hover,
.lbpa-related-projects__header > a:focus {
  color: var(--lbpa-clay);
}

.lbpa-related-projects__header svg {
  height: 1rem;
  width: 1rem;
}

.lbpa-related-projects__grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lbpa-related-card {
  min-width: 0;
}

.lbpa-related-card__image {
  background: var(--lbpa-soft);
  display: block;
  overflow: hidden;
  position: relative;
}

.lbpa-related-card__image::before {
  content: "";
  display: block;
  padding-top: 62%;
}

.lbpa-related-card__image img,
.lbpa-related-card__placeholder {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 300ms ease;
  width: 100%;
}

.lbpa-related-card__placeholder {
  background:
    linear-gradient(135deg, rgba(26, 48, 69, 0.88), rgba(34, 64, 130, 0.66)),
    var(--lbpa-soft);
}

.lbpa-related-card:hover .lbpa-related-card__image img,
.lbpa-related-card:focus-within .lbpa-related-card__image img {
  transform: scale(1.035);
}

.lbpa-related-card__body {
  padding-top: 1rem;
}

.lbpa-related-card__body h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  margin-bottom: 0.35rem;
}

.lbpa-related-card__body h3 a {
  color: var(--lbpa-navy);
}

.lbpa-related-card__body h3 a:hover,
.lbpa-related-card__body h3 a:focus {
  color: var(--lbpa-clay);
}

.lbpa-related-card__body p {
  color: var(--lbpa-copy);
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.lbpa-related-card__body > span {
  color: var(--lbpa-clay);
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* CTA */
.lbpa-project-cta {
  background: var(--lbpa-navy-deep);
  color: var(--lbpa-white);
  isolation: isolate;
  min-height: 17rem;
  position: relative;
}

.lbpa-project-cta.has-image {
  background-image: var(--lbpa-project-cta-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.lbpa-project-cta__overlay {
  background: rgba(17, 38, 58, 0.82);
  inset: 0;
  position: absolute;
  z-index: -1;
}

.lbpa-project-cta__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding-bottom: 3rem;
  padding-top: 3rem;
  text-align: center;
}

.lbpa-project-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}

.lbpa-project-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  margin-bottom: 1.5rem;
}

/* Tablet */
@media (max-width: 1199.98px) {
  .lbpa-project-summary__grid {
    grid-template-columns: minmax(17rem, 0.9fr) minmax(0, 1.3fr);
  }

  .lbpa-project-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .lbpa-project-fact:nth-child(3) {
    border-left: 0;
  }

  .lbpa-project-detail__grid {
    gap: 3.5rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  }

  .lbpa-project-team__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 991.98px) {
  .lbpa-project-hero {
    min-height: 35rem;
  }

  .lbpa-project-hero__overlay {
    background:
      linear-gradient(90deg, rgba(11, 25, 38, 0.86) 0%, rgba(11, 25, 38, 0.58) 64%, rgba(11, 25, 38, 0.22) 100%),
      linear-gradient(0deg, rgba(11, 25, 38, 0.42), rgba(11, 25, 38, 0.05) 55%);
  }

  .lbpa-project-summary__grid {
    display: block;
  }

  .lbpa-project-facts__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lbpa-project-fact:nth-child(3) {
    border-left: 1px solid var(--lbpa-line);
  }

  .lbpa-project-gallery__track {
    grid-auto-rows: 18rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lbpa-project-gallery__item:nth-child(n) {
    grid-column: auto;
  }

  .lbpa-project-gallery__item:nth-child(3n + 1) {
    grid-column: span 2;
  }

  .lbpa-project-detail__grid {
    display: block;
  }

  .lbpa-project-detail__content {
    border-bottom: 1px solid var(--lbpa-line);
    border-right: 0;
    margin-bottom: 2.75rem;
    padding-bottom: 2.75rem;
    padding-right: 0;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .lbpa-project-page .container-xxl {
    --bs-gutter-x: 2rem;
  }

  .lbpa-project-hero {
    min-height: 32rem;
  }

  .lbpa-project-hero.has-image {
    background-position: 60% center;
  }

  .lbpa-project-hero__overlay {
    background: linear-gradient(90deg, rgba(11, 25, 38, 0.91) 0%, rgba(11, 25, 38, 0.68) 72%, rgba(11, 25, 38, 0.34) 100%);
  }

  .lbpa-project-page .lbpa-project-hero__title {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .lbpa-project-overview,
  .lbpa-project-facts {
    padding: 2.75rem 1.5rem;
  }

  .lbpa-project-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.2rem;
  }

  .lbpa-project-fact:nth-child(3) {
    border-left: 0;
  }

  .lbpa-project-gallery__track {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .lbpa-project-gallery__item,
  .lbpa-project-gallery__item:nth-child(n) {
    flex: 0 0 88%;
    height: 19rem;
    scroll-snap-align: start;
  }

  .lbpa-project-detail {
    padding-bottom: 3.75rem;
    padding-top: 3.75rem;
  }

  .lbpa-project-team__list {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .lbpa-project-team-member {
    min-width: 0;
    width: 100%;
  }

  .lbpa-related-projects__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .lbpa-related-projects__grid {
    grid-template-columns: 1fr;
  }

  .lbpa-related-card__image::before {
    padding-top: 58%;
  }
}

@media (max-width: 575.98px) {
  .lbpa-project-facts__grid {
    gap: 0;
  }

  .lbpa-project-fact {
    padding: 0.8rem 0.6rem;
  }

  .lbpa-project-fact:nth-child(n) {
    border-left: 0;
  }

  .lbpa-project-fact:nth-child(even) {
    border-left: 1px solid var(--lbpa-line);
  }

  .lbpa-project-fact:nth-child(n + 3) {
    border-top: 1px solid var(--lbpa-line);
    padding-top: 1.8rem;
  }

  .lbpa-project-fact strong {
    font-size: 1.35rem;
  }

  .lbpa-project-gallery__item,
  .lbpa-project-gallery__item:nth-child(n) {
    flex-basis: 94%;
    height: 16rem;
  }

  .lbpa-project-team__inner > .lbpa-project-button {
    width: 100%;
  }
}


@media (max-width: 767.98px) {
  .lbpa-project-videos__grid {
    grid-template-columns: 1fr;
  }

  .lbpa-project-video-card__play {
    height: 3.5rem;
    width: 3.5rem;
  }
}

@media (max-width: 767.98px) {
  .lbpa-project-lightbox__header {
    padding: 0.85rem 1rem;
  }

  .lbpa-project-lightbox__header .modal-title {
    font-size: 0.9rem;
  }

  .lbpa-project-lightbox__slide {
    padding-left: 3.35rem;
    padding-right: 3.35rem;
  }

  .lbpa-project-lightbox__image {
    max-height: calc(100vh - 11rem);
  }

  .lbpa-project-lightbox__control .carousel-control-prev-icon,
  .lbpa-project-lightbox__control .carousel-control-next-icon {
    height: 2.55rem;
    width: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lbpa-project-page *,
  .lbpa-project-page *::before,
  .lbpa-project-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .lbpa-project-back-link,
  .lbpa-project-button,
  .lbpa-project-lightbox,
  .lbpa-related-projects,
  .lbpa-project-cta {
    display: none !important;
  }

  .lbpa-project-hero {
    min-height: 12rem;
  }

  .lbpa-project-hero__overlay {
    background: rgba(26, 48, 69, 0.85);
  }

  .lbpa-project-gallery__track {
    grid-auto-rows: 12rem;
  }
}
