/* Match the light gray contact CTA background across every page. */
.u-body {
  background: linear-gradient(120deg, #f2f2f2, #fff 70%, #e5e5e5) !important;
}

.site-language-menu {
  position: absolute;
  z-index: 30;
  top: 8px;
  right: 0;
}

.site-language-toggle {
  min-width: 42px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 2px;
  color: #fff;
  background: #111;
  font: 700 .72rem/1 "Open Sans", Arial, sans-serif;
  letter-spacing: .08em;
  cursor: pointer;
}

.site-language-toggle:hover,
.site-language-toggle:focus-visible,
.site-language-toggle[aria-expanded="true"] {
  color: #111;
  background: #fff;
}

.site-language-options {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: 142px;
  margin: 0;
  padding: 5px;
  border: 1px solid #d4d4d4;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  list-style: none;
}

.site-language-options[hidden] { display: none; }

.site-language-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border: 0;
  border-radius: 2px;
  color: #222;
  background: transparent;
  font: 500 .82rem/1.3 "Open Sans", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.site-language-option:hover,
.site-language-option:focus-visible,
.site-language-option[aria-checked="true"] {
  background: #ededed;
}

.site-language-option[aria-checked="true"]::after {
  content: "✓";
  font-weight: 700;
}

@media (max-width: 767px) {
  .site-language-menu {
    top: 10px;
    right: 54px;
  }
}

/* Keep the navigation comfortably separated from the centered logo. */
@media (min-width: 1200px) {
  .u-header .u-menu-1 {
    left: -28px;
  }

  .u-header .u-social-icons-1 {
    transform: translateX(-72px);
  }
}

@media (min-width: 1240px) {
  .u-header .u-menu-1 {
    left: -44px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .u-header .u-menu-1 {
    left: -22px;
  }

  .u-header .u-social-icons-1 {
    transform: translateX(-40px);
  }
}

@media (max-width: 991px) {
  .u-header .u-menu-1 {
    left: auto;
  }

  .u-header .u-social-icons-1 {
    transform: none;
  }
}

/* Viewport-aware layouts for desktop, ultrawide, tablet, and mobile screens. */
html { overflow-x: hidden; }
@supports (overflow: clip) {
  html { overflow-x: clip; }
}

/* All five pages use a content-first sticky-footer layout: short pages reach
   the viewport bottom, while long pages keep the footer after their content. */
body.u-body {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
}

@supports (min-height: 100dvh) {
  body.u-body { min-height: 100dvh; }
}

body.u-body > #sec-deb5,
body.u-body > #sec-093d,
body.u-body > #sec-1f7f,
body.u-body > main {
  flex: 1 0 auto;
}

body.u-body > main {
  display: flex;
  flex-direction: column;
}

body.u-body > main > .contact-cta {
  display: grid;
  flex: 1 0 auto;
  align-content: center;
}

/* Keep all page sections at their content height so the footer follows the
   last section directly instead of inheriting Nicepage's 1024px canvas. */
body:not([data-home-page]) > .u-section-1,
body:not([data-home-page]) > main {
  min-height: 0 !important;
}
body:not([data-home-page]) > .u-section-1 > .u-sheet-1 {
  min-height: 0 !important;
}
body:not([data-home-page]) .u-section-1 .u-custom-html-1 {
  min-height: 0 !important;
}

img, iframe, video { max-width: 100%; }

/* The home video now fills the available screen height instead of stopping
   at the old 1024px section boundary. */
body[data-home-page] #sec-87e8 {
  display: flex;
  min-height: 0;
  flex: 1 0 auto;
  flex-direction: column;
}

body[data-home-page] #sec-87e8 .u-video-1 {
  width: 100%;
  margin-top: clamp(72px, 10vh, 112px);
  height: calc(100vh - clamp(72px, 10vh, 112px) - clamp(48px, calc(4vw + 32px), 64px));
  margin-bottom: 0;
}

@supports (height: 100svh) {
  body[data-home-page] #sec-87e8 .u-video-1 {
    margin-top: clamp(72px, 10svh, 112px);
    height: calc(100svh - clamp(72px, 10svh, 112px) - clamp(48px, calc(4vw + 32px), 64px));
  }
}

@supports (height: 100dvh) {
  body[data-home-page] #sec-87e8 .u-video-1 {
    margin-top: clamp(72px, 10dvh, 112px);
    height: calc(100dvh - clamp(72px, 10dvh, 112px) - clamp(48px, calc(4vw + 32px), 64px));
  }
}

body[data-home-page] #sec-87e8 .embed-responsive-1 {
  inset: 0;
  width: 100%;
  height: 100%;
}

