/* =========================================
   home.css — Homepage-only styles
   Loaded exclusively via index.php ($extra_css)
   No .is-homepage prefix needed here.
   ========================================= */

/* =========================================
   HERO VIDEO
   ========================================= */
body.home-is-loading {
    overflow: hidden;
}

.home-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    padding: 2rem;
    background:
        radial-gradient(circle at 50% 35%, rgba(0,174,219,.16), transparent 34rem),
        linear-gradient(180deg, #06111d 0%, #02070d 100%);
    color: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity .45s ease, visibility 0s linear 0s;
}

.home-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, visibility 0s linear .45s;
}

.home-loader-mark {
    position: relative;
    width: 68px;
    height: 68px;
}

.home-loader-mark span {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255,255,255,.16);
    border-top-color: var(--cyan);
    border-right-color: var(--teal);
    border-radius: 50%;
    animation: home-loader-spin .9s linear infinite;
}

.home-loader-mark span + span {
    inset: 11px;
    border-top-color: rgba(255,255,255,.9);
    border-right-color: rgba(255,255,255,.2);
    animation-duration: 1.35s;
    animation-direction: reverse;
}

.home-loader-copy {
    text-align: center;
}

.home-loader-title {
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-loader-hint {
    margin-top: .35rem;
    font-size: .9rem;
    color: rgba(255,255,255,.68);
}

.home-loader-bar {
    width: min(260px, 70vw);
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
}

.home-loader-bar span {
    display: block;
    width: 8%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), var(--teal));
    transition: width .2s ease;
}

@keyframes home-loader-spin {
    to { transform: rotate(360deg); }
}

.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .6s ease;
}

.hero-video.is-ready { opacity: 1; }

/* Keep grayscale, but avoid transform-scaling raster logos because it softens text edges. */
.partners-grid .partner-item:hover {
    transform: none;
}

.partners-grid .partner-logo {
    opacity: .5;
    filter: grayscale(1);
    transition: opacity var(--t), filter var(--t);
}

.partners-grid .partner-item:hover .partner-logo {
    opacity: 1;
    filter: grayscale(0);
}

/* Desktop: dark gradient overlay + white text */
@media (min-width: 768px) {
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(2,8,15,.75) 0%,
            rgba(2,8,15,.42) 40%,
            rgba(2,8,15,.65) 100%
        );
    }
    .hero-title { color: #fff; }
    .btn-outline {
        border-color: rgba(255,255,255,.3);
        color: rgba(255,255,255,.9);
    }
    .btn-outline:hover {
        background: rgba(255,255,255,.1);
        border-color: rgba(255,255,255,.55);
    }
}

/* =========================================
   NAV — transparent → dark (hero zone only)
   JS adds body.is-hero-zone while in hero; removes when past it.
   Outside hero zone nav reverts to main.css defaults automatically.
   ========================================= */
