        .hero h1 {
            max-width: fit-content;
            font-size: clamp(3rem, 6vw, 5rem);
            font-weight: 700;
            letter-spacing: -0.03em;
            margin: 0 0 1.5rem 0;
            padding-right: 0.1rem;
            color: transparent;
            background-image: linear-gradient(to right, var(--theme-5-c1), var(--color-red), var(--theme-5-c1));
            background-clip: text;
            line-height: 1.2;
        }

        @media (max-width: 1024px) {
            .hero h1 {
                line-height: 1.2;
                text-align: center;
                margin: 2.5rem auto 1rem auto;
            }
        }

        .hero p {
            font-size: clamp(1.125rem, 2vw, 1.35rem);
            font-weight: 400;
            color: var(--text-main);
            margin-bottom: 2.5rem;
        }

        .product-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        @media (max-width: 1024px) {
            .product-top {
                flex-direction: column;
                text-align: center;
                align-items: center;
            }
        }

        .margin-top-2 {
            margin-top: 1rem;
        }
        
        /* ==========================================================================
           PRODUCT SHOWCASE GRID
           ========================================================================== */
        .showcase-section {
            padding: 2rem 1rem 8rem 1rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 4rem 3rem; 
            padding: 2rem 0;
        }


        /* ==========================================================================
           3D BOX ARCHITECTURE & ANIMATIONS
           ========================================================================== */
        .card-wrap {
            position: relative;
            outline: none;
            --c1: #000; 
            --c2: #555;
            --face-dark-1: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), linear-gradient(135deg, var(--c1), var(--c2));
            --face-dark-2: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), linear-gradient(135deg, var(--c1), var(--c2));
            margin: 0 15px 20px 15px;
            border-radius: 0;
        }


        /* Pushes the 5th card into the 2nd column slot, natively centering the 5th and 6th cards */
/*         @media (min-width: 1296px) {
            .product-grid > .card-wrap:nth-child(5) {
                grid-column: 2 / 3;
            }
        } */

        .card-3d {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            border-radius: 0;
        }

        .card-front {
            position: relative;
            background: var(--bg-color);
            border: 1px solid var(--border-light);
            border-radius: 0;
            padding: 3rem 2.5rem;
            width: 100%;
            height: 100%;
            z-index: 2;
            box-shadow: 10px 10px 30px rgba(0,0,0,0.06);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .card-front > p {
            margin-bottom: 1rem;
        }

        /* 3D Protrusions */
        .protrude-left .card-3d::before {
            content: ''; position: absolute; top: 0; left: -15px; width: 15px; height: 100%;
            background: var(--face-dark-1); transform-origin: right center; transform: skewY(-45deg); z-index: 1;
            border-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem;
        }
        .protrude-left .card-3d::after {
            content: ''; position: absolute; bottom: -15px; left: 0; width: 100%; height: 15px;
            background: var(--face-dark-2); transform-origin: top center; transform: skewX(-45deg); z-index: 1;
            border-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem;
        }

        .protrude-right .card-3d::before {
            content: ''; position: absolute; top: 0; right: -15px; width: 15px; height: 100%;
            background: var(--face-dark-1); transform-origin: left center; transform: skewY(45deg); z-index: 1;
            border-top-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem;
        }
        .protrude-right .card-3d::after {
            content: ''; position: absolute; bottom: -15px; right: 0; width: 100%; height: 15px;
            background: var(--face-dark-2); transform-origin: top center; transform: skewX(45deg); z-index: 1;
            border-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem;
        }



        .card-front::after {
            content: ''; position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
            background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
            transform: skewX(-25deg); z-index: 10; pointer-events: none;
        }

        .card-wrap:hover .card-front::after, .card-wrap:focus-visible .card-front::after {
            animation: shineSweep 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        @keyframes shineSweep {
            0% { left: -150%; }
            100% { left: 200%; }
        }

        .card-front::before {
            content: ''; position: absolute; inset: 0; border: 2px solid transparent; border-radius: 0; z-index: 5; pointer-events: none;
        }

        .card-wrap:hover .card-front::before, .card-wrap:focus-visible .card-front::before {
            animation: glowFade 1.8s ease-out forwards;
        }

        @keyframes glowFade {
            0% { border-color: transparent; box-shadow: inset 0 0 0 transparent, 0 0 0 transparent; }
            15% { border-color: var(--c1); box-shadow: inset 0 0 15px rgba(0,0,0,0.05), 0 0 20px var(--c1); }
            100% { border-color: transparent; box-shadow: inset 0 0 0 transparent, 0 0 0 transparent; }
        }

        .icon-placeholder {
            margin-bottom: 2rem; display: flex; align-items: center; justify-content: center; color: var(--c1); 
        }
        .icon-placeholder img { height: 162px; width: auto; object-fit: contain; }
        .card-title { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); }
        .card-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; flex-grow: 1; }
        .card-link { font-size: 1.1rem; font-weight: 700; color: var(--text-main); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; align-self: flex-start; position: relative; z-index: 15; }
        .card-link::after { content: '→'; transition: transform 0.3s ease; }

        .card-front > dl {
            display: flex;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }

        .card-front > dl > dt {
            margin-right: 0.25rem;
        }

        .card-front > h3 {
            word-spacing: 0.20rem;
        }

        .card-front > h3 > abbr {
            cursor: help;
        }


