#about .about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
  text-align: left
}

#about .about-eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a8c8df
}

#about .about-heading h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em
}

#about .about-heading h1 span {
  display: block;
  color: #b6d7ef
}

#about .about-copy p {
  max-width: 680px;
  margin: 0 0 24px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .85)
}

#about .about-copy strong {
  color: #fff;
  font-weight: 600
}

@media(max-width:900px) {
  #about .about-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  #about .about-heading h1 {
    font-size: clamp(32px, 6vw, 48px)
  }

  #about .about-copy p {
    font-size: 16px
  }
}

@media(max-width:480px) {
  #about .about-grid {
    gap: 24px
  }

  #about .about-heading h1 {
    font-size: 34px
  }

  #about .about-copy p {
    line-height: 1.6;
    margin-bottom: 18px
  }
}

#about .about-grid {
  align-items: stretch;
  min-height: min(55vh, 520px)
}

#about .about-heading {
  align-self: start
}

#about .about-copy {
  align-self: end
}

#about .about-heading h1 {
  font-family: "Jura", sans-serif;
  font-weight: 400;
  letter-spacing: -.025em
}

@media(max-width:900px) {
  #about .about-grid {
    min-height: 0
  }

  #about .about-heading,
  #about .about-copy {
    align-self: start
  }
}

#about .about-copy {
  position: relative;
  top: 70px;
}

@media(max-width:900px) {
  #about .about-copy {
    top: 0
  }
}

.custom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-top: 8px
}

.custom-links a {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, border-color .2s
}

.custom-links a:hover {
  color: #b6d7ef;
  border-color: #b6d7ef
}

#maestro .custom-links {
  justify-content: center;
}

@media(max-width:480px) {
  .custom-links {
    gap: 14px 24px
  }
}


/* Maestro product showcase */
#maestro .maestro-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 13fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  width: 100%;
}

#maestro .maestro-heading {
  min-width: 0;
  width: 100%;
  text-align: center;
}

#maestro .maestro-heading .custom-links {
  justify-content: center;
  margin-top: 20px;
}

#maestro .maestro-carousel {
  min-width: 0;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

#maestro .maestro-carousel-frame {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0,0,0,.22);
}

/* Three equally prominent capabilities */
#maestro .maestro-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(20px, 2.5vw, 38px);
  margin-top: clamp(24px, 3vw, 42px);
  padding-top: clamp(20px, 2.5vw, 30px);
  border-top: 1px solid rgba(255,255,255,.18);
  text-align: left;
}

#maestro .maestro-feature {
  min-width: 0;
  margin: 0;
  padding-left: clamp(16px, 1.5vw, 24px);
  border-left: 1px solid rgba(255,255,255,.14);
}

#maestro .maestro-feature:first-child {
  padding-left: 0;
  border-left: 0;
}

#maestro .maestro-feature h3 {
  margin: 0 0 12px;
  font-size: clamp(19px, 1.35vw, 22px);
  line-height: 1.25;
  font-weight: 500;
}

#maestro .maestro-feature p {
  margin: 0 0 12px;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
  color: rgba(255,255,255,.75);
}

#maestro .maestro-feature p:last-child {
  margin-bottom: 0;
}


/* Compact platform-wide capabilities, visually secondary to the three pillars */
#maestro .maestro-platform {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: clamp(18px, 2.2vw, 34px);
  row-gap: 8px;
  margin: clamp(17px, 2.2vh, 26px) 0 0;
  padding: clamp(13px, 1.8vh, 19px) 0 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.15);
}

#maestro .maestro-platform li {
  position: relative;
  margin: 0;
  padding: 0;
  font-size: clamp(12px, .93vw, 14px);
  line-height: 1.5;
  letter-spacing: .015em;
  color: rgba(255,255,255,.78);
  white-space: nowrap;
}

#maestro .maestro-platform li + li::before {
  position: absolute;
  left: calc(-1 * clamp(10px, 1.1vw, 17px));
  top: 50%;
  width: 2px;
  height: 2px;
  content: "";
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  #maestro .maestro-platform {
    column-gap: 20px;
  }
  #maestro .maestro-platform li {
    white-space: normal;
    text-align: center;
  }
  #maestro .maestro-platform li + li::before {
    display: none;
  }
}