body.is-hero-zone .navbar:not(.is-nav-dark) {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
body.is-hero-zone .navbar:not(.is-nav-dark) .nav-link,
body.is-hero-zone .navbar:not(.is-nav-dark) .lang-btn,
body.is-hero-zone .navbar:not(.is-nav-dark) .theme-toggle {
    color: rgba(255,255,255,.88);
    border-color: rgba(255,255,255,.2);
}
body.is-hero-zone .navbar:not(.is-nav-dark) .nav-link:hover,
body.is-hero-zone .navbar:not(.is-nav-dark) .nav-link.active {
    color: var(--cyan);
    background: rgba(0,174,219,.12);
}
body.is-hero-zone .navbar:not(.is-nav-dark) .hamburger span {
    background: rgba(255,255,255,.88);
}
body.is-hero-zone .navbar.is-nav-dark {
    background: rgba(2,8,15,.92);
    border-bottom-color: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
body.is-hero-zone .navbar.is-nav-dark .nav-link,
body.is-hero-zone .navbar.is-nav-dark .lang-btn,
body.is-hero-zone .navbar.is-nav-dark .theme-toggle {
    color: rgba(255,255,255,.88);
}
body.is-hero-zone .navbar.is-nav-dark .nav-link:hover,
body.is-hero-zone .navbar.is-nav-dark .nav-link.active { color: var(--cyan); }
body.is-hero-zone .navbar.is-nav-dark .hamburger span  { background: rgba(255,255,255,.88); }
@media (max-width: 768px) {
    body.is-hero-zone .navbar.is-nav-dark {
        backdrop-filter: none; -webkit-backdrop-filter: none;
    }
    /* Restore dark text in open mobile menu (hero zone sets links to white) */
    body.is-hero-zone .navbar .nav-menu.open .nav-link,
    body.is-hero-zone .navbar .nav-menu.open .nav-dropdown a {
        color: var(--text);
    }
    body.is-hero-zone .navbar .nav-menu.open .nav-link:hover,
    body.is-hero-zone .navbar .nav-menu.open .nav-dropdown a:hover {
        color: var(--cyan); background: rgba(0,174,219,.08);
    }
}

/* =========================================
   SUB-NAV — dark glass (hero zone only)
   ========================================= */
body.is-hero-zone .navbar:not(.is-nav-dark) .nav-dropdown {
    background: rgba(2,8,15,.92);
    border-color: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
body.is-hero-zone .navbar:not(.is-nav-dark) .nav-dropdown a { color: rgba(255,255,255,.82); }
body.is-hero-zone .navbar:not(.is-nav-dark) .nav-dropdown a:hover {
    background: rgba(255,255,255,.08); color: #fff;
}
body.is-hero-zone .navbar:not(.is-nav-dark) .lang-dropdown {
    background: rgba(2,8,15,.92);
    border-color: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
body.is-hero-zone .navbar:not(.is-nav-dark) .lang-dropdown a { color: rgba(255,255,255,.82); }
body.is-hero-zone .navbar:not(.is-nav-dark) .lang-dropdown a:hover {
    background: rgba(255,255,255,.08); color: #fff;
}
body.is-hero-zone .navbar:not(.is-nav-dark) .lang-dropdown a.active { color: var(--cyan); }

/* Hide scrollbar on homepage only */
html.is-homepage {
    scrollbar-width: none;
}
html.is-homepage::-webkit-scrollbar {
    display: none;
}

/* =========================================
   HERO SCROLL ARCHITECTURE — sticky (HydroQC approach)
   - Video sticky: always covers viewport
   - H1 sticky inside title box: stays at center until below content catches up
   - Sub/text in document flow after title box: rises naturally on scroll
   - When top of subheading touches bottom of H1 → sticky expires → move together
   ========================================= */
.nettan-hero-scroll {
    position: relative;
    height: 250vh;
    min-height: 1800px;
}

/* Video: sticky full-screen background */
.hero-video-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: visible;
    background:
        radial-gradient(circle at 52% 42%, rgba(0,174,219,.24), transparent 32rem),
        linear-gradient(180deg, #06111d 0%, #02070d 100%);
}
.hero-video-sticky > * {
    position: absolute;
    inset: 0;
}
.hero-video-sticky .hero-video {
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .6s ease;
}
.hero-video-sticky .hero-video.is-ready { opacity: 1; }
.hero-video-sticky .hero-bg   { z-index: 0; }
.hero-video-sticky .hero-overlay { z-index: 1; }
.hero-video-sticky .hero-bottom-gradient {
    top: auto; bottom: 0;
    height: 350px;
    background: linear-gradient(to top,
        rgba(2,8,15,.96) 0%,
        rgba(2,8,15,.72) 55%,
        transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Text wrapper: absolute, JS sets top = (vh - h1H) / 2 */
.nettan-hero-text-wrapper {
    position: absolute;
    top: 42vh; /* fallback; JS overrides */
    left: 0; right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 3;
}

/* Sticky title box: H1 stays at center; height set by JS */
.nettan-sticky-title-box {
    position: sticky;
    top: 42vh; /* fallback; JS overrides with exact centerY */
    height: 38rem; /* fallback; JS overrides: titleH + contentH + buffer */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;
    flex-shrink: 0; /* prevent flex compression when wrapper height is capped by JS */
}

/* Below-fold content */
.hero-below-sticky {
    width: 100%;
    max-width: 820px;
    padding: 0 1.5rem 6rem;
    flex-shrink: 0; /* prevent flex compression when wrapper height is capped by JS */
}

/* =========================================
   HERO CONTENT
   ========================================= */

/* H1: hidden on load, fades in after 800ms delay */
#heroTitle {
    font-size: clamp(1.8rem, 7vw, 5.25rem);
    color: #fff;
    margin: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
#heroTitle.is-loaded { opacity: 1; }

.hero-actions { justify-content: center; }

.pow-hero-subheading {
    display: block;
    font-size: 1.275rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--cyan); margin: 0 0 1.25rem;
}
.pow-hero-texts { margin-bottom: 2rem; }
.pow-hero-text {
    font-size: 1.375rem; line-height: 1.8;
    color: rgba(255,255,255,.78);
    margin: 0 auto 1rem; max-width: 660px;
}
.pow-hero-text:last-child { margin-bottom: 0; }

/* Hero blockquote — appears alone after scrolling past the last desc */
.hero-quote {
    margin-top: 88vh;
    margin-bottom: 0;
    width: fit-content;
    max-width: calc(100vw - 2rem);
    margin-left: auto;
    margin-right: auto;
    padding: 1.75rem 2rem 1.75rem 1.75rem;
}
.hero-quote p {
    font-size: 1.7rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.65;
    color: rgba(255,255,255,.88);
    margin: 0 0 .75rem;
    white-space: nowrap;
}
.hero-quote cite {
    display: block;
    text-align: right;
    font-size: .875rem;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--cyan);
}
@media (max-width: 767px) {
    .hero-quote { margin-top: 55vh; padding: 1.25rem 1.25rem 1.25rem 1.25rem; border-left-width: 2px; }
    .hero-quote p { font-size: clamp(.74rem, 3.45vw, 1.2rem); }
}
@media (max-width: 480px) {
    .pow-hero-subheading { font-size: 1rem; letter-spacing: .06em; }
    .pow-hero-text { font-size: 1.1rem; }
    .hero-quote { margin-top: 38vh; }
}

/* =========================================
   SCROLL TOP BUBBLE
   ========================================= */
.scroll-top-bubble {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(2,8,15,.88);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 10px 28px rgba(0,0,0,.24);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, background .25s ease, border-color .25s ease;
    z-index: 1200;
}
.scroll-top-bubble svg {
    display: block;
}
.scroll-top-bubble.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top-bubble:hover {
    background: rgba(0,174,219,.96);
    border-color: rgba(255,255,255,.2);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    #heroTitle { opacity: 1 !important; transition: none !important; }
}

@media (max-width: 767px) {
    .scroll-top-bubble {
        right: 1rem;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        width: 3.35rem;
        height: 3.35rem;
        background: linear-gradient(135deg, var(--cyan), var(--teal));
        border-color: rgba(255,255,255,.28);
        box-shadow: 0 12px 28px rgba(0,174,219,.32), 0 4px 12px rgba(0,0,0,.18);
        transform: translateY(18px) scale(.92);
    }
    .scroll-top-bubble.is-visible {
        transform: translateY(0) scale(1);
    }
    .scroll-top-bubble svg {
        width: 20px;
        height: 20px;
        filter: drop-shadow(0 1px 1px rgba(0,0,0,.18));
    }
    .scroll-top-bubble:active {
        transform: translateY(1px) scale(.96);
    }
}

/* =========================================
   CASE STUDIES CAROUSEL
   ========================================= */
.cs-carousel-wrap{position:relative;display:flex;align-items:center;gap:1rem;}
.cs-carousel-viewport{overflow:hidden;flex:1;touch-action:pan-y;}
.cs-carousel-track{display:flex;align-items:stretch;gap:24px;transition:transform .35s cubic-bezier(.4,0,.2,1);}
.cs-card{flex:0 0 auto;width:320px;min-width:200px;background:var(--bg-alt);border:1px solid var(--border);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s;cursor:pointer;}
.cs-card:hover{box-shadow:0 8px 32px rgba(0,0,0,.18);border-color:var(--cyan);}
.cs-card-img{width:100%;height:180px;background:var(--bg);overflow:hidden;position:relative;}
.cs-card-img img{position:absolute;display:block;max-width:none;max-height:none;}
.cs-card-body{padding:1.5rem;display:flex;flex-direction:column;gap:.75rem;overflow:hidden;}
.cs-card-tags{display:flex;flex-wrap:wrap;gap:.5rem;}
.cs-card-title{font-size:1rem;font-weight:700;line-height:1.4;color:var(--text);margin:0;}
.cs-card-summary{font-size:.875rem;color:var(--text-muted);line-height:1.6;max-height:6.4em;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;}
.cs-arrow{flex-shrink:0;width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:var(--bg-alt);color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,border-color .2s,color .2s;}
.cs-arrow:hover:not(:disabled){background:var(--cyan);border-color:var(--cyan);color:#000;}
.cs-arrow:disabled{opacity:.3;cursor:default;}
.cs-dots{display:flex;justify-content:center;gap:.5rem;margin-top:1.75rem;}
.cs-dot{width:8px;height:8px;border-radius:50%;border:none;background:var(--border);cursor:pointer;padding:0;transition:background .2s,transform .2s;}
.cs-dot.active{background:var(--cyan);transform:scale(1.3);}

/* =========================================
   CASE STUDIES MODAL
   ========================================= */
.cs-modal{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:1rem;}
.cs-modal[hidden]{display:none;}
.cs-modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(4px);}
.cs-modal-panel{position:relative;z-index:1;background:var(--bg-alt);border:1px solid var(--border);border-radius:20px;width:100%;max-width:700px;max-height:90vh;overflow-y:auto;padding:2.5rem;}
.cs-modal-close{position:absolute;top:1.25rem;right:1.25rem;width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:var(--bg);color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;}
.cs-modal-close:hover{background:var(--cyan);color:#000;}
.cs-modal-header{margin-bottom:2rem;padding-right:2.5rem;}
.cs-modal-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.875rem;}
.cs-modal-title{font-size:1.3rem;font-weight:700;line-height:1.35;color:var(--text);margin:0;}
.cs-modal-section{margin-bottom:1.75rem;}
.cs-modal-section-label{font-size:.75rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--cyan);margin:0 0 .6rem;}
.cs-modal-section p{font-size:.9375rem;line-height:1.7;color:var(--text-muted);margin:0;}
.cs-modal-cta{margin-top:2rem;padding-top:1.75rem;border-top:1px solid var(--border);}

@media(max-width:600px){
    .cs-carousel-wrap{gap:0;}
    .cs-arrow{display:none;}
    .cs-carousel-viewport{margin:0 -1.5rem;padding:0 1.5rem;}
    .cs-card{border-radius:14px;}
    .cs-card-img{height:210px;}
    .cs-card-body{padding:1.35rem;}
    .cs-modal-panel{padding:1.5rem;}
}
@media(max-width:480px){
    .cs-modal-panel{max-width:95vw;max-height:95vh;padding:1.25rem;border-radius:12px;}
    .cs-modal-title{font-size:1.1rem;}
    .cs-card{min-width:300px;}
    .cs-card-img{height:190px;}
}

/* =========================================
   SOLUTIONS SHOWCASE (scroll-driven layered coverflow)
   ========================================= */
.solutions-showcase { padding-bottom: 0; }
.showcase-header { text-align: center; padding: 4rem 1.5rem 2rem; }
.showcase-scroll-area { /* height set inline via PHP count */ }
.showcase-sticky {
    position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden;
}
.showcase-viewport {
    position: relative;
    width: 100%;
    height: 64vh;
    min-height: 420px;
    overflow: hidden;
    perspective: 1200px;
    transform-style: preserve-3d;
    touch-action: pan-y;
}
.showcase-layer-card {
    --tx: 0vw;
    --ty: 6vh;
    --s: 1;
    --o: 1;
    --g: 0%;
    --br: 1;
    --b: 0px;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: clamp(260px, 36vw, 580px);
    aspect-ratio: 1 / 1;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: var(--o);
    transform:
        translate3d(calc(-50% + var(--tx)), var(--ty), 0)
        scale(var(--s));
    transform-origin: center bottom;
    filter: grayscale(var(--g)) brightness(var(--br)) blur(var(--b));
    transition:
        transform .24s cubic-bezier(.2,.8,.2,1),
        opacity .24s ease,
        filter .24s ease;
    will-change: transform, opacity, filter;
}
.showcase-layer-link {
    position: absolute;
    inset: 0;
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.showcase-layer-link:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: .35rem;
}
.showcase-layer-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: var(--img-x, 50%) var(--img-y, 50%);
    transform: scale(var(--img-scale, 1));
}
.showcase-layer-card.is-active { box-shadow: none; }
.showcase-footer-strip {
    position: relative; width: 100%;
    text-align: center; margin-top: 1.25rem; height: 3.5rem;
}
.showcase-slide-footer {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; gap: .625rem;
    opacity: 0; transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}
.showcase-slide-footer.is-active {
    opacity: 1; transform: translateY(0); pointer-events: auto;
}
.showcase-slide-footer a {
    display: flex; align-items: center; gap: .625rem;
    color: var(--text); text-decoration: none; transition: color .2s;
}
.showcase-slide-footer a:hover { color: var(--cyan); }
.showcase-slide-icon {
    display: inline-flex; width: 1.25rem; height: 1.25rem;
    color: var(--cyan); flex-shrink: 0;
}
.showcase-slide-title { font-size: 1.1rem; font-weight: 600; margin: 0; }
.showcase-dots {
    display: flex; gap: .5rem; justify-content: center; margin-top: 1rem;
}
.showcase-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border); transition: all .3s; cursor: pointer;
}
.showcase-dot.active { background: var(--cyan); width: 8px; }
@media (max-width: 900px) {
    .showcase-viewport { height: 54vh; min-height: 300px; }
    .showcase-layer-card {
        width: clamp(220px, 52vw, 420px);
        border-radius: 0;
    }
    .showcase-footer-strip { margin-top: .75rem; height: 3rem; }
}
@media (max-width: 768px) {
    .showcase-scroll-area { height: auto !important; }
    .showcase-sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: 68vh;
        padding: 2rem 0;
    }
}
@media (max-width: 480px) {
    .showcase-viewport { height: 48vh; min-height: 250px; }
    .showcase-layer-card {
        width: min(76vw, 320px);
    }
    .showcase-slide-title { font-size: .95rem; }
    .showcase-footer-strip { height: 2.75rem; }
}

