/* MIGSG Slider widget (mu-plugin migsg/slider.php): "The MIGSG Difference" full-screen values slider.
   Loaded only on pages that use the widget. Colours: --gold / --gold-lt are set from the widget's Style tab. */
section.mh{--navy:#131C3F;--navy2:#0B1129;--gold:#C9A24B;--gold-lt:#E2C27B;
  position:relative;min-height:calc(var(--mh-h,100) * 1vh);min-height:calc(var(--mh-h,100) * 1svh);display:flex;flex-direction:column;justify-content:center;
  overflow:hidden;color:#fff;background:var(--navy2);isolation:isolate;font-family:"Source Sans 3",sans-serif}
section.mh *{box-sizing:border-box}
section.mh .mh__media{position:absolute;inset:0;z-index:-2}
section.mh .mh__photo{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% var(--fy,50%);
  opacity:0;transform:scale(1.08);transition:opacity 1.4s ease,transform calc(var(--mh-seconds)*1s + 1.4s) linear}
section.mh .mh__photo.is-active{opacity:1;transform:scale(1)}
section.mh .mh__veil{position:absolute;inset:0;z-index:-1;opacity:var(--mh-veil,1);
  background:linear-gradient(90deg,rgba(11,17,41,.94) 0%,rgba(11,17,41,.75) 45%,rgba(11,17,41,.25) 100%),
             linear-gradient(0deg,rgba(11,17,41,.9) 0%,rgba(11,17,41,0) 35%)}
section.mh .mh__inner{width:100%;max-width:1240px;margin:0 auto;padding:130px 32px 150px}
section.mh .mh__kicker{margin:0 0 20px;font-size:12px;letter-spacing:3.5px;text-transform:uppercase;color:var(--gold-lt)}

/* Heading: The MIGSG Difference */
section.mh .mh__title{margin:0;font-family:"Cormorant Garamond",serif;font-weight:500;line-height:1;color:#fff!important;
  font-size:clamp(40px,5.4vw,72px);letter-spacing:.5px}
section.mh .mh__brand b{font-weight:600;color:rgba(255,255,255,.95);transition:color .6s ease,text-shadow .6s ease}
section.mh .mh__brand b.is-active{color:var(--gold-lt);text-shadow:0 0 24px rgba(226,194,123,.45)}
section.mh .mh__sub{margin:12px 0 0;font-family:"Cormorant Garamond",serif;font-style:italic;font-size:clamp(19px,2vw,26px);color:rgba(255,255,255,.85)}
section.mh .mh__rule{display:block;width:90px;height:1px;background:var(--gold);margin:28px 0 26px;transform-origin:left;animation:mhDraw 1s .6s both}

/* Rotating value */
section.mh .mh__values{display:grid;max-width:680px;margin-bottom:36px}
section.mh .mh__value{grid-area:1/1;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:28px;
  opacity:0;visibility:hidden;transition:opacity .7s ease,visibility 0s .7s}
section.mh .mh__value.is-active{opacity:1;visibility:visible;transition:opacity .7s ease .15s,visibility 0s}
section.mh .mh__letter{font-family:"Cormorant Garamond",serif;font-style:italic;font-weight:500;line-height:.8;color:var(--gold-lt);
  font-size:clamp(110px,13vw,180px);min-width:.75em;text-align:center;
  transform:translateY(.25em);filter:blur(8px);opacity:0;transition:transform .9s cubic-bezier(.2,.7,.2,1),filter .9s ease,opacity .9s ease}
section.mh .mh__value.is-active .mh__letter{transform:none;filter:none;opacity:1}
section.mh .mh__vname{margin:0 0 10px;font-family:"Cormorant Garamond",serif;font-weight:600;font-size:clamp(28px,3vw,40px);line-height:1.05;color:#fff!important;
  transform:translateY(14px);opacity:0;transition:transform .8s cubic-bezier(.2,.7,.2,1) .2s,opacity .8s ease .2s}
section.mh .mh__vtext{margin:0;font-size:18px;line-height:1.55;color:rgba(255,255,255,.88);max-width:440px;
  transform:translateY(14px);opacity:0;transition:transform .8s cubic-bezier(.2,.7,.2,1) .35s,opacity .8s ease .35s}
section.mh .mh__value.is-active .mh__vname,section.mh .mh__value.is-active .mh__vtext{transform:none;opacity:1}

/* Buttons */
section.mh .mh__actions{display:flex;flex-wrap:wrap;gap:14px}
section.mh .mh__btn{display:inline-block;padding:16px 30px;font-size:12px;letter-spacing:2.5px;text-transform:uppercase;text-decoration:none;
  font-weight:600;border:1px solid;transition:background .3s,color .3s,border-color .3s}
section.mh .mh__btn--solid{background:var(--gold);color:var(--navy)!important;border-color:var(--gold)}
section.mh .mh__btn--line{color:#fff!important;border-color:rgba(255,255,255,.55)}
section.mh .mh__btn:hover{background:#fff;border-color:#fff;color:var(--navy)!important}
section.mh .mh__btn--gold{color:var(--gold-lt)!important;border-color:var(--gold)}
section.mh .mh__btn--gold:hover{background:var(--gold);border-color:var(--gold);color:var(--navy)!important}

/* Bottom bar */
section.mh .mh__bar{position:absolute;left:0;right:0;bottom:0;border-top:1px solid rgba(255,255,255,.22);background:rgba(11,17,41,.35);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
section.mh .mh__bar-in{max-width:1240px;margin:0 auto;display:flex;align-items:stretch;min-height:104px}
section.mh .mh__nav{flex:1;min-width:0;display:flex;align-items:center;gap:26px;padding:20px 28px 20px 32px}
section.mh .mh__ticks{display:flex;gap:18px;flex:0 1 420px;min-width:0}
section.mh .mh__tick{all:unset;cursor:pointer;flex:1 1 0;min-width:0;display:grid;row-gap:10px;color:rgba(255,255,255,.55);transition:color .3s}
section.mh .mh__tick:hover,section.mh .mh__tick.is-active{color:#fff}
section.mh .mh__tick:focus-visible{outline:2px solid var(--gold-lt);outline-offset:6px}
section.mh .mh__num{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:22px;line-height:1}
section.mh .mh__tick.is-active .mh__num{color:var(--gold-lt)}
section.mh .mh__track{height:2px;background:rgba(255,255,255,.22);overflow:hidden}
section.mh .mh__track i{display:block;height:100%;width:100%;background:var(--gold);transform:scaleX(0);transform-origin:left}
section.mh .mh__tick.is-done .mh__track i{transform:scaleX(1)}
section.mh .mh__tick.is-active .mh__track i{animation:mhFill calc(var(--mh-seconds)*1s) linear forwards}
section.mh.is-paused .mh__tick.is-active .mh__track i{animation-play-state:paused}
section.mh .mh__pause{all:unset;cursor:pointer;flex:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.45);border-radius:50%;
  display:grid;place-items:center;transition:border-color .3s,background .3s}
section.mh .mh__pause:focus-visible{outline:2px solid var(--gold-lt);outline-offset:3px}
section.mh .mh__pause svg{width:16px;height:16px;fill:#fff}
section.mh .mh__i-play,section.mh.is-paused .mh__i-pause{display:none}
section.mh.is-paused .mh__i-play{display:block}
section.mh .mh__quick{display:flex}
section.mh .mh__quick a{display:flex;align-items:center;justify-content:center;gap:12px;padding:0 clamp(16px,2.4vw,34px);border-left:1px solid rgba(255,255,255,.22);
  color:#fff!important;font-size:12px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;text-decoration:none;white-space:nowrap;
  transition:background .3s}
section.mh .mh__quick a:last-child{padding-right:32px}
section.mh .mh__quick a span{color:var(--gold-lt);transition:transform .3s}
section.mh .mh__quick a:hover{background:rgba(201,162,75,.15)}
section.mh .mh__quick a:hover span{transform:translateX(5px)}
section.mh .mh__motto{position:absolute;z-index:2;right:clamp(14px,2.6vw,44px);top:50%;margin:0;writing-mode:vertical-rl;transform:translateY(-50%);
  font-size:11px;font-weight:400;letter-spacing:.42em;text-transform:uppercase;white-space:nowrap;color:rgba(255,255,255,.7);
  animation:mhFade 1s ease 1.9s both}

/* shield from the theme's global button styles */
section.mh .mh__tick,section.mh .mh__tick:hover,section.mh .mh__tick:focus,
section.mh .mh__pause,section.mh .mh__pause:focus{background:transparent!important;box-shadow:none!important;padding:0!important;text-transform:none;font-weight:400;letter-spacing:0}
section.mh .mh__tick,section.mh .mh__tick:focus{border:0!important;border-radius:0!important}
section.mh .mh__pause:hover{background:rgba(201,162,75,.15)!important;border-color:var(--gold)}

section.mh .mh-rise{animation:mhRise .9s cubic-bezier(.2,.7,.2,1) var(--d,0s) both}
@keyframes mhRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes mhDraw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes mhFill{to{transform:scaleX(1)}}
@keyframes mhFade{from{opacity:0}to{opacity:1}}

@media (max-width:1100px){
  section.mh .mh__motto{display:none}
}
@media (max-width:900px){
  section.mh .mh__quick a{padding:0 18px;letter-spacing:.18em}
}
@media (max-width:767px){
  section.mh .mh__inner{padding:92px 22px 176px}
  section.mh .mh__kicker{margin-bottom:14px}
  section.mh .mh__rule{margin:20px 0 18px}
  section.mh .mh__values{margin-bottom:26px}
  section.mh .mh__actions{gap:10px}
  section.mh .mh__veil{background:linear-gradient(0deg,rgba(11,17,41,.96) 0%,rgba(11,17,41,.7) 55%,rgba(11,17,41,.5) 100%)}
  section.mh .mh__value{column-gap:16px}
  section.mh .mh__letter{font-size:84px}
  section.mh .mh__vtext{font-size:16px}
  section.mh .mh__btn{padding:14px 20px}
  section.mh .mh__bar-in{flex-direction:column}
  section.mh .mh__nav{padding:16px 22px;gap:16px}
  section.mh .mh__ticks{flex:1;gap:12px}
  section.mh .mh__quick{border-top:1px solid rgba(255,255,255,.16)}
  section.mh .mh__bar-in{min-height:0}
  section.mh .mh__quick a,section.mh .mh__quick a:last-child{flex:1;min-height:56px;padding:0 6px;font-size:11px;letter-spacing:.14em;gap:6px}
  section.mh .mh__quick a:first-child{border-left:0}
}
@media (prefers-reduced-motion:reduce){
  section.mh .mh__photo,section.mh .mh__letter,section.mh .mh__vname,section.mh .mh__vtext{transform:none!important;filter:none!important}
  section.mh .mh-rise,section.mh .mh__rule{animation:none}
}
section.mh.mh--nobar .mh__inner{padding-bottom:90px}
section.mh .mh__play-icon{margin-right:6px}
/* Elementor editor: keep the slider at a usable height inside the editing frame */
.elementor-editor-active section.mh{min-height:760px}

