/* PHONYX Home Shortcode v1.0.2 — matched to the original PageLayer Home */
.phonyx-shortcode-home-page .entry-header,
.phonyx-shortcode-home-page .page-header,
.phonyx-shortcode-home-page .entry-title,
.phonyx-shortcode-home-page .page-title { display:none !important; }

.phonyx-shortcode-home-page .site-content,
.phonyx-shortcode-home-page .content-area,
.phonyx-shortcode-home-page .entry-content,
.phonyx-shortcode-home-page main.site-main,
.phonyx-shortcode-home-page article,
.phonyx-shortcode-home-page .content-container {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

.phx-home,.phx-home *{box-sizing:border-box}
.phx-home{background:#02050a!important;color:#fff!important;overflow:hidden;font-family:inherit}
.phx-home h1,.phx-home h2,.phx-home h3,.phx-home p{color:inherit}
.phx-shell{width:min(1440px,calc(100% - 96px));margin:0 auto}

/* Hero */
.phx-hero{
  position:relative;
  min-height:650px;
  display:flex;
  align-items:center;
  background-color:#06101f;
  background-image:var(--phx-hero-image,none);
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
}
.phx-hero:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(0,3,10,.96) 0%,rgba(0,4,13,.88) 28%,rgba(0,8,20,.42) 56%,rgba(0,5,14,.06) 100%);
}
.phx-hero-inner{position:relative;z-index:2;padding:70px 0 76px}
.phx-eyebrow{margin:0 0 20px!important;color:#168cff!important;font-size:14px!important;line-height:1.35!important;letter-spacing:.025em!important;font-weight:500!important;text-transform:uppercase}
.phx-hero h1{margin:0!important;max-width:620px;font-size:clamp(54px,4.6vw,76px)!important;line-height:1.16!important;letter-spacing:-.015em!important;font-weight:750!important;text-transform:uppercase}
.phx-hero h1 span{display:block;color:#fff!important;white-space:nowrap;text-shadow:0 3px 14px rgba(0,0,0,.75)}
.phx-hero h1 .phx-blue{color:#187dff!important;text-shadow:0 0 11px rgba(29,112,255,.55),0 3px 14px rgba(0,0,0,.8)}
.phx-rule{width:52px;height:3px;margin:24px 0 15px;background:#168cff}
.phx-intro{max-width:560px;margin:0!important;color:#9baabe!important;font-size:15px!important;line-height:1.65!important;font-weight:400!important}
.phx-cta{display:inline-flex!important;align-items:center;justify-content:center;margin-top:28px;padding:15px 34px!important;border:3px solid #073cff!important;border-radius:4px!important;background:rgba(0,5,16,.7)!important;color:#168cff!important;text-decoration:none!important;font-size:17px!important;line-height:1.15!important;font-weight:500!important;white-space:nowrap}
.phx-cta:hover{background:#073cff!important;color:#fff!important}

/* Quality */
.phx-quality{padding:0 0 50px;background:#020206!important}
.phx-quality-head{padding:0 0 26px}
.phx-quality .phx-eyebrow{margin:0 0 9px!important}
.phx-quality h2{margin:0!important;color:#fff!important;font-size:31px!important;line-height:1.2!important;letter-spacing:-.01em!important;font-weight:700!important;text-transform:uppercase}
.phx-quality-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:48px;padding-top:10px}
.phx-quality-grid article{min-width:0;text-align:center;padding:18px 0 0;border-top:1px solid rgba(255,255,255,.09)}
.phx-icon{height:66px;margin:0 auto 17px;display:flex;align-items:center;justify-content:center;color:#fff!important}
.phx-icon svg{width:52px;height:52px;display:block;fill:currentColor;stroke:currentColor}
.phx-quality h3{min-height:52px;margin:0 0 16px!important;color:#fff!important;font-size:21px!important;line-height:1.3!important;font-weight:500!important;text-transform:uppercase}
.phx-quality article p{margin:0!important;color:#53647e!important;font-size:15px!important;line-height:1.6!important;text-align:left}

/* RUO */
.phx-ruo{padding:26px 0;background:linear-gradient(90deg,#061327 0%,#0d2e5c 50%,#061327 100%)!important;border-top:1px solid rgba(45,145,255,.18);border-bottom:1px solid rgba(45,145,255,.18)}
.phx-ruo-inner{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:30px}
.phx-purity-image{width:120px;height:120px;display:block;object-fit:contain;margin:0 auto}
.phx-purity{width:112px;aspect-ratio:1;margin:0 auto;border:3px solid #4cadff;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff!important;background:radial-gradient(circle,#178ce9 0%,#0c397b 66%,#061a3d 100%);box-shadow:0 0 18px rgba(47,151,255,.45),inset 0 0 12px rgba(255,255,255,.22)}
.phx-purity span{font-size:12px;line-height:1.1;font-weight:700}.phx-purity strong{font-size:34px;line-height:1;font-weight:800}
.phx-ruo h2{margin:0 0 7px!important;color:#fff!important;font-size:17px!important;line-height:1.2!important;font-weight:700!important;text-transform:uppercase}
.phx-ruo p{max-width:1120px;margin:0!important;color:#8ea0b9!important;font-size:13px!important;line-height:1.75!important}

@media(max-width:1000px){
  .phx-shell{width:min(100% - 48px,1200px)}
  .phx-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
}

@media(max-width:767px){
  .phx-shell{width:calc(100% - 34px)}
  .phx-hero{min-height:620px;align-items:flex-start;background-position:64% center}
  .phx-hero:before{background:linear-gradient(90deg,rgba(0,2,8,.96) 0%,rgba(0,5,14,.84) 52%,rgba(0,5,14,.18) 100%)}
  .phx-hero-inner{padding:46px 0 44px}
  .phx-eyebrow{margin-bottom:20px!important;font-size:12px!important;line-height:1.4!important;letter-spacing:.01em!important;white-space:nowrap}
  .phx-hero h1{max-width:100%;font-size:clamp(39px,11vw,49px)!important;line-height:1.16!important;letter-spacing:-.02em!important}
  .phx-hero h1 span{white-space:nowrap!important}
  .phx-rule{width:30px;height:3px;margin:24px 0 15px}
  .phx-intro{max-width:300px;color:#b8c4d3!important;font-size:15px!important;line-height:1.55!important}
  .phx-cta{margin-top:24px;padding:11px 15px!important;border-width:2px!important;font-size:12px!important;max-width:100%;white-space:nowrap}

  .phx-quality{padding:34px 0 38px}
  .phx-quality-head{padding-bottom:20px}
  .phx-quality h2{font-size:28px!important;line-height:1.2!important}
  .phx-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px;padding-top:0}
  .phx-quality-grid article{padding-top:16px}
  .phx-icon{height:52px;margin-bottom:13px}.phx-icon svg{width:42px;height:42px}
  .phx-quality h3{min-height:56px;margin-bottom:9px!important;font-size:16px!important;line-height:1.45!important}
  .phx-quality article p{color:#8795aa!important;font-size:13px!important;line-height:1.55!important;text-align:center}

  .phx-ruo{padding:25px 0}
  .phx-ruo-inner{grid-template-columns:1fr;gap:15px;text-align:center}
  .phx-purity-image{width:88px;height:88px}.phx-purity{width:88px}.phx-purity span{font-size:10px}.phx-purity strong{font-size:27px}
  .phx-ruo h2{font-size:18px!important}.phx-ruo p{font-size:13px!important;line-height:1.65!important;color:#aab7ca!important}
}

@media(max-width:390px){
  .phx-eyebrow{font-size:11px!important}
  .phx-hero h1{font-size:39px!important}
  .phx-cta{font-size:11px!important;padding:10px 12px!important}
  .phx-quality h2{font-size:25px!important}
}

/* v1.0.3: robust hero image rendering on all devices */
.phx-hero{isolation:isolate;background-image:none!important;overflow:hidden}
.phx-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:0;display:block!important;max-width:none!important;margin:0!important;padding:0!important}
.phx-hero:before{z-index:1}
.phx-hero-overlay{position:absolute;inset:0;z-index:1;pointer-events:none}
.phx-hero-inner{z-index:2}
@media(max-width:767px){
  .phx-hero-bg{object-position:68% center}
  .phx-hero{min-height:590px}
}


/* v1.0.4 — force true full-bleed Home through Kadence/PageLayer wrappers */
body.phonyx-shortcode-home-page,
body.phonyx-shortcode-home-page #page,
body.phonyx-shortcode-home-page #primary,
body.phonyx-shortcode-home-page #main,
body.phonyx-shortcode-home-page .site,
body.phonyx-shortcode-home-page .site-main,
body.phonyx-shortcode-home-page .site-content,
body.phonyx-shortcode-home-page .content-area,
body.phonyx-shortcode-home-page .content-bg,
body.phonyx-shortcode-home-page .content-container,
body.phonyx-shortcode-home-page .site-container,
body.phonyx-shortcode-home-page .entry,
body.phonyx-shortcode-home-page .entry-content,
body.phonyx-shortcode-home-page .entry-content-wrap,
body.phonyx-shortcode-home-page article.page {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

body.phonyx-shortcode-home-page .phx-home {
  width:100vw !important;
  max-width:100vw !important;
  position:relative !important;
  left:50% !important;
  right:50% !important;
  margin-left:-50vw !important;
  margin-right:-50vw !important;
}

/* Let the actual hero image fill the whole hero area */
body.phonyx-shortcode-home-page .phx-hero {
  width:100% !important;
  max-width:none !important;
  min-height:650px !important;
  background:#06101f !important;
}
body.phonyx-shortcode-home-page .phx-hero-bg {
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
}

@media(max-width:767px){
  body.phonyx-shortcode-home-page .phx-home{
    width:100vw !important;
    max-width:100vw !important;
  }
  body.phonyx-shortcode-home-page .phx-hero{
    min-height:620px !important;
  }
  body.phonyx-shortcode-home-page .phx-hero-bg{
    object-position:70% center !important;
  }
}


/* v1.0.6 — restore four-column footer + copyright row */
body.phonyx-shortcode-home-page .site-footer,
body.phonyx-shortcode-home-page .site-bottom-footer-wrap,
body.phonyx-shortcode-home-page .site-middle-footer-wrap,
body.phonyx-shortcode-home-page .site-top-footer-wrap {
  display:none !important;
}

.phx-site-footer{
  width:100%;
  background:#05070b;
  border-top:1px solid rgba(125,145,170,.18);
  color:#b8c3d2;
  padding:44px 0 42px;
}
.phx-site-footer-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr 1fr;
  gap:64px;
  align-items:start;
}
.phx-footer-col h3{
  margin:0 0 18px !important;
  color:#fff !important;
  font-size:17px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}
.phx-footer-col p,
.phx-footer-col a{
  display:block;
  margin:0 0 11px !important;
  color:#aeb9c8 !important;
  font-size:14px !important;
  line-height:1.65 !important;
  text-decoration:none !important;
}
.phx-footer-col a:hover{color:#fff !important}
.phx-footer-col:first-child p{max-width:280px}

.phx-final-bottom{
  width:100%;
  background:#05070b;
  border-top:1px solid rgba(125,145,170,.18);
  color:#8595aa;
  position:relative;
  z-index:5;
}
.phx-final-bottom-inner{
  width:min(100% - 80px,1440px);
  margin:0 auto;
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:13px;
  line-height:1.4;
  letter-spacing:.01em;
}

@media(max-width:900px){
  .phx-site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 46px}
}

@media(max-width:767px){
  .phx-site-footer{padding:34px 0 30px}
  .phx-site-footer-grid{grid-template-columns:1fr;gap:27px}
  .phx-footer-col h3{margin-bottom:11px !important;font-size:16px !important}
  .phx-footer-col p,
  .phx-footer-col a{font-size:14px !important;line-height:1.55 !important;margin-bottom:8px !important}
  .phx-footer-col:first-child p{max-width:none}
  .phx-final-bottom-inner{
    width:calc(100% - 34px);
    min-height:64px;
    padding:12px 0;
    font-size:12px;
  }
}

/* v1.0.9 — tuned LED lettering */
.phx-hero h1 span{
  color:#fff !important;
  text-shadow:
    0 0 1.5px #168cff,
    0 0 3px rgba(22,140,255,.92),
    0 0 5px rgba(22,140,255,.42) !important;
}
.phx-hero h1 .phx-blue{
  color:#168cff !important;
  text-shadow:
    0 0 1.5px #fff,
    0 0 3px rgba(255,255,255,.94),
    0 0 5px rgba(220,238,255,.44) !important;
}

/* Quality cards animate only after JS is active, so content never disappears if JS is blocked. */
.phx-home.phx-motion-ready .phx-quality-grid article{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1);
}
.phx-home.phx-motion-ready .phx-quality-grid article.phx-in-view{opacity:1;transform:translateY(0)}
.phx-home.phx-motion-ready .phx-quality-grid article:nth-child(2){transition-delay:.09s}
.phx-home.phx-motion-ready .phx-quality-grid article:nth-child(3){transition-delay:.18s}
.phx-home.phx-motion-ready .phx-quality-grid article:nth-child(4){transition-delay:.27s}

.phx-purity{
  position:relative;
  width:122px;
  border:4px solid #d9efff;
  outline:2px solid #238fff;
  outline-offset:-9px;
  background:radial-gradient(circle at 42% 35%,#168cff 0%,#075de1 46%,#07398d 72%,#031a4c 100%);
  box-shadow:0 0 10px #52b8ff,0 0 28px rgba(18,127,255,.88),inset 0 0 18px rgba(255,255,255,.32);
}
.phx-purity:before,.phx-purity:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.phx-purity:before{inset:6px;border:2px solid rgba(255,255,255,.78)}
.phx-purity:after{inset:-8px;border:1px solid rgba(66,171,255,.42);box-shadow:0 0 20px rgba(36,146,255,.5)}
.phx-purity span{font-size:13px;font-weight:800;letter-spacing:.02em}
.phx-purity strong{font-size:39px;letter-spacing:-.055em}
.phx-purity-image{filter:drop-shadow(0 0 9px rgba(61,166,255,.72)) drop-shadow(0 0 18px rgba(25,111,255,.38))}

.phx-site-footer{padding:32px 0 30px}
.phx-site-footer-grid{gap:0;grid-template-columns:1.15fr 1fr 1fr 1fr}
.phx-footer-col{position:relative;padding:0 42px}
.phx-footer-col:first-child{padding-left:0}
.phx-footer-col:last-child{padding-right:0}
.phx-footer-col + .phx-footer-col:before{
  content:"";position:absolute;left:0;top:2px;bottom:2px;width:1px;
  background:linear-gradient(to bottom,transparent,rgba(82,121,170,.42) 16%,rgba(82,121,170,.42) 84%,transparent);
}
.phx-footer-col h3{margin-bottom:12px !important;font-size:15px !important}
.phx-footer-col p,.phx-footer-col a{margin-bottom:7px !important;font-size:12.5px !important;line-height:1.55 !important}
.phx-footer-col:first-child p{max-width:255px}
.phx-final-bottom-inner{min-height:52px;font-size:12px}

@media(max-width:900px){
  .phx-site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
  .phx-footer-col{padding:24px 30px}
  .phx-footer-col:first-child{padding-left:30px}
  .phx-footer-col:last-child{padding-right:30px}
  .phx-footer-col:nth-child(odd):before{display:none}
  .phx-footer-col:nth-child(n+3){border-top:1px solid rgba(82,121,170,.28)}
}

@media(max-width:767px){
  .phx-hero h1 span{text-shadow:0 0 1px #0b6fd8,0 0 2px rgba(0,102,204,.90),0 0 3px rgba(0,102,204,.34) !important}
  .phx-hero h1 .phx-blue{color:#0066cc !important;text-shadow:0 0 1px #fff,0 0 2px rgba(255,255,255,.92),0 0 3px rgba(220,238,255,.34) !important}
  .phx-home.phx-motion-ready .phx-quality-grid article{transform:translateY(20px)}
  .phx-purity{width:94px}.phx-purity strong{font-size:30px}.phx-purity span{font-size:10px}
  .phx-purity-image{width:94px;height:94px}
  .phx-site-footer{padding:18px 0 16px}
  .phx-site-footer-grid{display:block}
  .phx-footer-col,.phx-footer-col:first-child,.phx-footer-col:last-child{padding:17px 0}
  .phx-footer-col + .phx-footer-col:before{display:none}
  .phx-footer-col + .phx-footer-col{border-top:1px solid rgba(82,121,170,.30)}
  .phx-footer-col:nth-child(n+3){border-top:1px solid rgba(82,121,170,.30)}
  .phx-footer-col h3{font-size:14px !important;margin-bottom:8px !important}
  .phx-footer-col p,.phx-footer-col a{font-size:12px !important;line-height:1.48 !important;margin-bottom:5px !important}
  .phx-footer-col:first-child p{max-width:none}
  .phx-final-bottom-inner{min-height:50px;font-size:11px}
}

@media (prefers-reduced-motion:reduce){
  .phx-home.phx-motion-ready .phx-quality-grid article{opacity:1;transform:none;transition:none}
}



/* v1.0.13 — visible hero artwork movement on desktop */
@media (min-width:768px){
  body.phonyx-shortcode-home-page .phx-hero{
    overflow:hidden !important;
  }
  body.phonyx-shortcode-home-page .phx-hero-bg{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    transform:translate(var(--phx-hero-x,108px),var(--phx-hero-y,-46px)) scale(var(--phx-hero-scale,1.06)) !important;
    transform-origin:center center !important;
  }
}