@media (max-width: 767px) {
  #maestro .maestro-platform {
    display: grid;
    justify-content: stretch;
    gap: 10px;
    margin-top: 5px;
    padding-top: 20px;
  }
  #maestro .maestro-platform li {
    padding-left: 22px;
    font-size: 13px;
    text-align: left;
  }
  /* A CSS-drawn triangle stays vertically centred independently of
     font glyph metrics; override the hidden tablet separators too. */
  #maestro .maestro-platform li::before,
  #maestro .maestro-platform li + li::before {
    display: block;
    position: absolute;
    content: "";
    top: 50%;
    left: 3px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid rgba(182, 215, 239, 0.55);
    border-right: 0;
    border-radius: 0;
    background: transparent;
    transform: translateY(-50%);
  }
}

/* Services: heading and introduction */
#services .services-intro {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  text-align: left;
}

#services .services-heading h1 {
  margin: 0;
  font-family: "Jura", sans-serif;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
}

#services .services-heading h1 span {
  display: block;
  color: #b6d7ef;
}

#services .services-summary p {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}

/* Services: six equally sized offerings */
#services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 3.5vw, 52px);
  row-gap: clamp(24px, 3.5vh, 42px);
  margin-top: clamp(30px, 5vh, 58px);
  text-align: left;
}

#services .service-item {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.28);
}

#services .service-number {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #b6d7ef;
}

#services .service-item h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 500;
  line-height: 1.3;
}

#services .service-item p {
  margin: 0;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.6;
  color: rgba(255,255,255,.78);
}

/* Tablet */
@media (max-width: 900px) {
  #services .services-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  #services .services-heading h1 {
    font-size: 36px;
  }

  #services .services-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
  }

  #services .service-item p {
    font-size: 14px;
  }
}

/* Short desktop viewports */
@media (min-width: 901px) and (max-height: 800px) {
  #services .services-grid {
    margin-top: 26px;
    row-gap: 20px;
  }

  #services .service-item {
    padding-top: 10px;
  }

  #services .service-number {
    margin-bottom: 6px;
  }

  #services .service-item h3 {
    margin-bottom: 8px;
  }

  #services .service-item p {
    line-height: 1.45;
  }
}


/* Contact heading typography */
#maestro .maestro-title,
#contact .contact-title {
  margin: 0;
  font-family: "Jura", sans-serif;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
}

#maestro .maestro-title {
  font-size: clamp(60px, 5.5vw, 82px);
}

/* Maestro tagline */
#maestro .maestro-tagline {
  margin: 14px 0 0;
  font-family: "Jura", sans-serif;
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #b6d7ef;
}

/* Contact accent line */
#contact .contact-title span {
  display: block;
  color: #b6d7ef;
}

/* Mobile */
@media (max-width: 600px) {
  #contact .contact-title {
    font-size: 36px;
  }

  #maestro .maestro-title {
    font-size: 48px;
  }

  #maestro .maestro-tagline {
    font-size: 26px;
  }
}

@media (max-width: 900px) {
  #maestro .maestro-title {
    font-size: clamp(48px, 7vw, 66px);
  }

  #maestro .maestro-tagline {
    font-size: clamp(26px, 4vw, 34px);
  }
}


/* Home: minimalist brand statement */

#home .home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 60px) 16px;
  text-align: center;
}

#home .home-logo {
  margin-bottom: clamp(12px, 2vh, 24px);
  line-height: 0;
}

#home .home-mark {
  display: block;
  width: clamp(180px, 18vw, 260px);
  height: auto;
  max-width: 100%;
}

#home .home-wordmark {
  margin: 0;
  line-height: 1.1;
  font-weight: 400;
}

#home .home-tagline {
  font-family: 'Jura';
  max-width: 34em;
  margin: clamp(18px, 2.5vh, 30px) 0 0;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: .025em;
  color: rgba(255, 255, 255, .82);
  text-shadow: 
  1px 1px 2px rgba(0, 0, 0, 0.6), 
  2px 2px 6px rgba(0, 0, 0, 0.4), 
  4px 4px 12px rgba(0, 0, 0, 0.2);
}

#home .home-explore {
  margin-top: clamp(36px, 6vh, 70px);
}

#home .home-explore a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}

#home .home-explore a:hover,
#home .home-explore a:focus-visible {
  color: #b6d7ef;
}

#home .home-explore-arrow {
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

@media (max-width: 600px) {
  #home .home-hero {
    padding: 24px 12px;
  }

  #home .home-mark {
    width: clamp(150px, 45vw, 210px);
  }

  #home .home-tagline {
    max-width: 25ch;
  }

  #home .home-explore {
    margin-top: 34px;
  }
}