/* About: remove the old overlapping fixed margins and use a fluid two-column
   composition that becomes a readable single column on smaller screens. */
#sec-deb5 {
  min-height: 0;
  padding: clamp(112px, 17vh, 220px) 24px 28px;
}

@supports (height: 100svh) {
  #sec-deb5 { padding-top: clamp(112px, 17svh, 220px); }
}

#sec-deb5 .u-sheet-1 {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  width: min(1180px, 100%);
  min-height: 0;
}

#sec-deb5 .u-text-1 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.75;
}

#sec-deb5 .u-gallery-1 {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: 100%;
  max-width: 540px;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
}

#sec-deb5 .u-gallery-inner-1,
#sec-deb5 .u-carousel-item,
#sec-deb5 .u-back-slide {
  height: 100%;
}

#sec-deb5 .u-back-image {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
}

#sec-deb5 .u-carousel-thumbnails li {
  width: clamp(48px, 6vw, 84px);
  height: clamp(48px, 6vw, 84px);
}

#sec-deb5 .u-carousel-thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Music: fluid page spacing and release artwork sizing. */
#sec-093d {
  min-height: 0 !important;
  padding: clamp(112px, 17vh, 220px) 24px 28px;
}

@supports (height: 100svh) {
  #sec-093d { padding-top: clamp(112px, 17svh, 220px); }
}

#sec-093d .u-text-1 {
  margin: 0 auto clamp(28px, 4vw, 52px);
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
}

#sec-093d .u-gallery-1 {
  width: min(100%, 1800px);
  height: clamp(280px, min(42vw, 62vh), 505px);
  margin: 0 auto;
}

@supports (height: 100svh) {
  #sec-093d .u-gallery-1 { height: clamp(280px, min(42vw, 62svh), 505px); }
}

#sec-093d .u-back-image {
  width: clamp(300px, 35vw, 500px) !important;
  max-width: calc(100vw - 48px);
}

/* Contact: let the form determine page height and keep its width fluid. */
#sec-1f7f {
  min-height: 0 !important;
  padding: clamp(112px, 17vh, 220px) 24px 28px;
}

@supports (height: 100svh) {
  #sec-1f7f { padding-top: clamp(112px, 17svh, 220px); }
}

#sec-1f7f .u-sheet-1 {
  width: min(100%, 1100px);
  min-height: 0 !important;
  margin: 0 auto;
}

#sec-1f7f .u-text-1 {
  margin: 0 auto;
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
}

#sec-1f7f .u-custom-html-1 {
  width: min(100%, 680px);
  min-height: 0 !important;
  margin: clamp(28px, 5vh, 52px) auto 0;
}

#sec-1f7f .u-custom-html-1 form {
  width: 100%;
}

.u-footer,
.site-footer {
  margin-top: 0 !important;
}

.site-footer {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px) clamp(20px, 6vw, 92px);
  color: #aaa;
  background: #050505;
  font-size: .8rem;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
}

@media (max-width: 480px) {
  .site-footer {
    flex-wrap: wrap;
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Keep the service page comfortable on very wide screens. */
@media (min-width: 1600px) {
  .section-wrap { width: min(1180px, calc(100% - 120px)); }
}

@media (max-width: 900px) {
  #sec-deb5 .u-sheet-1 {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  #sec-deb5 .u-text-1,
  #sec-deb5 .u-gallery-1 {
    grid-column: 1;
  }

  #sec-deb5 .u-text-1 { grid-row: 1; }
  #sec-deb5 .u-gallery-1 {
    grid-row: 2;
    justify-self: center;
    width: min(100%, 540px);
  }
}

@media (max-width: 767px) {
  .services {
    padding-top: clamp(112px, 16vh, 150px);
  }

  @supports (height: 100svh) {
    .services { padding-top: clamp(112px, 16svh, 150px); }
  }

  #sec-deb5,
  #sec-093d,
  #sec-1f7f {
    padding-right: 18px;
    padding-left: 18px;
  }

  #sec-093d .u-gallery-1 {
    height: clamp(220px, min(76vw, 56vh), 360px);
  }

  @supports (height: 100svh) {
    #sec-093d .u-gallery-1 { height: clamp(220px, min(76vw, 56svh), 360px); }
  }

  #sec-093d .u-back-image {
    width: clamp(220px, 76vw, 360px) !important;
    max-width: calc(100vw - 52px);
  }
}

@media (max-width: 420px) {
  #sec-deb5 .u-gallery-1 {
    width: calc(100vw - 36px);
  }

  #sec-1f7f .u-custom-html-1 form { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
