/* Premium Purestream featured showcase — homepage only.
   Desktop stage targets 960 × 620; it scales to the available column width.
   All product imagery remains inside its frame with object-fit: contain. */
@media (min-width: 961px) {
  .hero .container.hero-grid {
    width: min(1900px, calc(100% - 80px));
    grid-template-columns: minmax(455px, .75fr) minmax(0, 1.25fr);
    column-gap: clamp(16px, 2vw, 38px);
    padding-block: 58px 80px;
    min-height: 754px;
  }
}
.ps-hero-showcase {
  --ps-sc-accent: #60f6ee;
  width: min(100%, 960px);
  height: 620px;
  margin-inline: auto;
}
.ps-showcase-orbit {
  top: 49%;
  width: min(880px, 98%);
  height: 580px;
  background: radial-gradient(ellipse at 50% 55%,rgba(19,188,240,.2),rgba(13,126,189,.07) 42%,transparent 70%);
  border-color: rgba(131,230,253,.23);
}
.ps-orbit-one:after {inset: 38px; border-color:rgba(143,243,250,.19)}
.ps-orbit-two {width:min(680px,85%);height:500px;opacity:.5}
.ps-showcase-panel {
  width: 70%;
  max-width: 672px;
  height: 570px;
  border-radius: 28px;
  background: linear-gradient(148deg,rgba(242,252,255,.96),rgba(214,243,253,.94) 50%,rgba(182,226,248,.93));
  border: 1px solid rgba(235,254,255,.92);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(102,191,228,.48),
              0 28px 75px rgba(0,28,59,.31), 0 0 0 2px rgba(116,236,252,.2), 0 0 52px rgba(29,219,252,.23);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.ps-showcase-panel::before {
  content: '';
  position:absolute;
  inset:-1px;
  z-index:0;
  border-radius:inherit;
  background:linear-gradient(115deg,rgba(255,255,255,.29),transparent 44%,rgba(80,216,255,.08));
  pointer-events:none;
}
.ps-showcase-title {position:relative; z-index:2; gap:4px; padding: 19px 20px 0}
.ps-showcase-topline {font-size: 10px;letter-spacing:2.7px;color:#487b9b;font-weight:800}
#ps-featured-logo {width:210px;height:49px;max-width:80%;filter:none}
.ps-showcase-title h2 {font-size:clamp(24px,2vw,33px)!important;line-height:1.16!important;color:#073153!important;letter-spacing:-.9px!important}
.ps-showcase-title p {font-size:13px;color:#47728b;max-width:95%;line-height:1.4}
.ps-showcase-product-wrap {
  z-index:1;
  width:calc(100% - 42px);
  height:auto;
  min-height:0;
  flex:1 1 auto;
  margin:13px auto 9px;
  border-radius:20px;
  background:radial-gradient(ellipse at 50% 91%,rgba(184,230,248,.8),transparent 62%),
             linear-gradient(135deg,rgba(253,255,255,.98),rgba(240,251,255,.96));
  border:1px solid rgba(255,255,255,.98);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.9), 0 12px 32px rgba(28,127,178,.1);
  overflow:visible;
}
.ps-showcase-product-wrap .ps-showcase-unit-glow {
  inset:22% 0 -10%;
  background:radial-gradient(ellipse at 50% 90%,rgba(52,209,243,.2),transparent 66%);
  filter:blur(12px);
}
.ps-featured-unit, .ps-featured-unit.ps-img-remote, .ps-featured-unit:not(.ps-img-remote) {
  width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:contain;object-position:center;
  padding:0;
  border-radius:15px;
  background:transparent;
  box-shadow:none;
  filter:drop-shadow(0 12px 13px rgba(13,58,87,.2));
  transform:scale(1.035);
  transition:transform .45s ease,opacity .25s;
}
.ps-showcase-product-wrap:hover .ps-featured-unit {transform:scale(1.065) translateY(-3px)}
.ps-featured-unit.ps-img-remote {mix-blend-mode:multiply}
.ps-showcase-image-hint {
  z-index:3;
  right:13px;bottom:8px;
  padding:3px 7px;
  border-radius:999px;
  color:#6a91a6;
  background:rgba(242,251,255,.86);
  font-size:9px;
}
.ps-showcase-airflow {left:-12%;width:124%;bottom:-57px;height:112px;opacity:.48;z-index:0}
.ps-showcase-airflow i {border-color:rgba(39,190,242,.8)}
.ps-showcase-airflow b {color:#46c9ee;text-shadow:0 0 12px rgba(53,200,250,.9)}
.ps-showcase-product-wrap:after {
  bottom:-73px;
  left:8%;right:8%;height:56px;
  border-color:rgba(36,200,246,.35);
  background:radial-gradient(ellipse,rgba(66,204,246,.17),transparent 70%);
  opacity:.7;
}
.ps-showcase-features {z-index:2;width:88%;padding:0 0 7px;margin-top:5px;gap:8px}
.ps-showcase-features>span {color:#0f3656;font-weight:750;gap:5px}
.ps-showcase-features i {
  width:43px;height:43px;font-size:20px;
  color:#059bcd;border:1px solid rgba(69,180,230,.45);
  background:linear-gradient(165deg,#fafeff,#e0f5ff);
  box-shadow:0 4px 12px rgba(41,143,193,.09);
}
.ps-showcase-features small {color:#173b57;font-size:11px;max-width:150px;white-space:normal;line-height:1.28}
.ps-showcase-bottom {z-index:2;width:90%;border-top:1px solid rgba(81,160,199,.28);padding:13px 0 15px}
.ps-showcase-bottom>span {color:#436d86;font-size:11px;letter-spacing:.15px}
.ps-featured-quote {color:#006eb7;font-size:12px;font-weight:800;padding:5px 3px}
.ps-featured-quote:hover,.ps-featured-quote:focus-visible {color:#00416e;text-decoration:underline}
.ps-showcase-neighbor {
  top:125px;width:30%;height:370px;padding:25px 14px 12px;gap:15px;
  border-radius:21px;
  background:linear-gradient(150deg,rgba(237,250,255,.83),rgba(182,226,247,.79));
  border:1px solid rgba(227,250,255,.83);
  box-shadow:0 17px 47px rgba(0,22,50,.2),inset 0 1px 0 rgba(255,255,255,.75);
  opacity:.86;
  backdrop-filter:blur(10px);
}
.ps-neighbor-left {left:0;transform:perspective(900px) rotateY(10deg) scale(.87)}
.ps-neighbor-right {right:0;transform:perspective(900px) rotateY(-10deg) scale(.87)}
.ps-neighbor-brand {height:62px;width:77%}
.ps-neighbor-name {color:#163e5f;font-size:14px;min-height:38px}
.ps-neighbor-unit,.ps-neighbor-unit:not(.ps-img-remote),.ps-neighbor-unit.ps-img-remote {
  width:112%;max-width:none;height:195px;
  border:0;border-radius:13px;padding:0;
  background:rgba(249,254,255,.9);
  object-fit:contain;
  filter:drop-shadow(0 9px 10px rgba(0,38,67,.14));
}
.ps-showcase-arrow {width:46px;height:46px;border-color:rgba(255,255,255,.9);top:52%;box-shadow:0 9px 25px rgba(0,18,45,.24)}
.ps-arrow-previous {left:-4px}.ps-arrow-next {right:-4px}
.ps-showcase-dots {bottom:13px;gap:9px}
.ps-showcase-footnote {bottom:-9px;color:#a3d8e9;font-size:9px}
@media (min-width:961px) and (max-width:1280px) {
  .hero .container.hero-grid {width:calc(100% - 54px);grid-template-columns:minmax(365px,.79fr) minmax(0,1.21fr);gap:8px}
  .ps-hero-showcase {height:570px}
  .ps-showcase-panel {width:73%;height:515px}
  .ps-showcase-neighbor {height:317px;top:127px;width:29%}
  .ps-neighbor-unit,.ps-neighbor-unit:not(.ps-img-remote),.ps-neighbor-unit.ps-img-remote {height:157px}
  .ps-showcase-title {padding-top:12px}
  .ps-showcase-dots {bottom:1px}
  .ps-showcase-footnote {display:none}
}
@media (max-width:960px) {
  .ps-hero-showcase {width:min(100%,830px);height:610px;margin:20px auto 0}
  .ps-showcase-panel {width:71%;height:558px}
  .ps-showcase-neighbor {top:129px;height:350px;width:30%}
  .ps-showcase-dots {bottom:11px}
  .ps-showcase-footnote {display:none}
}
@media (max-width:740px) {
  .ps-hero-showcase {width:min(100%,560px);height:565px;margin:20px auto 0}
  .ps-showcase-panel {width:84%;height:520px;border-radius:22px}
  .ps-showcase-neighbor {display:none}
  .ps-showcase-arrow {width:39px;height:39px;font-size:28px}
  .ps-arrow-previous {left:0}.ps-arrow-next {right:0}
  .ps-showcase-title {padding:13px 12px 0}
  #ps-featured-logo {width:170px;height:39px}
  .ps-showcase-title h2 {font-size:24px!important}
  .ps-showcase-title p {font-size:11px}
  .ps-showcase-product-wrap {width:calc(100% - 24px);margin:8px auto 8px;border-radius:14px}
  .ps-showcase-features {width:92%;gap:3px}
  .ps-showcase-features i {height:35px;width:35px;font-size:17px}
  .ps-showcase-features small {font-size:10px}
  .ps-showcase-bottom {width:91%;padding:11px 0 13px}
  .ps-showcase-bottom>span {font-size:10px}
  .ps-featured-quote {font-size:10px}
  .ps-showcase-dots {bottom:3px}
  .ps-showcase-airflow {bottom:-43px;height:88px}
}
@media (max-width:470px) {
  .ps-hero-showcase {width:calc(100vw - 28px);height:540px;max-width:100%;margin:12px auto 0}
  .ps-showcase-panel {width:86%;height:495px}
  .ps-showcase-title {padding:12px 10px 0}
  .ps-showcase-topline {font-size:8px;letter-spacing:1.8px}
  #ps-featured-logo {width:148px;height:35px}
  .ps-showcase-title h2 {font-size:21px!important}
  .ps-showcase-title p {font-size:10px}
  .ps-showcase-product-wrap {width:calc(100% - 16px);margin:7px auto}
  .ps-showcase-features {width:95%;gap:2px}
  .ps-showcase-features i {width:31px;height:31px;font-size:16px}
  .ps-showcase-features small {font-size:9px}
  .ps-showcase-bottom {width:95%;padding:9px 0 12px}
  .ps-showcase-bottom>span {font-size:9px;max-width:48%}
  .ps-featured-quote {font-size:10px}
  .ps-showcase-arrow {width:32px;height:32px;font-size:24px}
  .ps-showcase-dots {bottom:1px}
  .ps-showcase-image-hint {font-size:7px;bottom:4px}
  .ps-showcase-airflow {bottom:-36px;height:72px}
  .ps-showcase-product-wrap:after {bottom:-42px}
}
@media (prefers-reduced-motion:reduce) {
  .ps-showcase-airflow i,.ps-showcase-airflow b{animation:none!important}
  .ps-featured-unit{transition:none!important}
}

/* --- October 17, 2026: unified product-image centering fix ---
   The original carousel positioned the <img> element in the middle, but
   product JPEGs often contain very uneven white margins. Give every image
   its own clipped center-aligned viewport and move the optical content,
   not the neighboring copy/features or the full slide itself. */
.ps-showcase-product-wrap {
  display:grid;
  place-items:center;
  isolation:isolate;
  overflow:hidden;
}
.ps-unit-viewport {
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:inherit;
}
.ps-showcase-product-wrap .ps-featured-unit,
.ps-showcase-product-wrap .ps-featured-unit.ps-img-remote,
.ps-showcase-product-wrap .ps-featured-unit:not(.ps-img-remote) {
  display:block;
  position:relative;
  inset:auto;
  box-sizing:border-box;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  max-width:100%;
  max-height:100%;
  margin:0;
  padding:clamp(6px, 1.5vw, 16px);
  object-fit:contain;
  object-position:50% 50%;
  transform-origin:50% 50%;
  transform:translate(var(--ps-optical-x, 0%), var(--ps-optical-y, 0%)) scale(var(--ps-optical-scale, 1));
  transition:transform .42s ease,opacity .25s;
  background:transparent;
  box-shadow:none;
  border:0;
  pointer-events:none;
}
.ps-showcase-product-wrap:hover .ps-featured-unit,
.ps-showcase-product-wrap:hover .ps-featured-unit.ps-img-remote,
.ps-showcase-product-wrap:hover .ps-featured-unit:not(.ps-img-remote) {
  transform:translate(var(--ps-optical-x, 0%), var(--ps-optical-y, 0%)) scale(calc(var(--ps-optical-scale, 1) * 1.025));
}
.ps-showcase-neighbor .ps-neighbor-image-well {
  display:grid;
  place-items:center;
  width:100%;
  height:195px;
  min-width:0;
  min-height:0;
  flex:1 1 auto;
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:rgba(250,254,255,.9);
}
.ps-showcase-neighbor .ps-neighbor-unit,
.ps-showcase-neighbor .ps-neighbor-unit.ps-img-remote,
.ps-showcase-neighbor .ps-neighbor-unit:not(.ps-img-remote) {
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  min-width:0;
  min-height:0;
  display:block;
  box-sizing:border-box;
  flex:none;
  margin:0;
  padding:8px;
  background:transparent;
  object-fit:contain;
  object-position:50% 50%;
  transform-origin:50% 50%;
  transform:translate(var(--ps-optical-x, 0%), var(--ps-optical-y, 0%)) scale(var(--ps-optical-scale, 1));
  border:0;
  box-shadow:none;
}
@media (min-width:961px) and (max-width:1280px) {
  .ps-showcase-neighbor .ps-neighbor-image-well {height:157px}
}
@media (max-width:960px) {
  .ps-showcase-neighbor .ps-neighbor-image-well {height:180px}
}
@media (max-width:740px) {
  .ps-showcase-product-wrap .ps-featured-unit,
  .ps-showcase-product-wrap .ps-featured-unit.ps-img-remote {
    padding:8px;
  }
}
@media (max-width:470px) {
  .ps-showcase-product-wrap .ps-featured-unit,
  .ps-showcase-product-wrap .ps-featured-unit.ps-img-remote {
    padding:5px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .ps-showcase-product-wrap .ps-featured-unit {transition:none}
}
