:root {
  --gallery-bg: #080909;
  --gallery-paper: #f5f1e8;
  --gallery-paper-strong: #fffdf8;
  --gallery-ink: #131313;
  --gallery-muted: rgba(19, 19, 19, 0.66);
  --gallery-accent: #16a89f;
  --gallery-accent-soft: rgba(22, 168, 159, 0.14);
}

body.gallery-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(22, 168, 159, 0.14), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.07), transparent 18%),
    var(--gallery-bg);
  color: #fff;
}

body.gallery-page.lightbox-open {
  overflow: hidden;
}

.gallery-page .menu-item > .menu-link[href="./gallery.html"] .menu-roll-stack span:first-child,
.gallery-page .dj-footer-links a[href="./gallery.html"] .dj-roll-stack span:first-child {
  color: #abfff8;
}

.gallery-page .menu-item > .menu-link[href="./gallery.html"]::after,
.gallery-page .dj-footer-links a[href="./gallery.html"]::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.35rem;
  background: linear-gradient(90deg, rgba(22, 168, 159, 0), rgba(22, 168, 159, 0.96), rgba(22, 168, 159, 0));
}

.gallery-hero {
  position: relative;
  min-height: clamp(540px, 78vh, 780px);
  overflow: hidden;
  isolation: isolate;
  background: #050608;
}

.gallery-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: clamp(190px, 20vw, 300px);
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    #000 0%,
    #000 16%,
    rgba(0, 0, 0, 0.98) 30%,
    rgba(0, 0, 0, 0.86) 48%,
    rgba(0, 0, 0, 0.52) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.gallery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 22% 18%, rgba(22, 168, 159, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.18) 32%, rgba(0, 0, 0, 0.76) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-hero__topbar,
.gallery-hero__content {
  position: relative;
  z-index: 3;
}

.gallery-hero__content {
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: clamp(8rem, 14vh, 11rem) 0 clamp(3.5rem, 7vh, 5.5rem);
}

.gallery-hero__inner {
  width: min(1320px, calc(100vw - 2.5rem));
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  transform: translateY(-150px);
}

.gallery-hero__eyebrow {
  margin: 0;
  color: var(--gallery-accent);
  font-family: "Heatwood", "Yellowtail", cursive;
  font-size: clamp(1.14rem, 2.15vw, 1.97rem);
  line-height: 0.92;
  transform: translateY(-8px);
}

@media screen and (min-width: 992px) {
  .gallery-hero {
    min-height: clamp(408px, 59vh, 590px);
  }

  .gallery-hero__content {
    padding: clamp(6rem, 10.2vh, 8.2rem) 0 clamp(2.4rem, 5vh, 4rem);
  }

  .gallery-hero__title-wrap {
    width: fit-content;
  }

  .gallery-hero__script {
    align-self: center;
  }

  .gallery-hero__eyebrow {
    transform: translateY(21px) rotate(-3deg);
    transform-origin: left center;
  }
}

.gallery-hero__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.gallery-hero__title {
  margin: 0;
  font-family: "Uniqueen Bold", "Montserrat", sans-serif;
  font-size: clamp(4rem, 11vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  color: #f8f5ef;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

@media screen and (min-width: 992px) {
  .gallery-hero__title {
    font-size: clamp(3.4rem, 9.35vw, 9.35rem);
  }
}

.gallery-hero__script {
  margin: 0;
  color: #f8f5ef;
  font-family: "Heatwood", "Yellowtail", cursive;
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-style: normal;
  line-height: 1;
  transform: translateY(-0.2rem);
}

.gallery-hero__copy {
  max-width: 48rem;
  margin: 0;
  color: rgba(248, 245, 239, 0.88);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.8;
}

.gallery-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.gallery-hero__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  color: #f8f5ef;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-main {
  position: relative;
  display: block;
  background:
    linear-gradient(180deg, var(--gallery-paper) 0%, var(--gallery-paper-strong) 28%, var(--gallery-paper) 100%);
  color: var(--gallery-ink);
  overflow: hidden;
}

.gallery-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 2%, rgba(22, 168, 159, 0.12), transparent 20%),
    radial-gradient(circle at 92% 24%, rgba(0, 0, 0, 0.04), transparent 18%);
  pointer-events: none;
}

.gallery-section {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(5rem, 8vw, 7rem);
}