/* Highlight the currently selected slide in the top navigation */

body:has(#home.slide.selected) .panel.top .menu a[href="#home"],
body:has(#about.slide.selected) .panel.top .menu a[href="#about"],
body:has(#maestro.slide.selected) .panel.top .menu a[href="#maestro"],
body:has(#services.slide.selected) .panel.top .menu a[href="#services"],
body:has(#contact.slide.selected) .panel.top .menu a[href="#contact"] {
  color: #b6d7ef !important;
  opacity: 1 !important;
  text-decoration: underline;
  text-decoration-color: #b6d7ef;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.virtuosic-jura-logo {
  font-family: 'Jura';
  font-weight: 400;
  font-size: 70px;
  text-shadow: 
  1px 1px 2px rgba(0, 0, 0, 0.6), 
  2px 2px 6px rgba(0, 0, 0, 0.4), 
  4px 4px 12px rgba(0, 0, 0, 0.2);
}

.virtuosic-jura-h1 {
  font-family: 'Jura';
  font-weight: 400;
  font-size: 60px;
  text-shadow: 
  1px 1px 2px rgba(0, 0, 0, 0.6), 
  2px 2px 6px rgba(0, 0, 0, 0.4), 
  4px 4px 12px rgba(0, 0, 0, 0.2);
}

.virtuosic-jura-menu {
  font-family: 'Jura';
  font-weight: 400;
  font-size: 22px;
  text-shadow: 
  1px 1px 2px rgba(0, 0, 0, 0.6), 
  2px 2px 6px rgba(0, 0, 0, 0.4), 
  4px 4px 12px rgba(0, 0, 0, 0.2);
}

/* --------------------------------
   Maestro header / carousel
--------------------------------- */

.maestro-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  margin-bottom: 20px;
}

.maestro-heading {
  min-width: 0;
}

.maestro-carousel {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.maestro-carousel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}


/* Individual slides */

.maestro-carousel-slide {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  padding: 0;
  border: 0;
  margin: 0;

  opacity: 0;
  visibility: hidden;

  background: transparent;
  cursor: zoom-in;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.maestro-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.maestro-carousel-slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* Previous / next buttons */

.maestro-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 5;

  width: 38px;
  height: 54px;

  padding: 0;
  border: 0;

  transform: translateY(-50%);

  color: #fff;
  font-size: 24px;

  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;

  opacity: 0.7;

  transition:
    opacity 0.2s ease,
    background 0.2s ease;
}

.maestro-carousel-nav:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.65);
}

.maestro-carousel-prev {
  left: 0;
  border-radius: 0 5px 5px 0;
}

.maestro-carousel-next {
  right: 0;
  border-radius: 5px 0 0 5px;
}


/* Expand indicator */

.maestro-expand-hint {
  position: absolute;
  right: 10px;
  bottom: 9px;

  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border-radius: 5px;

  color: white;
  background: rgba(0, 0, 0, 0.5);

  pointer-events: none;
}

.maestro-expand-hint .material-icons {
  font-size: 21px;
}


/* Dots */

.maestro-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;

  margin-top: 12px;
}

.maestro-carousel-dots button {
  width: 7px;
  height: 7px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.35);

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.maestro-carousel-dots button.is-active {
  transform: scale(1.3);
  background: rgba(255, 255, 255, 0.9);
}


/* --------------------------------
   Full-screen lightbox
--------------------------------- */

.maestro-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100vw;
  height: 100vh;
  height: 100dvh;

  padding: 50px 70px;

  background: rgba(5, 7, 10, 0.96);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

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

.maestro-lightbox figure {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  margin: 0;
}

.maestro-lightbox img {
  display: block;

  max-width: 100%;
  max-height: calc(100% - 35px);

  object-fit: contain;
}

.maestro-lightbox figcaption {
  margin-top: 12px;

  color: rgba(255, 255, 255, 0.65);

  font-size: 13px;
  text-align: center;
}

.maestro-lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;

  z-index: 2;

  padding: 5px 10px;
  border: 0;

  color: white;
  font-size: 38px;
  font-weight: 300;

  background: transparent;
  cursor: pointer;

  opacity: 0.75;
}

.maestro-lightbox-close:hover {
  opacity: 1;
}

.maestro-lightbox-nav {
  position: absolute;
  top: 50%;

  width: 50px;
  height: 80px;

  border: 0;

  transform: translateY(-50%);

  color: white;
  font-size: 34px;

  background: rgba(255, 255, 255, 0.05);

  cursor: pointer;
}

