/* Jazz Solution - home hero v5: three centred lines, no button, quiet motion. Needs the .jz-hero5 class added by hero-v5.php. */
/* the hero lines wait for Kanit (same files as the site font, preloaded in hero-v5.php) instead of swapping from a fallback, so they do not jump */
@font-face{font-family:'JZ Hero Kanit';font-style:normal;font-weight:400;font-display:block;src:url(https://fonts.gstatic.com/s/kanit/v17/nKKZ-Go6G5tXcraBGwCYdA.woff2) format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'JZ Hero Kanit';font-style:normal;font-weight:400;font-display:block;src:url(https://fonts.gstatic.com/s/kanit/v17/nKKZ-Go6G5tXcraVGwA.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JZ Hero Kanit';font-style:normal;font-weight:700;font-display:block;src:url(https://fonts.gstatic.com/s/kanit/v17/nKKU-Go6G5tXcr4uPhWzVaF5NQ.woff2) format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'JZ Hero Kanit';font-style:normal;font-weight:700;font-display:block;src:url(https://fonts.gstatic.com/s/kanit/v17/nKKU-Go6G5tXcr4uPhWnVaE.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
html body.home main .jz-hero5 .banner-copy .banner-lead,html body.home main .jz-hero5 .banner-copy .banner-title,html body.home main .jz-hero5 .banner-copy p{font-family:'JZ Hero Kanit',Kanit,Arial,sans-serif}
html body.home main .jz-hero5 .banner-copy{inset:0;padding:0 var(--s4);justify-content:center}
html body.home main .jz-hero5 .banner-lead{font-size:clamp(56px,9.4vw,180px);line-height:1.05;white-space:nowrap;text-shadow:0 2px 24px rgba(10,13,20,.35)}
/* fixed word widths (Kanit 700 measured in em) keep each word's start point still while the font arrives */
html body.home main .jz-hero5 .banner-lead{display:flex;justify-content:center;column-gap:.205em}
html body.home main .jz-hero5 .jzh-w{display:block;flex:none;width:2.284em;text-align:left}
html body.home main .jz-hero5 .jzh-w+.jzh-w{width:4.706em}
html body.home main .jz-hero5 .banner-title{font-size:clamp(34px,3.2vw,60px);line-height:1.3;color:#ff8f33;margin:clamp(8px,1.2vw,24px) 0 0;text-wrap:balance;text-shadow:0 1px 3px rgba(10,13,20,.7)}
html body.home main .jz-hero5 .banner-title::before{content:none}
html body.home main .jz-hero5 .banner-copy p{font-size:clamp(19px,1.5vw,28px);margin:clamp(28px,3.4vw,64px) 0 0;text-shadow:0 1px 3px rgba(10,13,20,.7)}
html body.home main .jz-hero5 .banner-art.scene-art::after{background:radial-gradient(ellipse 75% 58% at 50% 52%,rgba(16,20,28,.8) 0%,rgba(18,22,31,.74) 55%,rgba(21,25,34,.62) 100%)}
html body.home main .jz-hero5 .banner-frame{overflow:hidden}

@media (max-width:1100px){
  html body.home main .jz-hero5 .banner-lead{font-size:min(11.2vw,108px)}
}
@media (max-width:700px){
  html body.home main .jz-hero5 .banner-copy{padding:0 var(--s3)}
  html body.home main .jz-hero5 .banner-title{font-size:clamp(21px,6.8vw,34px);margin-top:var(--s2)}
  html body.home main .jz-hero5 .banner-copy p{font-size:16px;margin-top:var(--s4);padding:0 var(--s2);text-wrap:balance}
}

/* motion: plays once, uses only transform and opacity; without it (or without CSS animation) everything is simply visible */
@media screen and (prefers-reduced-motion:no-preference){
  html body.home main .jz-hero5 .jzh-w{animation:jzh-rise .8s cubic-bezier(.16,1,.3,1) .05s both}
  html body.home main .jz-hero5 .jzh-w+.jzh-w{animation-delay:.25s}
  html body.home main .jz-hero5 .banner-title{animation:jzh-up .75s cubic-bezier(.2,.7,.25,1) .55s both}
  html body.home main .jz-hero5 .banner-copy p{animation:jzh-up .65s cubic-bezier(.2,.7,.25,1) .8s both}
  html body.home main .jz-hero5 img.banner-main-image{animation:jzh-zoom 18s cubic-bezier(.25,.5,.4,1) both;transform-origin:50% 55%}
}
@keyframes jzh-rise{from{opacity:0;transform:translate3d(0,.35em,0) scale(1.08)}to{opacity:1;transform:none}}
@keyframes jzh-up{from{opacity:0;transform:translate3d(0,20px,0)}to{opacity:1;transform:none}}
@keyframes jzh-zoom{from{transform:scale(1)}to{transform:scale(1.09)}}