.gallery-shell {
  width: min(1520px, calc(100vw - 2rem));
  margin: 0 auto;
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.gallery-intro__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gallery-accent);
  font-family: "Marcellus", Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-intro__title {
  margin: 0;
  font-family: "Big Shoulders Display", "Oswald", sans-serif;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gallery-intro__copy,
.gallery-intro__aside {
  margin: 0;
  color: var(--gallery-muted);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.85;
}

.gallery-intro__aside {
  max-width: 28rem;
  justify-self: end;
}

.grid-scroll-wrapper {
  position: relative;
  width: min(82%, 1160px);
  margin: 0 auto;
  padding-top: 1.75rem;
}

.grid-scroll-inner {
  display: block;
  position: relative;
}

.masonry-item {
  --tile-width: calc(33.333% - 23px);
  --tile-offset: 0;
  width: var(--tile-width);
  margin-top: var(--tile-offset);
  margin-bottom: 42px;
  position: relative;
  overflow: visible;
  z-index: 1;
  filter: blur(6px);
  opacity: 0;
  transform: translateY(18px) scale(0.965) var(--tilt, rotate(0deg));
  transition:
    filter 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform, filter, opacity;
}

.masonry-item.tilt-1 { --tilt: rotate(0deg); }
.masonry-item.tilt-2 { --tilt: rotate(-1.4deg); }
.masonry-item.tilt-3 { --tilt: rotate(0.9deg); }
.masonry-item.tilt-4 { --tilt: rotate(0deg); }
.masonry-item.tilt-5 { --tilt: rotate(-0.8deg); }
.masonry-item.tilt-6 { --tilt: rotate(0deg); }
.masonry-item.tilt-7 { --tilt: rotate(1.15deg); }
.masonry-item.tilt-8 { --tilt: rotate(0deg); }

.masonry-item--wide {
  --tile-width: calc(66.666% - 11px);
}

.masonry-item--offset-sm {
  --tile-offset: 1rem;
}

.masonry-item--offset-md {
  --tile-offset: 2.4rem;
}

.masonry-item--offset-lg {
  --tile-offset: 4.25rem;
}

.masonry-item--offset-xl {
  --tile-offset: 5.75rem;
}

.masonry-item.is-visible {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0) scale(1) var(--tilt, rotate(0deg));
}

.masonry-item.is-visible:hover {
  z-index: 10;
  transform: translateY(-8px) scale(1.01) rotate(0deg);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.masonry-sizer {
  width: calc(33.333% - 23px);
}

.masonry-gutter {
  width: 34px;
}

.article-image-wrapper {
  --tile-ratio: 4 / 5;
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: var(--tile-ratio);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border-radius: 0;
  background: #000;
  box-shadow:
    0 20px 46px rgba(8, 15, 14, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.74);
  cursor: zoom-in;
  transition:
    box-shadow 0.55s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.masonry-item--portrait .article-image-wrapper {
  --tile-ratio: 4 / 5;
}

.masonry-item--tall .article-image-wrapper {
  --tile-ratio: 5 / 8;
}

.masonry-item--square .article-image-wrapper {
  --tile-ratio: 1 / 1;
}

.masonry-item--landscape .article-image-wrapper {
  --tile-ratio: 6 / 4;
}

.masonry-item--cinematic .article-image-wrapper {
  --tile-ratio: 7 / 4;
}

.article-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: saturate(0.98) contrast(1.02);
  transition:
    transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.article-image-wrapper:hover .article-image {
  transform: scale(1.03);
  filter: saturate(1.02) contrast(1.03) brightness(0.99);
}

.article-image-wrapper:not(:hover) .article-image {
  transition:
    transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.article-image-wrapper:hover {
  box-shadow:
    0 24px 54px rgba(8, 15, 14, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.82);
}

.article-overlay {
  display: none;
}

.article-info {
  display: none;
}

.article-name {
  display: none;
}

.article-type {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vw, 1.75rem);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(245, 255, 251, 0.26), rgba(232, 248, 241, 0.18)),
    rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  cursor: pointer;
}

.gallery-lightbox__dialog {
  --lightbox-frame: 110px;
  position: relative;
  z-index: 1;
  width: min(92vw, 1500px);
  max-height: calc(100vh - 2rem);
  display: grid;
  justify-items: center;
  gap: 1.4rem;
}

.gallery-lightbox__close {
  position: absolute;
  top: -0.2rem;
  right: 0;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  color: #083d35;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-100%);
}

.gallery-lightbox__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: auto;
  padding: var(--lightbox-frame);
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #16b0a4 0%, #16b0a4 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    0 32px 90px rgba(7, 51, 45, 0.18),
    0 0 70px rgba(22, 168, 159, 0.18);
}