.maestro-lightbox-prev {
  left: 0;
}

.maestro-lightbox-next {
  right: 0;
}


/* --------------------------------
   Mobile
--------------------------------- */

@media (max-width: 767px) {

  .maestro-header-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .maestro-carousel {
    max-width: none;
    justify-self: stretch;
  }

  .maestro-carousel-frame {
    border-radius: 7px;
  }

  .maestro-lightbox {
    padding: 55px 15px 35px;
  }

  .maestro-lightbox-nav {
    width: 42px;
    height: 65px;

    font-size: 26px;

    background: rgba(0, 0, 0, 0.45);
  }

  .maestro-lightbox-close {
    top: 8px;
    right: 12px;
  }

}

/* Responsive Maestro showcase; desktop layout above 900px is unchanged. */
@media (max-width: 900px) {
  #maestro .maestro-header-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 0;
  }

  #maestro .maestro-heading {
    max-width: 640px;
    margin: 0 auto;
  }

  #maestro .maestro-carousel {
    max-width: 720px;
    justify-self: center;
  }

  #maestro .maestro-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 32px;
    padding-top: 24px;
  }

  #maestro .maestro-feature:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  /* Allow the longer, stacked section to scroll inside a full-screen slide. */
  #maestro .content {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Override the Slides framework's table-cell layout and large padding. */
  #maestro .container {
    display: block;
    height: auto;
    min-height: 100%;
  }

  #maestro .container .wrap {
    display: block;
    overflow: visible;
    padding: 148px 22px 56px;
  }

  #maestro .maestro-header-grid {
    gap: 26px;
  }

  #maestro .maestro-heading {
    max-width: 100%;
  }

  #maestro .maestro-title {
    font-size: clamp(40px, 11vw, 52px);
  }

  #maestro .maestro-tagline {
    max-width: 360px;
    margin: 12px auto 0;
    font-size: clamp(23px, 6vw, 28px);
    line-height: 1.25;
  }

  #maestro .maestro-heading .custom-links {
    margin-top: 18px;
  }

  #maestro .maestro-heading .custom-links a {
    max-width: 100%;
    line-height: 1.5;
  }

  #maestro .maestro-carousel {
    width: 100%;
    max-width: 540px;
    min-width: 0;
  }

  #maestro .maestro-carousel-frame {
    border-radius: 9px;
  }

  #maestro .maestro-carousel-nav {
    width: 34px;
    height: 48px;
  }

  #maestro .maestro-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 30px;
    padding-top: 0;
    border-top: 0;
  }

  #maestro .maestro-feature,
  #maestro .maestro-feature:first-child {
    grid-column: auto;
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  #maestro .maestro-feature h3 {
    margin-bottom: 10px;
    font-size: 20px;
  }

  #maestro .maestro-feature p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
  }
}


/* Glass-effect top navigation; keeps desktop wordmark separate */
.panel.top #desktopTopPanel .center .menu,
.panel.top #mobileTopPanel {
  background: rgba(17, 26, 39, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), inset 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
}

/* Desktop: glass wraps only the central navigation links */
.panel.top #desktopTopPanel .center .menu {
  padding: 11px 14px;
}

/* Mobile: glass wraps the Virtuosic wordmark and navigation links */
@media (max-width: 600px) {
  .panel.top {
    padding: 8px 12px;
  }

  .panel.top #mobileTopPanel {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    margin: 6px auto 0;
    padding: 10px 8px 9px;
  }

  .panel.top #mobileTopPanel > div {
    height: auto;
  }

  .panel.top #mobileTopPanel > div:first-child {
    margin: 0 0 6px;
  }

  .panel.top #mobileTopPanel .menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0 2px;
  }

  .panel.top #mobileTopPanel .menu.uppercase li {
    margin: 0;
    font-size: clamp(9px, 2.65vw, 12px);
    letter-spacing: 0.09em;
  }

  .panel.top #mobileTopPanel .menu li a {
    display: block;
    padding: 6px clamp(2px, 1vw, 6px);
  }
}

/* Maestro: robust single-image inline carousel across WebKit/Chromium.
   The four overlapping opacity/visibility layers have been removed in HTML. */
#maestro .maestro-carousel{-webkit-backface-visibility:visible;backface-visibility:visible;touch-action:pan-y pinch-zoom}
#maestro .maestro-carousel-frame{isolation:isolate}
#maestro .maestro-carousel-slide{display:block;opacity:1;visibility:visible;z-index:1}
#maestro .maestro-carousel-slide img{display:block;width:100%;height:100%;object-fit:contain}

