/* homepage hero: brain visual and heading row, layered on hero-peek.css */
.hero-peek .hero-title {
    font-size: clamp(2.75rem, min(4.9vw, 9vh), 4.5rem);
}
.home-hero-orb {
    position: relative;
    flex: 0 0 auto;
    width: 170px;
    height: 170px;
    padding: 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
}
.home-hero-orb img {
    object-position: 50% 40%;
}
.home-hero-orb::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(rgba(77, 163, 255, 0) 0deg, rgba(77, 163, 255, .35) 70deg, #4da3ff 120deg, rgba(77, 163, 255, .35) 170deg, rgba(77, 163, 255, 0) 240deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
    animation: home-hero-flow 14s linear infinite;
}
@keyframes home-hero-flow {
    to { transform: rotate(360deg); }
}

/* one line from tablet up */
@media (min-width: 768px) {
    .home-hero-orb { width: 85px; height: 85px; padding: 5px; }
    .hero-peek .hero-title { white-space: nowrap; }
    .hero-peek .hero-word { display: inline; }
}
@media (min-width: 1200px) {
    .home-hero-orb { width: 120px; height: 120px; padding: 7px; }
}
@media (min-width: 992px) and (max-height: 820px) {
    .home-hero-orb { width: 100px; height: 100px; padding: 6px; }
}
@media (max-width: 767px) {
    .hero-peek { padding: 118px 0 30px; }
    .hero-peek .hero-card { height: 190px; }
    .hero-peek-head { margin-bottom: 18px !important; }
}
/* phones held sideways */
@media (max-width: 991px) and (max-height: 500px) {
    .home-hero-orb { width: 90px; height: 90px; padding: 5px; }
}
/* phones: four fixed cards, text above image */
.hero-stack > .container {
    display: flex;
    flex-direction: column;
}
.hero-stack .hero-peek-head { order: -2; }
.hero-stack .hero-peek-cta {
    order: -1;
    margin-top: 0 !important;
    margin-bottom: 25px;
}
.hero-stack .hero-peek-bar,
.hero-stack .hero-peek-next-card,
.hero-stack .hero-peek-progress {
    display: none !important;
}
.hero-stack .hero-peek-main { flex: 1 1 100%; }
.hero-stack .hero-swiper {
    overflow: visible;
    background: none;
    border: 0;
    border-radius: 0;
}
.hero-stack .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    height: auto;
}
.hero-stack .swiper-slide {
    width: auto;
    height: auto;
    min-width: 0;
}
.hero-stack.hero-peek .hero-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
}
.hero-stack.hero-peek .hero-body {
    flex: 1 1 auto;
    padding: 18px 20px;
    gap: 6px;
    justify-content: flex-start;
}
.hero-stack.hero-peek .hero-card-title { font-size: 20px; }
.hero-stack.hero-peek .hero-desc {
    display: block;
    font-size: 15px;
}
.hero-stack .hero-line > * {
    transform: none;
    transition: none;
}
.hero-stack .hero-media {
    order: 2;
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
}
.hero-stack.hero-peek .hero-liquid { width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .home-hero-orb::after { animation: none; }
}