@media screen and (min-width: 768px) {
  .gallery-lightbox__tile {
    background-color: #16b0a4;
    background-image:
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 58%),
      linear-gradient(180deg, #16b0a4 0%, #16b0a4 100%);
  }
}

.gallery-lightbox__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 25px 60px rgba(18, 45, 40, 0.18);
  overflow: hidden;
}

.gallery-lightbox__image {
  display: block;
  max-width: min(100%, calc(100vw - (var(--lightbox-frame) * 2) - 2rem));
  max-height: min(64vh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  color: #173330;
}

.gallery-lightbox__copy {
  display: grid;
  gap: 0.2rem;
}

.gallery-lightbox__type {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 51, 48, 0.7);
}

.gallery-lightbox__title {
  margin: 0;
  font-family: "Big Shoulders Display", "Oswald", sans-serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.gallery-lightbox__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gallery-lightbox__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.9rem;
  height: 3.9rem;
  border: 1px solid rgba(23, 51, 48, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: #173330;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 1.45rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.gallery-lightbox__nav:hover,
.gallery-lightbox__close:hover {
  transform: translateY(-2px);
}

.gallery-lightbox__close:hover {
  transform: translateY(calc(-100% - 2px));
}

.gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.68);
}

.gallery-lightbox__count {
  min-width: 4.5rem;
  margin: 0;
  text-align: center;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(23, 51, 48, 0.78);
}

@media screen and (max-width: 1440px) {
  .grid-scroll-wrapper {
    width: min(84%, 1100px);
  }

  .masonry-item,
  .masonry-sizer {
    width: calc(33.333% - 22px);
  }

  .masonry-item--wide {
    width: calc(66.666% - 11px);
  }

  .masonry-gutter {
    width: 32px;
  }

  .masonry-item {
    margin-bottom: 38px;
  }
}

@media screen and (max-width: 1120px) {
  .grid-scroll-wrapper {
    width: min(90%, 980px);
  }

  .masonry-item,
  .masonry-sizer {
    width: calc(33.333% - 19px);
  }

  .masonry-item--wide {
    width: calc(66.666% - 10px);
  }

  .masonry-gutter {
    width: 28px;
  }

  .masonry-item {
    margin-bottom: 34px;
  }
}

@media screen and (min-width: 992px) {
  .gallery-lightbox__dialog {
    --lightbox-frame: 55px;
    width: min(46vw, 750px);
  }

  .gallery-lightbox__image {
    max-width: min(100%, calc(46vw - (var(--lightbox-frame) * 2) - 2rem));
    max-height: min(32vh, 380px);
  }
}

@media screen and (max-width: 991px) {
  .grid-scroll-wrapper {
    width: 96%;
  }

  .masonry-item,
  .masonry-sizer {
    width: calc(50% - 18px);
  }

  .masonry-item--wide {
    width: calc(100% - 8px);
  }

  .masonry-gutter {
    width: 28px;
  }

  .masonry-item {
    --tile-offset: 0;
    margin-bottom: 28px;
  }

  .masonry-item--portrait .article-image-wrapper {
    --tile-ratio: 4 / 5;
  }

  .masonry-item--tall .article-image-wrapper {
    --tile-ratio: 5 / 7;
  }

  .masonry-item--landscape .article-image-wrapper {
    --tile-ratio: 5 / 4;
  }

  .masonry-item--cinematic .article-image-wrapper {
    --tile-ratio: 3 / 2;
  }
}