/* ==========================================================================
   NATIVE DIALOG ELASTIC MODALS
   ========================================================================== */

/* Visually hide modal titles for WCAG compliance without breaking layout */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Reset the card-link button to match a tag styling */
button.card-link {
    background: transparent;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

/* Modal Content with 9:16 Aspect Ratio */
.modal-content {
    margin: auto; 
    background-color: var(--bg-color);
    width: 30%; 
    aspect-ratio: 9 / 16;
    max-height: 92vh; 
    border-radius: var(--radius-lg);
    
    /* REMOVED display: flex; and flex-direction: column; from here */
    
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-light);
    padding: 0;
    
    /* Pre-animation states */
    opacity: 0;
    transform: scale(0.65) translateY(15vh);
    transition: transform 0.85s cubic-bezier(0.68, -0.6, 0.32, 1.6), 
                opacity 0.6s ease;
}

/* Apply Flexbox ONLY when the native dialog is opened */
.modal-content[open] {
    display: flex;
    flex-direction: column;
}

/* Open State generated by JS */
.modal-content.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Native Backdrop Filter applied on the ::backdrop pseudo element */
.modal-content::backdrop {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background-color 0.5s ease, backdrop-filter 0.5s ease;
}

.modal-content.is-visible::backdrop {
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Inner Pseudo Border */
.modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    pointer-events: none;
    z-index: 5;
    transition: border-color 0.8s ease;
}

.modal-content.is-visible::before {
    animation: glowFade 2s ease-out forwards 0.5s;
}

/* Highly Visible Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    background-color: var(--bg-color);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.35rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6), 
                background-color 0.3s ease, 
                color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
    transform: scale(1.15) rotate(90deg);
    background-color: var(--color-red);
    color: var(--bg-color);
}

/* Image Container */
.modal-img-container {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
/* Radial gradient on top (layer 1), Linear gradient on bottom (layer 2) */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.04));
    border-bottom: 4px solid var(--theme-5-c2);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.modal-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(255,255,255,1)) drop-shadow(0 10px 5px rgba(0,0,0,0.18));
    
    /* Elastic Image Zoom */
    transform: scale(0.4);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.68, -0.6, 0.32, 1.6) 0.15s,
                opacity 0.8s ease 0.15s;
}

.modal-content.is-visible .modal-img-container img {
    transform: scale(1.1);
    opacity: 1;
}

/* Content List Rows */
.modal-specs {
    flex: 1;
    padding: 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    overflow-y: auto;
}

.modal-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    
    /* Elastic Slide-in for text items */
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: opacity 0.5s ease, 
                transform 0.9s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.modal-spec-row:last-child {
    border-bottom: none;
}

.modal-content.is-visible .modal-spec-row {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Staggered Timings for Row Reveal */
.modal-content.is-visible .modal-spec-row:nth-child(1) { transition-delay: 0.20s; }
.modal-content.is-visible .modal-spec-row:nth-child(2) { transition-delay: 0.30s; }
.modal-content.is-visible .modal-spec-row:nth-child(3) { transition-delay: 0.40s; }

.spec-label {
    color: var(--text-main);
    font-weight: 700;
}

.spec-value {
    color: var(--text-muted);
    text-align: right;
    font-weight: 400;
}

/* Responsive Scaling Constraints */
@media (max-width: 1024px) {
    .modal-content {
        width: 60%; 
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 80%;
    }
    
    .modal-specs {
        padding: 1.25rem 1.75rem;
    }
}

/* OTHERS */

.showcase-section > p > b > a:link {
    color: var(--text-main);
    text-decoration: none;
}

.showcase-section > p > b > a:hover {
    color: var(--theme-5-c2);
    text-decoration: underline;
}

 .modal-specs, .modal-spec-row, .spec-value {
    overflow: clip;
}

.bottom-note {
    color: var(--color-red);
    font-size: 1.5rem;
}

.goto-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto 1rem 2.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .goto-links {
        flex-direction: column;
    }
}

.goto-links a:link, .goto-links a:visited {
    color: var(--theme-5-c2);
    text-underline-offset: 4px;
    text-decoration: 2px dotted underline var(--theme-5-c2);
}

.goto-links a:hover {
    color: var(--color-red);
    text-underline-offset: 4px;
    text-decoration: 2px dotted underline var(--text-main);
}