/* Reduce vertical space only in the two-column desktop-style layout. */
@media(min-width:901px){
  #maestro .container .wrap{padding-top:clamp(86px,10vh,112px);padding-bottom:clamp(36px,5vh,60px)}
  #maestro .maestro-header-grid{gap:clamp(20px,3vw,46px);margin-bottom:0}
  #maestro .maestro-carousel{max-width:700px}
  #maestro .maestro-title{font-size:clamp(60px,5.2vw,78px)}
  #maestro .maestro-tagline{margin-top:10px;font-size:clamp(28px,2.55vw,38px);line-height:1.17}
  #maestro .maestro-heading .custom-links{margin-top:14px}
  #maestro .maestro-features{gap:clamp(18px,2vw,30px);margin-top:clamp(18px,2.5vh,28px);padding-top:clamp(16px,2.2vh,24px)}
  #maestro .maestro-feature h3{margin-bottom:9px}
  #maestro .maestro-feature p{margin-bottom:9px;line-height:1.47}
}

/* Preserve the fixed-slide composition on shorter desktop screens. */
@media (min-width: 901px) and (max-height: 800px) {
  #maestro .maestro-carousel { max-width: 600px; }
  #maestro .maestro-features { margin-top: 16px; padding-top: 15px; }
  #maestro .maestro-feature h3 { font-size: clamp(17px, 1.3vw, 20px); margin-bottom: 7px; }
  #maestro .maestro-feature p { font-size: clamp(12px, .93vw, 14px); line-height: 1.42; }
  #maestro .maestro-platform { margin-top: 12px; padding-top: 11px; }
}

@media (min-width: 901px) and (max-height: 680px) and (pointer: fine) {
  #maestro .maestro-carousel { max-width: 440px; }
  #maestro .maestro-features { margin-top: 12px; padding-top: 11px; }
  #maestro .maestro-platform { margin-top: 9px; padding-top: 8px; }
}

/* Only on touch tablets that Slides is actually rendering in fixed-slide
   mode (class added by the appended JS). Chrome's simplified/mobile layout
   and phone/mobile view are unaffected. */
body.maestro-touch-slides #maestro .content{
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
}
body.maestro-touch-slides #maestro .container{
  display:block;
  height:auto;
  min-height:100%;
}
body.maestro-touch-slides #maestro .container .wrap{
  display:block;
  overflow:visible;
}
@media(min-width:768px) and (max-width:900px){
  body.maestro-touch-slides #maestro .container .wrap{
    padding:116px 6% 56px;
  }
}


/* ===============================================
   Maestro/WebKit follow-up patch (2026-10-21)
   =============================================== */

/* Slides' kenBurns animation otherwise fades the background from opacity
   .2 to 1, which can appear as a late brightness flash on iPad Safari.
   Keep the existing motion, but not the background opacity transition. */
#maestro.kenBurns .background {
  opacity: 0.7 !important;
  transition-property: transform !important;
}

/* Image is now a regular flow element; no percentage-height absolute image.
   The actual 1280 x 720 screenshots supply their own intrinsic ratio. */
#maestro .maestro-carousel-frame {
  aspect-ratio: auto;
  isolation: auto;
}
#maestro .maestro-carousel-image {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
  -webkit-transform: none;
  transform: none;
}
/* This button is only a click/tap overlay; arrows remain above it. */
#maestro .maestro-carousel-frame .maestro-carousel-slide {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  opacity: 1;
  visibility: visible;
  -webkit-appearance: none;
  appearance: none;
  transition: none;
  cursor: zoom-in;
}
/* Prevent Safari's end-of-transition repaint of the Maestro background.
   The existing compatibility JS adds this class only for touch tablets
   running Slides in fixed-slide mode; desktop and phone remain unchanged. */
body.maestro-touch-slides #maestro.kenBurns .background {
  opacity: 0.7 !important;
  -webkit-transform: none !important;
  transform: none !important;
  -webkit-transition: none !important;
  transition: none !important;
  -webkit-animation: none !important;
  animation: none !important;
}
/* Centre the Maestro showcase vertically in fixed-slide desktop layouts.
   Keep the Slides framework's original alignment on other sections. */