@media screen and (max-width: 767px) {
  .gallery-hero {
    min-height: clamp(408px, 59vh, 590px);
  }

  .gallery-hero__content {
    padding: 6.3rem 0 2.4rem;
  }

  .gallery-hero__inner {
    transform: translateY(-150px) scale(0.85);
    transform-origin: top left;
  }

  .gallery-hero__title-wrap {
    width: fit-content;
  }

  .gallery-hero__title {
    font-size: clamp(4.6rem, 12.65vw, 12.65rem);
  }

  .gallery-hero__script {
    align-self: center;
  }

  .gallery-hero__eyebrow {
    transform: translateY(20px) rotate(-4deg);
    transform-origin: left center;
  }

  .gallery-shell {
    width: min(100%, calc(100vw - 1rem));
  }

  .grid-scroll-wrapper {
    width: 96%;
  }

  .masonry-item,
  .masonry-sizer {
    width: calc(50% - 12px);
  }

  .masonry-item--wide {
    width: 100%;
  }

  .masonry-gutter {
    width: 24px;
  }

  .masonry-item {
    --tile-offset: 0;
    margin-bottom: 22px;
  }

  .masonry-item.tilt-1 { --tilt: rotate(0deg); }
  .masonry-item.tilt-2 { --tilt: rotate(-0.8deg); }
  .masonry-item.tilt-3 { --tilt: rotate(0.55deg); }
  .masonry-item.tilt-4 { --tilt: rotate(0deg); }
  .masonry-item.tilt-5 { --tilt: rotate(-0.45deg); }
  .masonry-item.tilt-6 { --tilt: rotate(0deg); }
  .masonry-item.tilt-7 { --tilt: rotate(0.7deg); }
  .masonry-item.tilt-8 { --tilt: rotate(0deg); }

  .gallery-lightbox__dialog {
    --lightbox-frame: 56px;
    width: min(96vw, 1500px);
  }

  .gallery-lightbox__tile {
    padding: var(--lightbox-frame);
  }

  .gallery-lightbox__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-lightbox__controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media screen and (max-width: 479px) {
  .gallery-hero__inner {
    width: calc(100vw - 1.25rem);
  }

  .grid-scroll-wrapper {
    width: 100%;
    padding: 0 1rem;
  }

  .masonry-item,
  .masonry-sizer {
    width: calc(50% - 9px);
  }

  .masonry-item--wide {
    width: 100%;
  }

  .masonry-gutter {
    width: 18px;
  }

  .masonry-item {
    --tile-offset: 0;
    margin-bottom: 18px;
  }

  .gallery-lightbox {
    padding: 0.75rem;
  }

  .gallery-lightbox__close {
    top: 0.4rem;
    right: 0.4rem;
    transform: none;
  }

  .gallery-lightbox__dialog {
    --lightbox-frame: 24px;
    gap: 0.9rem;
  }

  .gallery-lightbox__tile {
    padding: var(--lightbox-frame);
    border-radius: 0;
  }

  .gallery-lightbox__figure {
    border-radius: 0;
  }

  .gallery-lightbox__image {
    max-width: min(100%, calc(100vw - (var(--lightbox-frame) * 2) - 1.5rem));
    max-height: 56vh;
  }

  .gallery-lightbox__nav {
    width: 3.2rem;
    height: 3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .masonry-item {
    transition: none;
    filter: none;
    opacity: 1;
    transform: scale(1) var(--tilt, rotate(0deg));
  }

  .masonry-item.is-visible:hover,
  .article-image,
  .article-overlay,
  .article-name,
  .article-type,
  .gallery-lightbox,
  .gallery-lightbox__nav,
  .gallery-lightbox__close,
  .article-image-wrapper:not(:hover) .article-image,
  .article-image-wrapper:not(:hover) .article-overlay {
    transition: none;
  }
}
/* Approved home footer mobile widths */
@media (max-width: 767px) {
  .dj-footer-section,
  .faqs-page .dj-footer-section {
    --dj-shell-image: url("https://charlestonweddingdjs.com/wp-content/uploads/2026/05/backgrouund-mobile-shell.png");
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -2px;
    padding: 16px 8px 0;
  }

  .dj-footer-section::before,
  .faqs-page .dj-footer-section::before {
    inset: -2px 0 0;
  }

  .dj-footer-shell,
  .faqs-page .dj-footer-shell {
    width: calc(100% - 4px);
    aspect-ratio: 1440 / 1960;
    margin-top: 26px;
    transform: translateZ(0);
  }

  .dj-footer-top {
    padding: 40px 16px 0;
  }

  .dj-centerpiece {
    min-height: 610px;
    padding-top: 12px;
  }

  .dj-title {
    max-width: 320px;
    font-size: clamp(1.548rem, 8.064vw, 2.556rem);
    margin-top: 34px;
    transform: translateY(185px);
  }

  .dj-signature {
    width: 156px;
    margin-top: -44px;
  }

  .dj-roll-link {
    font-size: 1.8rem;
  }

  .dj-footer-col,
  .dj-footer-col:last-child {
    position: absolute;
    top: 122px;
    z-index: 5;
    width: 118px;
    gap: 10px;
    padding-top: 0;
  }

  .dj-footer-col:first-child {
    left: 14px;
    align-items: flex-start;
    text-align: left;
    order: initial;
    padding-top: 0;
  }

  .dj-footer-col:last-child {
    right: 14px;
    align-items: flex-end;
    text-align: right;
    order: initial;
    padding: 0;
  }

  .dj-footer-col:last-child .dj-footer-eyebrow {
    align-self: flex-end;
    text-align: right;
  }

  .dj-footer-eyebrow,
  .dj-footer-links,
  .dj-footer-socials {
    transform: none;
  }

  .dj-footer-links,
  .dj-footer-socials {
    gap: 8px;
  }

  .dj-footer-col .dj-roll-link {
    width: 100%;
    font-size: 1.08rem;
    line-height: 0.92;
    justify-content: flex-start;
  }

  .dj-footer-col:last-child .dj-roll-link {
    justify-content: flex-end;
  }

  .dj-footer-col .dj-roll-stack span {
    white-space: normal;
  }

  .dj-stage {
    width: min(239px, 44.2624vw);
    bottom: 85px;
  }

  .dj-stage-shadow {
    width: min(251px, 45.4272vw);
    bottom: 69px;
  }

  .dj-marquee-wrap {
    bottom: 66px;
  }

  .dj-footer-bottom {
    width: calc(100% - 16px);
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    padding-bottom: 12px;
    font-size: 11px;
    text-align: center;
  }

  .dj-footer-copy {
    width: 100%;
    padding-left: 0;
    text-align: center;
    white-space: normal;
  }

  .dj-footer-legal {
    display: none;
  }
}

@media (max-width: 429px) {
  .dj-stage {
    width: 190px;
    bottom: 156px;
  }

  .dj-stage-shadow {
    width: 195px;
    bottom: 140px;
  }

  .dj-marquee-wrap {
    bottom: 66px;
  }

  .dj-footer-col,
  .dj-footer-col:last-child {
    top: 23.721vw;
    width: 27.442vw;
    gap: 2.326vw;
  }

  .dj-footer-col:first-child {
    left: 3.256vw;
  }

  .dj-footer-col:last-child {
    right: 3.256vw;
  }

  .dj-footer-col .dj-roll-link {
    font-size: 4.019vw;
  }

  .dj-footer-top {
    padding: 9.302vw 3.721vw 0;
  }

  .dj-centerpiece {
    min-height: 160.465vw;
    padding-top: 4.651vw;
  }

  .dj-title {
    max-width: 74.419vw;
    margin-top: 7.907vw;
    transform: translateY(35.458vw);
  }

  .dj-signature {
    width: 36.279vw;
    margin-top: -10.233vw;
  }
}

/* Shift gallery replacement. */
/*
  Darby Events shift gallery.
  Isolated by the de-shift- prefix. No global section styles are changed.
*/

.de-shift-gallery {
  --de-shift-gutter: 16px;
  --de-shift-caption-bg: #6caca5;
  --de-shift-caption-color: #f6f0e6;
  --de-shift-caption-font: "Big Shoulders Display", "Oswald", "Montserrat", Arial, sans-serif;
  --de-shift-caption-radius: clamp(30px, 5vw, 52px);
  --de-shift-caption-shadow: 0 16px 34px rgba(17, 24, 18, 0.22);
  --de-shift-focus-color: currentColor;
  --de-shift-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --de-shift-lines-primary: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='920' viewBox='0 0 1600 920' fill='none'%3E%3Cg stroke='%236caca5' stroke-opacity='.22' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-96 104C-14 34 136 20 288 48c150 27 297 66 430 52 120-13 211-64 333-72 129-8 278 30 381 18 101-12 185-57 280-48 82 8 161 50 220 103'/%3E%3Cpath d='M-52 178c88-71 224-87 356-56 132 31 252 103 381 113 149 11 270-62 401-95 134-34 298-24 428 23 126 46 221 124 285 213'/%3E%3Cpath d='M-76 336c56-74 168-126 294-130 130-5 249 40 365 32 120-9 202-73 316-96 128-27 281 4 381 83 93 73 130 177 221 238 101 67 265 79 403 53'/%3E%3Cpath d='M-112 474c76-66 159-109 252-123 110-17 219 5 315 59 100 56 175 146 282 188 114 45 248 31 355 11 113-21 205-48 311-31 117 18 219 85 350 84 98-1 183-38 247-92'/%3E%3Cpath d='M-44 648c63-46 143-71 216-55 69 15 123 65 164 123 44 61 81 126 146 163 71 40 163 43 254 16 92-27 171-81 259-119 88-39 192-63 302-51 119 13 225 69 339 66 104-3 203-56 284-128'/%3E%3Cpath d='M-88 842c75-54 170-84 258-73 89 10 162 61 220 128 57 66 106 149 187 185 91 40 204 9 303-40 108-54 205-132 331-151 135-20 252 35 370 74 122 41 258 62 383 21 67-22 129-60 189-107'/%3E%3Cpath d='M540-52c86 48 123 145 114 228-8 71-49 129-55 199-7 79 30 157 17 240-17 105-112 185-111 292 0 70 41 137 34 214-8 83-72 162-162 227'/%3E%3Cpath d='M1146-64c50 43 79 108 82 176 3 67-20 130-16 199 6 93 61 177 54 272-8 113-100 198-119 309-11 65 5 130 20 194 15 64 28 135 8 209'/%3E%3C/g%3E%3C/svg%3E");
  --de-shift-lines-secondary: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='920' viewBox='0 0 1600 920' fill='none'%3E%3Cg stroke='%23084540' stroke-opacity='.09' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M-70 72C89 89 205 132 342 135c122 4 230-26 338-21 141 6 254 71 404 72 122 1 241-39 361-37 124 2 244 48 345 110'/%3E%3Cpath d='M-92 246c93 0 184 39 271 71 99 37 198 60 306 50 123-11 218-68 339-84 125-17 258 10 361 76 102 65 175 165 284 222 96 50 211 67 331 45'/%3E%3Cpath d='M-48 420c123-39 258-26 362 32 104 57 183 158 295 209 97 44 207 51 313 39 110-12 215-43 326-42 124 2 250 45 352 116'/%3E%3Cpath d='M-86 592c89-39 186-46 266-10 71 32 126 94 180 151 59 61 124 120 208 146 102 32 213 6 309-39 88-41 169-97 262-124 106-31 226-26 344 21 109 44 210 121 317 132'/%3E%3Cpath d='M94 860c50-97 100-194 174-266 82-80 196-131 256-224 54-84 55-191 108-280 53-89 163-160 280-172 145-14 283 69 359 178 75 108 102 240 162 364'/%3E%3Cpath d='M1008-44c-5 86 31 166 38 251 7 86-16 176 17 255 32 76 113 126 138 204 22 70-3 149 20 220 21 66 80 121 156 153'/%3E%3C/g%3E%3C/svg%3E");
  --de-shift-lines-tertiary: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='920' viewBox='0 0 1600 920' fill='none'%3E%3Cg stroke='%236caca5' stroke-opacity='.13' stroke-width='0.95' stroke-linecap='round'%3E%3Cpath d='M-110 144c98 54 226 69 336 38 98-28 183-89 285-106 114-19 231 17 347 28 112 10 231-3 327-61 82-49 146-128 239-153 108-29 214 21 305 82'/%3E%3Cpath d='M-80 530c120-32 251-4 345 66 94 69 157 180 257 241 113 68 257 76 385 57 129-18 255-62 385-53 158 11 303 101 462 88'/%3E%3Cpath d='M232 920c61-89 140-166 186-264 55-118 67-252 134-363 65-107 188-193 321-193 127 0 245 76 325 173 77 94 125 210 211 306 78 86 177 149 286 186'/%3E%3C/g%3E%3C/svg%3E");
  box-sizing: border-box;
  display: block;
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 0;
  width: 100%;
  background: transparent;
}

.de-shift-gallery *,
.de-shift-gallery *::before,
.de-shift-gallery *::after {
  box-sizing: border-box;
}

.de-shift-gallery__grid {
  display: grid;
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--de-shift-gutter);
  z-index: 1;
  width: 100%;
}

.de-shift-gallery__lines {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  width: 100vw;
  transform: translateX(-50%);
}

.de-shift-gallery__lines::before,
.de-shift-gallery__lines::after {
  content: "";
  position: absolute;
  inset: -6%;
  pointer-events: none;
  will-change: transform, opacity, background-position;
}

.de-shift-gallery__lines::before {
  background-image:
    var(--de-shift-lines-primary),
    var(--de-shift-lines-secondary);
  background-position: 47% 48%, 52% 48%;
  background-repeat: no-repeat, no-repeat;
  background-size: 112% 112%, 118% 118%;
  mix-blend-mode: multiply;
  opacity: 0.72;
  animation: de-shift-lines-float 7.4s ease-in-out infinite alternate;
}

.de-shift-gallery__lines::after {
  background:
    var(--de-shift-lines-tertiary),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(108, 172, 165, 0.05), rgba(8, 69, 64, 0.035));
  background-position: 49% 48%, 50% 0, 50% 50%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 120% 120%, 100% 100%, 100% 100%;
  mix-blend-mode: multiply;
  opacity: 0.56;
  animation: de-shift-lines-drift 11s ease-in-out infinite alternate;
}

