/* Keep the mark and its highlight on the same plane. */
.hero-brand {perspective:640px}
body[data-page=home] .hero-logo {filter:drop-shadow(0 7px 9px rgba(24,75,150,.24))}
body[data-page=home] .hero-brand::before {
 content:"";position:absolute;bottom:1%;left:24%;width:52%;height:9%;border-radius:50%;pointer-events:none;
 background:radial-gradient(ellipse,#5bbdff86,transparent 70%);
}
@media(prefers-reduced-motion:no-preference){
 body[data-page=home][data-motion=on] .hero-logo {animation:brand-lift 4.2s ease-in-out infinite}
 body[data-page=home][data-motion=on] .hero-brand::before {animation:brand-shadow 4.2s ease-in-out infinite}
 body[data-page=home][data-motion=on] .hero-logo-halo {animation:brand-halo 4.2s ease-in-out infinite}
}
@keyframes brand-lift {
 0%,100% {transform:translateY(1px) rotateY(-7deg) rotateZ(-1deg)}
 50% {transform:translateY(-9px) rotateY(8deg) rotateZ(1.5deg)}
}
@keyframes brand-shadow {0%,100%{transform:scaleX(1);opacity:.9}50%{transform:scaleX(.72);opacity:.45}}
@keyframes brand-halo {0%,100%{opacity:.48;transform:rotate(-16deg) scale(.94)}50%{opacity:.95;transform:rotate(-12deg) scale(1.06)}}
html[data-theme=dark] body[data-page=home] .hero h1 span {
 background:linear-gradient(110deg,#f3f8ff 4%,#99c6ff 54%,#68d9fa);
 -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-explore-links {grid-row:5;display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin-top:15px}
body[data-page=home] .hero-explore-links .hero-shop-link {margin:0}
body[data-page=home] .product-carrier::before {width:clamp(26px,5.4cqw,43px);background:radial-gradient(ellipse at 50% 100%,#b9f5ffb3,transparent 52%),linear-gradient(to top,#4ba4f48a,transparent 83%)}
body[data-page=home] .showcase-product > .device-tag {border-radius:12px;background:var(--theme-surface);padding-inline:8px}
html[data-theme=dark] body[data-page=home] .showcase-product > .device-tag {background:linear-gradient(142deg,#172335,#0a101b 78%);border-color:#344258}
body[data-page=home] .showcase-product:is(.is-near,:focus-within,:has(.device-tag:hover)) > .device-tag {border-color:var(--theme-accent);box-shadow:inset 0 -2px var(--theme-accent)}
@media(forced-colors:active){html[data-theme=dark] body[data-page=home] .hero h1 span {color:CanvasText}}

@media (min-width: 901px) {
  body[data-page=home] .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    column-gap: clamp(24px, 4vw, 80px);
  }
  body[data-page=home] .equipment-track { grid-area: 1 / 1; }
  body[data-page=home] .hero-content { grid-area: 1 / 2; justify-self: center; }
  body[data-page=home] .hero-field { transform: scaleX(-1); }
}