/* =========================================
   PRODUCTS OVERVIEW
   ========================================= */
.products-overview {
    position: relative;
    background: url('/assets/img/nettan/nettan-wind-pc.webp') center / cover no-repeat fixed;
}
.products-overview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 28, 0.68);
    pointer-events: none;
    z-index: 0;
}
.products-overview > .container { position: relative; z-index: 1; }
.products-overview .section-label { color: var(--cyan); }
.products-overview .section-title {
    color: rgba(255, 255, 255, .9);
}
@media (max-width: 768px) {
    .products-overview { background-image: url('/assets/img/nettan/nettan-wind-mobile.webp'); background-attachment: scroll; }
}
.po-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.po-category-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,174,219,.15);
    border-top: 3px solid var(--cyan);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow var(--t);
}
.po-category-card:hover { box-shadow: 0 8px 32px rgba(0,174,219,.12); }
.po-cat-icon {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--cyan);
}
.po-cat-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: var(--text);
}
.po-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .625rem;
    flex: 1;
}
.po-items li {
    font-size: .9rem;
    color: var(--text-muted);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}
.po-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .58em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
}
.po-cta {
    font-size: .875rem;
    font-weight: 600;
    color: var(--cyan);
    text-decoration: none;
    margin-top: auto;
    transition: opacity var(--t);
}
.po-cta:hover { opacity: .75; }
@media (max-width: 768px) {
    .po-grid { grid-template-columns: 1fr; }
}