@media (min-width:901px) and (pointer:fine) {
  #maestro .container {
    display:block;
    height:auto;
    min-height:100%;
  }
  #maestro .container .wrap {
    display:flex;
    flex-direction:column;
    min-height:100vh;
    min-height:100dvh;
    padding-top:clamp(64px,8vh,92px);
    padding-bottom:clamp(64px,8vh,92px);
    overflow:visible;
  }
  #maestro .container .wrap > .fix-12-12 {
    margin-top:auto;
    margin-bottom:auto;
  }
}

/* Override the general desktop vertical centring padding on very short screens. */
@media (min-width: 901px) and (max-height: 680px) and (pointer: fine) {
  #maestro .container .wrap { padding-top: 30px; padding-bottom: 30px; }
}

/* Safari iPads in fixed-slide mode already scroll within #maestro .content.
   The block grows beyond one screen if necessary, and auto margins centre
   it only when there's spare height. This does not affect simplified mode. */
@media (min-width:768px) {
  body.maestro-touch-slides #maestro .container .wrap {
    display:flex;
    flex-direction:column;
    min-height:100vh;
    min-height:100dvh;
    padding-top:clamp(78px,9vh,104px);
    padding-bottom:clamp(78px,9vh,104px);
    overflow:visible;
  }
  body.maestro-touch-slides #maestro .container .wrap > .fix-12-12 {
    margin-top:auto;
    margin-bottom:auto;
  }
}

/* Reduce unnecessary vertical padding on fixed-slide tablets */
@media (min-width: 768px) {
  body.maestro-touch-slides #maestro .container .wrap {
    padding-top: clamp(44px, 6vh, 68px);
    padding-bottom: clamp(44px, 6vh, 68px);
  }
}

/* Avoid consuming swipe gestures when content fits */
body.maestro-touch-slides #maestro .content {
  overflow-y: hidden;
  overscroll-behavior-y: auto;
}

/* Allow internal scrolling only when genuinely necessary */
body.maestro-touch-slides.maestro-inner-scroll #maestro .content {
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

/* Home: fixed-slide desktop presentation only */
@media (min-width: 901px) and (pointer: fine) {

  html:not(.mobile):not(.scroll)
  body.slides:not(.scroll):not(.maestro-touch-slides)
  #home .container .wrap:not(.noSpaces) {
    padding-top: clamp(48px, 7vh, 88px);
    padding-bottom: clamp(48px, 7vh, 88px);
  }

  html:not(.mobile):not(.scroll)
  body.slides:not(.scroll):not(.maestro-touch-slides)
  #home .home-hero {
    padding-top: 0;
    padding-bottom: 0;
  }

  html:not(.mobile):not(.scroll)
  body.slides:not(.scroll):not(.maestro-touch-slides)
  #home .content {
    overflow-y: hidden !important;
  }
}

/* Additional adjustments for short desktop windows */
@media (min-width: 901px) and (pointer: fine)
       and (max-height: 680px) {

  html:not(.mobile):not(.scroll)
  body.slides:not(.scroll):not(.maestro-touch-slides)
  #home .container .wrap:not(.noSpaces) {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  html:not(.mobile):not(.scroll)
  body.slides:not(.scroll):not(.maestro-touch-slides)
  #home .home-mark {
    width: clamp(140px, 14vw, 180px);
  }

  html:not(.mobile):not(.scroll)
  body.slides:not(.scroll):not(.maestro-touch-slides)
  #home .home-explore {
    margin-top: clamp(18px, 3vh, 30px);
  }
}

/* Suppress transient navigation highlights on touch devices */
@media (hover: none) and (pointer: coarse) {

  .panel.top .menu li a {
    -webkit-tap-highlight-color: transparent;
  }

  .panel.top .menu li a:hover,
  .panel.top .menu li a:active,
  .panel.top .menu li a:focus:not(:focus-visible) {
    opacity: 0.8;
  }

}

/* Normal navigation appearance in mobile scrolling mode */
body.nav-scroll-tracking .panel.top
:is(#desktopTopPanel,#mobileTopPanel)
.menu.uppercase li a[href] {
  color: inherit !important;
  opacity: .8 !important;
  text-decoration: none !important;
  transition: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Highlight only the section actually visible */
body.nav-scroll-tracking .panel.top
:is(#desktopTopPanel,#mobileTopPanel)
.menu.uppercase li a.is-visible-section[href] {
  color: #b6d7ef !important;
  opacity: 1 !important;
  text-decoration: underline !important;
  text-decoration-color: #b6d7ef !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
