/* Motor Visual v1.9.0 — Responsive editorial/kinetic composition.
   All selectors require .mvx-gsap-live, which is added by GSAP after validation.
   Saved Gutenberg markup and block validation are not affected.
*/
body:not(.wp-admin) .mvx-scope.mvx-gsap-live {
  --mvx-gsap-ink:#f9f9fa;--mvx-gsap-deep:#081422;--mvx-gsap-accent:#bad2e8;
  background:var(--mvx-gsap-deep)!important;max-width:none!important;
  width:100%!important;color:var(--mvx-gsap-ink)!important;
  overflow:visible!important;
}
body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section,
body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section * {
  animation:none!important;animation-timeline:auto!important;
  /* Disable legacy CSS scroll-linked styles to avoid transform contention. */
}
body:not(.wp-admin) .mvx-scope.mvx-gsap-live > .mvx-gsap-section {
  box-sizing:border-box!important;isolation:isolate;
  position:relative!important;top:auto!important;width:100%!important;
  max-width:none!important;overflow:visible!important;
  min-height:92svh!important;border-radius:0!important;
  margin:0!important;padding:clamp(68px,7vw,110px) clamp(26px,7vw,120px)!important;
  box-shadow:none!important;color:#fff!important;
}
body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > h2 {
  font-family:inherit!important;color:#fff!important;font-weight:480!important;
  letter-spacing:-.04em!important;line-height:1.075!important;
  font-size:clamp(2.8rem,4.6vw,5.2rem)!important;
  text-wrap:balance;
}
body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > p {
  font-size:clamp(.99rem,1.2vw,1.14rem)!important;line-height:1.65!important;
  max-width:51ch!important;margin:0 0 16px!important;color:#edf3f9!important;
}
body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > p:first-of-type {
  font-size:clamp(.76rem,.86vw,.9rem)!important;letter-spacing:.12em!important;
  text-transform:uppercase;color:var(--mvx-gsap-accent)!important;
}
body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section figure.wp-block-image {
  margin:0!important;width:100%;height:100%;max-width:none!important;
  border-radius:clamp(24px,3vw,46px)!important;
  overflow:hidden!important;
  box-shadow:0 28px 70px rgba(0,0,0,.25);
}
body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section figure.wp-block-image img {
  height:100%!important;width:100%!important;max-width:none!important;
  object-fit:cover!important;display:block!important;
  border-radius:inherit!important;
  will-change:transform;
}
body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > .wp-block-buttons {
  margin:14px 0 0!important;justify-content:flex-start!important;
  max-width:100%;display:flex!important;
}
body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section .wp-block-button__link {
  border-radius:999px!important;padding:13px 24px!important;
  background:rgba(23,72,120,.8)!important;
  border:1px solid rgba(188,218,249,.7)!important;
  font-size:.83rem!important;color:#fff!important;
}
/* Make available horizontal width real even when Astra constrains entry content. */
@supports selector(body:has(.mvx-gsap-live)) {
  body:has(.mvx-gsap-live) .entry-content:has(.mvx-gsap-live),
  body:has(.mvx-gsap-live) .ast-container:has(.mvx-gsap-live),
  body:has(.mvx-gsap-live) .site-content:has(.mvx-gsap-live) {
    max-width:none!important;overflow:visible!important;
  }
  body:has(.mvx-gsap-live) .entry-header:has(.entry-title){display:none!important;}
}
/* Desktop: scenic hero and two-column areas with image as the right-hand plane. */
@media(min-width:901px) {
  body:not(.wp-admin) .mvx-scope.mvx-gsap-live > .mvx-gsap-hero {
    display:grid!important;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows:repeat(4,auto);
    align-content:center;align-items:center;
    column-gap:clamp(28px,6vw,110px);row-gap:8px;
    min-height:95svh!important;
    background:radial-gradient(circle at 70% 34%,#233a52 0%,#0b1b31 54%,#091322 95%)!important;
  }
  body:not(.wp-admin) .mvx-gsap-hero > figure.wp-block-image {
    grid-column:2;grid-row:1/span 4;height:min(73svh,760px)!important;
    position:relative!important;z-index:3!important;
    box-shadow:0 33px 90px rgba(0,0,0,.45);
    will-change:transform;
  }
  body:not(.wp-admin) .mvx-gsap-hero > h2 {
    grid-column:1;grid-row:1;
    font-size:clamp(3.8rem,6.2vw,7rem)!important;
    position:relative;z-index:1;letter-spacing:-.052em!important;
    max-width:11ch;
    margin:0 0 16px!important;
  }
  body:not(.wp-admin) .mvx-gsap-hero > p,
  body:not(.wp-admin) .mvx-gsap-hero > .wp-block-buttons {grid-column:1;}
  body:not(.wp-admin) .mvx-scope.mvx-gsap-live > .mvx-gsap-section:not(.mvx-gsap-hero) {
    display:grid!important;
    grid-template-columns:minmax(0, 0.93fr) minmax(0, 1.07fr);
    grid-template-rows:repeat(4,auto);
    align-content:center;align-items:center;
    column-gap:clamp(30px,6.5vw,130px);
    row-gap:14px;
  }
  body:not(.wp-admin) .mvx-gsap-section:not(.mvx-gsap-hero) > figure.wp-block-image {
    grid-column:2;grid-row:1/span 4;
    height:min(65svh,650px)!important;
  }
  body:not(.wp-admin) .mvx-gsap-section:not(.mvx-gsap-hero) > h2 {grid-column:1;grid-row:2;margin:0!important;}
  body:not(.wp-admin) .mvx-gsap-section:not(.mvx-gsap-hero) > p,
  body:not(.wp-admin) .mvx-gsap-section:not(.mvx-gsap-hero) > .wp-block-buttons {grid-column:1;}
  body:not(.wp-admin) .mvx-gsap-section:not(.mvx-gsap-hero) > p:first-of-type {grid-row:1;}
  body:not(.wp-admin) .mvx-gsap-section:not(.mvx-gsap-hero) > p:not(:first-of-type) {grid-row:3;}
  body:not(.wp-admin) .mvx-gsap-section:not(.mvx-gsap-hero) > .wp-block-buttons {grid-row:4;}
  /* The closing scene has no photograph, so center its content. */
  body:not(.wp-admin) .mvx-gsap-section:not(.mvx-gsap-hero):not(:has(figure.wp-block-image)) {
    display:flex!important;flex-direction:column;justify-content:center;
    align-items:center;text-align:center;
  }
  body:not(.wp-admin) .mvx-gsap-section:not(:has(figure.wp-block-image)) > p,
  body:not(.wp-admin) .mvx-gsap-section:not(:has(figure.wp-block-image)) > h2 {text-align:center;max-width:26ch!important;}
  body:not(.wp-admin) .mvx-gsap-section:not(:has(figure.wp-block-image)) > .wp-block-buttons {justify-content:center!important;}
}
/* Narrow screens: preserve native Gutenberg source, reorder without cloning.
   Large photos lead each card; typography and CTA are centered underneath. */
@media(max-width:900px){
  body:not(.wp-admin) .mvx-scope.mvx-gsap-live > .mvx-gsap-section {
    display:flex!important;flex-direction:column;
    align-items:center;justify-content:center;text-align:center;
    width:100%!important;max-width:none!important;
    min-height:94svh!important;
    padding:clamp(64px,9svh,100px) clamp(18px,5vw,38px)!important;
    gap:clamp(12px,2svh,20px);
    border-radius:0!important;
  }
  body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > figure.wp-block-image {
    order:-1;width:100%!important;height:clamp(260px,48svh,620px)!important;
    max-height:none!important;flex:0 0 auto;
    margin-bottom:clamp(14px,3svh,30px)!important;
    border-radius:clamp(22px,5vw,36px)!important;
    will-change:transform;
  }
  body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > h2 {
    font-size:clamp(2.1rem,7.6vw,4.5rem)!important;
    max-width:19ch!important;margin:0 auto!important;
  }
  body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > p {
    width:100%!important;max-width:43ch!important;
    font-size:clamp(.96rem,2.7vw,1.13rem)!important;
    line-height:1.5!important;margin:0 auto!important;
    text-align:center!important;
  }
  body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > p:first-of-type {
    font-size:.75rem!important;line-height:1.4!important;max-width:46ch!important;
  }
  body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > .wp-block-buttons {
    justify-content:center!important;margin:8px auto 0!important;
  }
  body:not(.wp-admin) .mvx-scope.mvx-gsap-live > .mvx-gsap-section:not(.mvx-gsap-hero) {
    /* Only mobile has successive overlaid panels. Desktop scroll is natural. */
    position:sticky!important;top:0!important;
    box-shadow:0 -25px 42px rgba(0,0,0,.25)!important;
  }
}
@media(max-width:480px){
  body:not(.wp-admin) .mvx-scope.mvx-gsap-live > .mvx-gsap-section {
    min-height:96svh!important;padding:clamp(38px,6svh,64px) 5vw!important;
  }
  body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > figure.wp-block-image {
    height:clamp(230px,42svh,450px)!important;
  }
  body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > h2 {font-size:clamp(1.9rem,8.3vw,3rem)!important;line-height:1.1!important;}
}
@media(max-height:690px) and (max-width:900px) {
  body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > figure.wp-block-image {height:38svh!important;}
  body:not(.wp-admin) .mvx-gsap-live .mvx-gsap-section > h2 {font-size:clamp(1.75rem,6.2vw,2.7rem)!important;}
}
@media(prefers-reduced-motion:reduce){
  body:not(.wp-admin) .mvx-scope.mvx-gsap-reduced .mvx-section,
  body:not(.wp-admin) .mvx-scope.mvx-gsap-reduced .mvx-section * {animation:none!important;transition:none!important;transform:none!important;opacity:1!important;}
}