/* Interactive card — voltage mapping */
.po-cat-interactive { gap: 1.25rem; }
.po-interactive-layout {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 120px;
}
.po-products-col, .po-voltage-col {
    display: flex;
    flex-direction: column;
    gap: .375rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.po-voltage-col { margin-left: auto; align-self: center; }
.po-arrows-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}
.po-arrow-tree {
    stroke: var(--cyan);
    fill: none;
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: miter;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: po-draw 1s ease-out forwards;
}
@keyframes po-draw {
    from { stroke-dashoffset: 1; }
    to   { stroke-dashoffset: 0; }
}
.po-prod-parent {
    font-size: .875rem;
    font-weight: 700;
    color: var(--text);
    padding: .3rem .65rem .1rem;
}
.po-prod-item {
    font-size: .875rem;
    color: var(--text-muted);
    padding: .3rem .65rem;
    cursor: pointer;
    transition: color .2s;
    white-space: nowrap;
    line-height: 1.4;
    user-select: none;
}
.po-prod-item:not(.po-prod-child) { font-weight: 700; color: var(--text); }
.po-prod-child { padding-left: 1.4rem; }
.po-prod-item:hover,
.po-prod-item.is-active { color: var(--cyan); }
.po-voltage-item {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: .3rem .65rem;
    white-space: nowrap;
    line-height: 1.4;
    text-align: left;
}
.po-voltage-item.is-highlighted {
    background: linear-gradient(to right, var(--teal) 50%, var(--text-muted) 50%);
    background-size: 200% 100%;
    background-position: right center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
    animation: po-volt-reveal 1s ease .3s forwards;
}
.po-mobile-matrix { display: none; }
@keyframes po-volt-reveal {
    from { background-position: right center; }
    to   { background-position: left center; }
}
@media (max-width: 600px) {
    .po-cat-interactive { padding: 1.35rem; }
    .po-interactive-layout { display: none; }
    .po-mobile-matrix {
        display: grid;
        gap: .45rem;
        margin-top: .2rem;
    }
    .po-matrix-head,
    .po-matrix-row {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(2.1rem, .7fr));
        align-items: center;
        column-gap: .35rem;
    }
    .po-matrix-head {
        padding-bottom: .35rem;
        border-bottom: 1px solid var(--border);
    }
    .po-matrix-head span {
        min-width: 0;
        color: var(--text-muted);
        font-size: .66rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-transform: uppercase;
    }
    .po-matrix-row {
        min-height: 2.25rem;
        padding: .25rem 0;
    }
    .po-matrix-product {
        min-width: 0;
        color: var(--text);
        font-size: .82rem;
        font-weight: 600;
        line-height: 1.25;
    }
    .po-matrix-dot {
        width: .7rem;
        height: .7rem;
        border-radius: 999px;
        justify-self: center;
        background: transparent;
        border: 1px solid var(--border);
    }
    .po-matrix-dot.is-supported {
        background: var(--teal);
        border-color: var(--teal);
        box-shadow: 0 0 0 3px rgba(6,175,132,.12);
    }
}