.de-shift-gallery--ready .de-shift-gallery__grid {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 1px;
}

.de-shift-gallery__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 234 / 336;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  overflow: hidden;
  text-align: left;
}

.de-shift-gallery__item[data-de-shift-ratio="square"] {
  aspect-ratio: 1 / 1;
}

.de-shift-gallery__item[data-de-shift-ratio="landscape"] {
  aspect-ratio: 4 / 3;
}

.de-shift-gallery__item[data-de-shift-ratio="portrait"] {
  aspect-ratio: 234 / 336;
}

.de-shift-gallery--ready .de-shift-gallery__item {
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: auto;
  transform: translate3d(0, 0, 0);
  will-change: transform, width, height;
}

.de-shift-gallery__item:focus-visible {
  outline: 2px solid var(--de-shift-focus-color);
  outline-offset: 3px;
  z-index: 2;
}

.de-shift-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.de-shift-gallery__caption {
  position: absolute;
  z-index: 3;
  display: block;
  width: min(1000px, calc(100% - 24px));
  max-width: calc(100% - 24px);
  padding: clamp(13px, 1.6vw, 18px) clamp(24px, 4vw, 42px) clamp(14px, 1.7vw, 20px);
  border-radius: var(--de-shift-caption-radius);
  background: var(--de-shift-caption-bg);
  box-shadow: var(--de-shift-caption-shadow);
  color: var(--de-shift-caption-color);
  font-family: var(--de-shift-caption-font);
  font-size: clamp(1rem, 0.88rem + 0.68vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.98;
  opacity: 0;
  overflow: hidden;
  overflow-wrap: normal;
  pointer-events: none;
  white-space: normal;
  word-break: normal;
  text-wrap: wrap;
  text-transform: uppercase;
  transform: scale(0.88);
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 220ms var(--de-shift-ease),
    visibility 0s linear 180ms;
}

.de-shift-gallery__item.is-expanded.is-caption-active .de-shift-gallery__caption {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition:
    opacity 220ms ease 90ms,
    transform 260ms var(--de-shift-ease) 90ms,
    visibility 0s linear 0s;
}

.de-shift-gallery__item[data-de-shift-caption-corner="top-left"] .de-shift-gallery__caption {
  top: 12px;
  right: auto;
  bottom: auto;
  left: 12px;
  border-radius: 0 var(--de-shift-caption-radius) var(--de-shift-caption-radius);
  transform-origin: top left;
}

.de-shift-gallery__item[data-de-shift-caption-corner="top-right"] .de-shift-gallery__caption {
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  border-radius: var(--de-shift-caption-radius) 0 var(--de-shift-caption-radius) var(--de-shift-caption-radius);
  transform-origin: top right;
}

.de-shift-gallery__item[data-de-shift-caption-corner="bottom-left"] .de-shift-gallery__caption {
  top: auto;
  right: auto;
  bottom: 12px;
  left: 12px;
  border-radius: var(--de-shift-caption-radius) var(--de-shift-caption-radius) var(--de-shift-caption-radius) 0;
  transform-origin: bottom left;
}

.de-shift-gallery__item[data-de-shift-caption-corner="bottom-right"] .de-shift-gallery__caption,
.de-shift-gallery__item:not([data-de-shift-caption-corner]) .de-shift-gallery__caption {
  top: auto;
  right: 12px;
  bottom: 12px;
  left: auto;
  border-radius: var(--de-shift-caption-radius) var(--de-shift-caption-radius) 0;
  transform-origin: bottom right;
}

.de-shift-gallery--reduce-motion .de-shift-gallery__caption {
  transition: none;
  transform: none;
}

.de-shift-gallery--reduce-motion .de-shift-gallery__lines::before,
.de-shift-gallery--reduce-motion .de-shift-gallery__lines::after {
  animation: none;
}

@keyframes de-shift-lines-float {
  0% {
    transform: translate3d(-1.8%, -1.1%, 0) scale(1);
    background-position: 47% 48%, 52% 48%;
    opacity: 0.62;
  }

  50% {
    transform: translate3d(0.9%, 0.65%, 0) scale(1.03);
    background-position: 50% 50%, 49% 51%;
    opacity: 0.76;
  }

  100% {
    transform: translate3d(2.15%, 1.6%, 0) scale(1.05);
    background-position: 53% 52%, 47% 53%;
    opacity: 0.66;
  }
}

@keyframes de-shift-lines-drift {
  0% {
    transform: translate3d(1.2%, -0.8%, 0) scale(1.01);
    background-position: 48% 46%, 50% 0, 50% 50%;
    opacity: 0.42;
  }

  50% {
    transform: translate3d(-0.9%, 0.6%, 0) scale(1.045);
    background-position: 51% 50%, 50% 0, 50% 50%;
    opacity: 0.58;
  }

  100% {
    transform: translate3d(-1.8%, 1.2%, 0) scale(1.075);
    background-position: 53% 53%, 50% 0, 50% 50%;
    opacity: 0.48;
  }
}

@media (max-width: 359px) {
  .de-shift-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 699px) {
  .de-shift-gallery__lines::before {
    inset: -3% 0;
    background-position: 50% 0, 52% 220px;
    background-repeat: repeat-y, repeat-y;
    background-size: 760px 437px, 680px 391px;
    animation-name: de-shift-lines-mobile-float;
  }

  .de-shift-gallery__lines::after {
    inset: -3% 0;
    background-position: 50% 120px, 50% 0, 50% 50%;
    background-repeat: repeat-y, no-repeat, no-repeat;
    background-size: 720px 414px, 100% 100%, 100% 100%;
    animation-name: de-shift-lines-mobile-drift;
  }
}

@media (min-width: 700px) {
  .de-shift-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .de-shift-gallery__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .de-shift-gallery__caption {
    transition: none;
    transform: none;
  }

  .de-shift-gallery__lines::before,
  .de-shift-gallery__lines::after {
    animation: none;
  }
}

@keyframes de-shift-lines-mobile-float {
  0% {
    transform: translate3d(-1.5%, -0.4%, 0) scale(1);
    background-position: 49% 0, 53% 220px;
    opacity: 0.78;
  }

  50% {
    transform: translate3d(0.8%, 0.3%, 0) scale(1.015);
    background-position: 51% 18px, 50% 238px;
    opacity: 0.92;
  }

  100% {
    transform: translate3d(1.7%, 0.8%, 0) scale(1.025);
    background-position: 53% 34px, 48% 254px;
    opacity: 0.82;
  }
}

@keyframes de-shift-lines-mobile-drift {
  0% {
    transform: translate3d(1.1%, -0.3%, 0) scale(1);
    background-position: 48% 120px, 50% 0, 50% 50%;
    opacity: 0.66;
  }

  50% {
    transform: translate3d(-0.8%, 0.35%, 0) scale(1.02);
    background-position: 51% 140px, 50% 0, 50% 50%;
    opacity: 0.8;
  }

  100% {
    transform: translate3d(-1.6%, 0.7%, 0) scale(1.03);
    background-position: 53% 158px, 50% 0, 50% 50%;
    opacity: 0.72;
  }
}
