/* ==========================================================================
   --- css/pages/index_style-media.css (Global Responsive Architecture) ---
   ========================================================================== */

@import url(/css/style_fonts.css);

/* ==========================================================================
   --- 1. UNIVERSAL NAVBAR CAROUSEL (0px to 1350px) ---
   ========================================================================== */
@media (max-width: 1350px) {

    /* Hide scroll-indicator only; curtain stays for section hops above 1200px */
    .scroll-indicator-anim { 
        display: none !important; 
    }

    /* Enforce unbreaking top navigation bar row layout */
    .fixed-nav {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100vw !important;
        padding: 1rem 1.5rem !important;
        box-sizing: border-box !important;
        background: #050505 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        z-index: 999 !important;
    }

    /* Group brand logo and language selector on the left — extra air before INDEX */
    .brand-lockup {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.4rem !important;
        flex-shrink: 0 !important;
        z-index: 1001 !important;
        background: #050505 !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        position: relative !important;
    }

    /* Cinematic edge decay fade for nav links overlay */
    .brand-lockup::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        right: -2rem !important;
        width: 2rem !important;
        height: 100% !important;
        background: linear-gradient(to right, #050505 20%, rgba(5, 5, 5, 0) 100%) !important;
        pointer-events: none !important;
        z-index: 1002 !important;
    }

    /* Force Language Selector inline placement next to logo, then a wide gutter before INDEX */
    .lang-selector-box {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 1.1rem 0 0.15rem !important;
    }

    .logo {
        font-size: 1.3rem !important;
        letter-spacing: 0.2em !important;
        white-space: nowrap !important;
    }

    .lang-dropdown {
        font-size: 0.65rem !important;
        padding: 0.25rem 1.4rem 0.25rem 0.45rem !important;
    }

    /* Horizontal swipe/scroll track for navigation links + far-right fade */
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 1.85rem !important;
        flex: 1 !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: auto !important;
        overflow-anchor: none !important;
        padding-left: 0.5rem !important;
        padding-right: 3.5rem !important;
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
        -webkit-mask-image: linear-gradient(to right, #000 0%, #000 76%, transparent 100%) !important;
        mask-image: linear-gradient(to right, #000 0%, #000 76%, transparent 100%) !important;
    }

    .nav-links::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .nav-links a {
        display: inline-block !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
        flex-shrink: 0 !important;
        font-size: 0.8rem !important; 
    }

    .nav-eko-label,
    #nav-ekovea-label {
        min-width: 0 !important;
        width: auto !important;
        overflow: hidden;
        white-space: nowrap;
    }
}

/* ==========================================================================
   --- 2. TABLET VIEWPORT ARCHITECTURE & DYNAMIC SCALING (969px to 1350px) ---
   ========================================================================== */
@media (min-width: 1201px) and (max-width: 1350px) {

    /* Hero Seven Squares Grid Scaling */
    .index-seven-squares {
        gap: 2.5rem !important;
    }
    .idx-sq {
        width: 35px !important;
        height: 70px !important;
    }

    /* Showroom Glass Containers Dynamic Scaling */
    .showroom-matrix-container {
        width: calc(100% - 4rem) !important;
        padding: 2rem 2.5rem !important;
        height: calc(100vh - 20%) !important;
    }

    /* Main Showroom Split View for Tags & Matrix */
    .showroom-main-split {
        gap: 1.25rem !important;
    }

    .matrix-tags-sidebar {
        width: 150px !important;
        padding-right: 1rem !important;
    }

    .tag-node-btn {
        font-size: 0.6rem !important;
        padding: 0.3rem 0.5rem !important;
    }

    .grid-payhip {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }

    .grid-shopify {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1rem !important;
    }

    /* Autoscroll zones width alignment */
    .autoscroll-zone-top,
    .autoscroll-zone-bottom {
        width: 90% !important;
        font-size: 0.55rem !important;
    }

    /* Sector Columns Hover Scale */
    .sector-column:hover .sector-bg-media {
        transform: scale(1.1) !important;
        filter: grayscale(0%) contrast(1.2) brightness(1.2) !important;
        opacity: 1.0 !important;
    }

    .sector-column.grayscale-hover-target:hover .sector-bg-media {
        filter: grayscale(100%) contrast(1.2) brightness(1.2) !important;
    }

    /* EKOGEA Right Sidebar Column Tablet Scaling */
    .ekogea-right-sidebar-column {
        top: 18.5rem !important;
        right: 2rem !important;
        width: 300px !important;
        padding: 1rem 1rem 1rem 1.25rem !important;
    }

    /* EKORIIV Embedded Header Navigation */
    .ekoriiv-embedded-nav {
        gap: 1.2rem !important;
        margin-bottom: 1rem !important;
    }

    .ekoriiv-embedded-nav a {
        font-size: 0.7rem !important;
    }

    .ekoenv-return-btn {
        padding: 0.4rem 1rem !important;
        font-size: 0.6rem !important;
        margin-bottom: 1rem !important;
    }

    /* BIO Section & MYSELF Reflection Matrices */
    .bio-layout {
        width: calc(100% - 4rem) !important;
        gap: 2rem !important;
    }

    #profile-pic {
        grid-column: 1 / 5 !important;
    }

    .bio-description {
        grid-column: 5 / 13 !important;
    }

    .bio-description h2 {
        font-size: 1.8rem !important;
    }

    .myself-section-block,
    .myself-album-section-block {
        width: calc(100% - 4rem) !important;
        padding: 2rem !important;
    }

    .myself-grid-matrix {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .album-grid-matrix {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }

    /* Platforms Grid Frame */
    .platforms-scroll-matrix {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        display: flex !important;
    }

    .platforms-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
        height: 100% !important;
        min-height: 0 !important;
        gap: 0.85rem !important;
    }

    .platform-card {
        aspect-ratio: auto !important;
        height: 100% !important;
        min-height: 0 !important;
    }

    /* Digitalization Form Tablet Overrides */
    body.form-body-matrix {
        padding: 10rem 2rem 3rem 2rem !important;
    }

    .form-split-layout {
        max-width: 100% !important; 
        height: auto !important; 
    }

    .form-visual-column {
        flex: 0 0 35% !important; 
        padding: 1.5rem !important;
    }

    .form-split-layout .form-matrix-container {
        padding: 2.5rem !important;
    }

    .form-header h1 {
        font-size: 1.5rem !important;
    }

    .form-header p {
        font-size: 0.7rem !important;
    }

    .form-grid {
        gap: 1rem !important; 
    }

    .input-field {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.8rem !important;
    }

    .form-group label {
        font-size: 0.6rem !important;
    }

    .file-upload-wrapper {
        padding: 1.5rem !important;
    }

    .form-group .submit-btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.8rem !important;
    }
}

/* ==========================================================================
   --- 3. MOBILE VIEWPORT ARCHITECTURE (0px to 968px) ---
   ========================================================================== */
@media (max-width: 1200px) {
    .transition-shield {
        display: block !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        background: #080808 !important;
        opacity: 0;
        visibility: hidden !important;
        z-index: 1900;
        pointer-events: none;
        transition: opacity 0.38s ease, visibility 0.38s ease !important;
    }
    .transition-shield.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    html, body { 
        overflow-y: auto !important; 
        overflow-x: hidden !important; 
        scroll-behavior: auto !important;
        height: auto !important;
        min-height: 100% !important;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 4.75rem !important;
        overscroll-behavior-y: auto !important;
    }
    
    /* Completely disable CSS snap and force smooth continuous vertical scrolling */
    .horizontal-scroll-container {
        flex-direction: column !important; 
        width: 100% !important;
        height: auto !important; 
        overflow-y: visible !important;
        overflow-x: hidden !important; 
        scroll-snap-type: none !important;
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .page-section {
        width: 100% !important; 
        height: auto !important;
        min-height: 0 !important; 
        padding: 1.15rem 0.9rem 0.85rem 0.9rem !important;
        scroll-margin-top: 4.5rem;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }

    #hero.page-section,
    #hero {
        min-height: 100svh !important;
        height: auto !important;
        padding-top: 12vh !important;
        padding-bottom: 4vh !important;
    }

    /* Hide desktop-only HUD chrome on mobile */
    .pinned-hud-sidebar,
    .autoscroll-zone-top,
    .autoscroll-zone-bottom,
    .ecmsxa-autoscroll-pills,
    .policy-autoscroll-pills,
    #index-pinned-autoscroll,
    .autoscroll-btn-pin,
    .bio-autoscroll-btn-pin,
    .section-bottom-scroll-strip,
    .ekovea-bottom-scroll-strip,
    .progress-scroll-hint,
    .scroll-strip-hint,
    #stage-hover-scroll,
    .ekoriiv-return-btn,
    a.ekoriiv-return-btn,
    button.ekoriiv-return-btn,
    #btn-env-return-up {
        display: none !important;
    }

    /* Hero Section Mobile Architecture */
    #hero {
        min-height: 100vh !important;
        height: auto !important;
        margin-bottom: 0;
        padding-top: 12vh !important;
        padding-bottom: 6vh !important;
    }

    .video-matrix-container {
        position: absolute !important; 
        top: 0 !important; 
        left: 0 !important; 
        width: 100% !important; 
        height: 100% !important; 
        overflow: hidden !important; 
        z-index: 0 !important;
    }
    
    #backgrid,
    .hero-webm-layer {
        display: block !important; 
        position: absolute !important; 
        width: 100% !important; 
        height: 100% !important; 
        top: 0 !important; 
        left: 0 !important; 
        object-fit: cover !important; 
    }

    .bg-overlay,
    .heroimgbckgA {
        height: 100% !important;
    }

    .hero-inner-boundary { 
        padding: 0 !important; 
        width: 100% !important;
    }

    .logo-graphic { 
        width: 220px !important; 
        height: 60px !important; 
    }
    .logo-subtitle { 
        font-size: 0.85rem !important; 
    }

    .index-seven-squares {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1.25rem !important;
        padding-top: 3rem !important;
        width: 100% !important;
    }

    .idx-sq {
        width: 42px !important;
        height: 42px !important;
        rotate: 45deg !important;
        margin: 0.25rem !important;
        flex-shrink: 0 !important;
        scale: 1 !important;
    }
    .idx-sq:hover,
    .idx-sq:focus,
    .idx-sq:active {
        width: 42px !important;
        height: 42px !important;
        scale: 1.12 !important;
        z-index: 6;
    }

    .idx-sq .airport-flip-letter {
        font-size: 1.1rem !important;
    }

    .container-ms {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 0.85rem auto 0 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .mission {
        font-size: 0.58rem !important;
        letter-spacing: 0.12em !important;
        text-align: center !important;
        max-width: 22rem !important;
        margin: 0 auto !important;
    }
    
    /* Sectors & Multi-column Showrooms */
    #sectors-showroom,
    .columns-showroom {
        margin-top: 0;
        flex-direction: column !important;
        height: auto !important;
    }

    .sector-column {
        width: 100% !important;
        height: 220px !important;
        border-right: none !important;
        border-bottom: 1px solid #1a1a1a !important;
        padding: 1.5rem !important;
    }

    .sector-column .sector-bg-media {
        opacity: 0.65 !important;
        filter: grayscale(0%) contrast(1.1) !important;
    }

    .sector-column.grayscale-hover-target .sector-bg-media {
        filter: grayscale(100%) contrast(1.1) !important;
    }

    .sector-letter {
        font-size: 3rem !important;
        margin-bottom: 0.5rem !important;
    }

    .sector-content {
        transform: translateY(0) !important;
        margin-bottom: 0.5rem !important; 
    }

    /* Product Showrooms Mobile Layout */
    .showroom-matrix-container {
        width: 100% !important;
        height: auto !important;
        padding: 1rem !important;
        background: transparent !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    
    .showroom-header-wrap {
        flex-direction: column !important; 
        align-items: flex-start !important;
        margin-bottom: 1.25rem !important;
        gap: 1rem !important;
    }

    .section-header { 
        font-size: 1.75rem !important; 
        margin-bottom: 0 !important; 
        letter-spacing: 0.1em !important;
    }

    .shop-controls {
        width: 100% !important; 
        align-items: flex-start !important; 
    }

    .control-row-horizontal {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
    }

    .search-wrapper {
        width: 100% !important;
    }
    
    .search-input-field { 
        width: 100% !important; 
    }

    .zoom-controls {
        display: none !important; 
    }

    .shop-filters { 
        justify-content: flex-start !important; 
        width: 100% !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 0.5rem !important;
    }

    /* Main Showroom Split (Tags Sidebar + Grid) Mobile Overrides */
    .showroom-main-split {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .matrix-tags-sidebar {
        width: 100% !important;
        max-height: none !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-right: 0 !important;
        padding-bottom: 0.75rem !important;
    }

    .tag-node-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .grid-payhip,
    .grid-shopify {
        display: grid !important; 
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important; 
        gap: 0.75rem !important;
        padding-bottom: 2rem !important;
    }

    .product-node { 
        padding: 0.75rem !important; 
    }
    .node-title { 
        font-size: 0.8rem !important; 
    }
    .node-meta { 
        font-size: 0.7rem !important; 
    }
    .node-tag { 
        font-size: 0.55rem !important; 
        margin-bottom: 0.5rem !important; 
    }

    .scrollable-y-matrix {
        max-height: none !important; 
        overflow-y: visible !important;
        padding-right: 0 !important; 
        -webkit-mask-image: none !important; 
        mask-image: none !important;
    }
    
    /* BIO Section & MYSELF Matrices Mobile Overrides */
    .bio-scrollable-container {
        padding: 5rem 0 4rem 0 !important;
        height: auto !important;
        overflow-y: visible !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    .bio-layout { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 2rem !important; 
        width: 100% !important;
    }

    #profile-pic { 
        width: 100% !important; 
        aspect-ratio: 1 / 1 !important; 
        grid-column: auto !important;
    }

    .bio-description {
        grid-column: auto !important;
        padding-top: 0 !important;
    }

    .bio-description h2 {
        font-size: 1.75rem !important;
    }

    .bio-logos.inline-logos-row {
        justify-content: center !important;
        margin-left: 0 !important;
    }

    .myself-section-block,
    .myself-album-section-block {
        width: 100% !important;
        padding: 1.5rem 1rem !important;
        border-radius: 8px !important;
        margin-top: 2.5rem !important;
    }

    .myself-grid-matrix {
        grid-template-columns: 1fr !important;
        max-height: none !important;
        gap: 1rem !important;
        padding-right: 0 !important;
    }

    .album-grid-matrix {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
    }

    .myself-modal-card {
        width: 95% !important;
        padding: 1.75rem !important;
    }

    /* Ö-XL / Örama Split Layout Mobile */
    .oxl-split-container {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .split-panel {
        padding: 1.5rem !important;
    }

    .oxl-content-padder {
        padding-top: 2rem !important;
    }
    
    .oxl-split-container:hover .split-panel:not(:hover) .column-darken-overlay {
        opacity: 0 !important;
    }

    .oxl-split-container:hover .split-panel:not(:hover) .sector-content {
        opacity: 1 !important;
    }

    .oxl-recent-products-grid,
    .orama-recent-products-grid {
        grid-template-columns: 1fr !important;
    }

    .app-download-banner {
        width: 100% !important;
    }

    .archive-glass-panel {
        width: 95% !important;
        height: 85vh !important;
        padding: 1.5rem !important;
    }

    .archive-spacious-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
        padding-right: 0 !important;
    }

    /* ÖrMusic Catalog Mobile */
    .ormusic-split-layout {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .ormusic-left-column {
        flex: none !important;
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding-right: 0 !important;
        padding-bottom: 1.5rem !important;
    }

    /* EKORIIV Embedded Header Navigation Mobile */
    .ekoriiv-embedded-nav {
        flex-wrap: wrap !important;
        gap: 0.85rem !important;
        justify-content: center !important;
        padding: 0 1rem !important;
    }

    .ekoriiv-embedded-nav a {
        font-size: 0.65rem !important;
    }

    .ekoenv-return-btn {
        font-size: 0.6rem !important;
        padding: 0.4rem 1rem !important;
    }

    /* ==========================================================================
       --- EKOVEA / EKOGEA / EKORIIV / EKOTEX SEAMLESS MOBILE FLOW OVERRIDES ---
       ========================================================================== */
    .ekovea-fullscreen-section {
        position: relative !important;
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }

    .ekovea-vertical-wrapper {
        height: auto !important;
        overflow: visible !important;
    }

    .ekovea-map-stage-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .ekovea-stage-overlay {
        order: -1 !important;
        position: relative !important;
    }

    .ekovea-cards-viewport,
    #ekovea-spatial-cards-layer {
        order: 4 !important;
        position: relative !important;
    }
    
    #map-viewport {
        display: none !important; /* Disables heavy Leaflet webgl/canvas map layer on mobile */
    }

    .ekovea-spline-layer {
        display: none !important;
    }

    .ekovea-mobile-wallpaper {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-image: url('/assets/pages/index/sections/ekovea/maxresdefault.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        filter: blur(12px) brightness(0.35) !important;
        z-index: 0 !important;
        pointer-events: none !important;
    }

    .ekovea-stage-overlay {
        padding: 1rem !important;
        position: relative !important;
        height: auto !important;
        pointer-events: auto !important;
    }

    .ekovea-top-bar {
        position: relative !important;
        z-index: 2 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.25rem !important;
        padding: 1.25rem !important;
        width: 100% !important;
    }

    .ekovea-top-categories-track {
        max-width: 100% !important;
    }

    .ekovea-search {
        width: 100% !important;
    }

    .ekovea-biomes-column {
        position: relative !important;
        z-index: 2 !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        height: auto !important;
        width: 100% !important;
        top: auto !important;
        left: auto !important;
        padding: 0.85rem !important;
        scrollbar-width: none;
        margin-top: 1rem !important;
    }

    .ekovea-biomes-column::-webkit-scrollbar {
        display: none !important;
    }

    .biome-node-btn {
        white-space: nowrap !important;
        font-size: 0.65rem !important;
    }

    .ekovea-cards-viewport {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 1rem 0 !important;
        margin-top: 1rem !important;
        overflow-x: auto !important;
    }

    .floating-spatial-card.mac-dock-node {
        width: 180px !important;
        height: 280px !important;
    }

    .floating-spatial-card.mac-dock-node:hover {
        transform: none !important;
    }

    .ekovea-quad-controls {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        flex-wrap: wrap !important;
        margin-top: 1rem !important;
        justify-content: center !important;
    }

    .ekogea-right-sidebar-column {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        margin-top: 1rem !important;
        display: flex !important; /* Fully in-flow document block on mobile */
    }

    /* Reset EKORIIV / EKOTEX fixed viewports to seamlessly flow vertically on mobile */
    .ekoriiv-section-block,
    .ekoenv-section-block {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        pointer-events: auto !important;
        overflow: visible !important;
        padding: 2rem 0 !important;
        opacity: 1 !important;
    }

    .ekotex-section-block {
        margin-top: 2rem !important;
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
    }

    #ekovea-list-view-stage,
    .list-view-stage-node {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        padding: 1.5rem 1rem !important;
        display: flex !important;
        background: transparent !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    /* Platforms Grid Frame Mobile */
    .platforms-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: none !important;
        height: auto !important;
        gap: 0.75rem !important;
    }

    .platform-card {
        aspect-ratio: 16 / 10 !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0.85rem !important;
    }

    .platform-name {
        font-size: 0.75rem !important;
    }

    /* Digitalization Form Mobile Overrides */
    body.form-body-matrix {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 6.5rem 1rem 4rem 1rem !important;
        display: block !important;
        background-attachment: scroll !important;
    }

    .form-split-layout {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        gap: 2rem !important;
    }

    .form-visual-column {
        flex: none !important;
        width: 100% !important;
        height: 220px !important; 
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 8px !important;
        padding: 1.25rem !important;
        background: rgba(10, 10, 10, 0.4) !important;
    }

    .form-visual-banner-bg {
        border-radius: 8px !important;
    }

    .visual-column-content {
        width: 100% !important;
        text-align: center !important;
    }

    .system-status-indicator {
        font-size: 0.6rem !important;
        display: inline-block !important;
    }

    .form-split-layout .form-matrix-container {
        flex: none !important;
        width: 100% !important;
        padding: 1.5rem 1.25rem !important;
        background: rgba(10, 10, 10, 0.65) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
    }

    .form-header h1 {
        font-size: 1.3rem !important;
        letter-spacing: 0.1em !important;
    }

    .form-header p {
        font-size: 0.65rem !important;
        line-height: 1.5 !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .form-group.full-width {
        grid-column: span 1 !important;
    }

    .form-group label {
        font-size: 0.6rem !important;
        margin-bottom: 0.4rem !important;
    }

    .input-field {
        padding: 0.7rem 0.85rem !important;
        font-size: 0.8rem !important;
    }

    textarea.input-field {
        min-height: 120px !important; 
    }

    .file-upload-wrapper {
        padding: 1.25rem 1rem !important;
    }

    .upload-hint {
        font-size: 0.65rem !important;
        line-height: 1.4 !important;
    }

    .form-group .submit-btn {
        padding: 0.85rem 1.5rem !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.15em !important;
    }
}

/* ==========================================================================
   --- 4. EXTRA SMALL MOBILE DEVICES (max-width: 480px) ---
   ========================================================================== */
@media (max-width: 480px) {
    .grid-payhip,
    .grid-shopify,
    .album-grid-matrix {
        grid-template-columns: 1fr !important;
    }

    .platforms-grid {
        grid-template-columns: 1fr !important;
    }

    .section-header {
        font-size: 1.4rem !important;
    }

    .logo-graphic {
        width: 180px !important;
        height: 50px !important;
    }

    .lang-selector-box {
        margin: 0 2rem 0 0.25rem !important;
    }
}

/* ==========================================================================
   --- 5. TABLET: KILL AUTOSCROLL DIAMONDS (≤1200px) ---
   ========================================================================== */
@media (max-width: 1200px) {
    .ecmsxa-autoscroll-pills,
    .policy-autoscroll-pills,
    #index-pinned-autoscroll,
    .autoscroll-btn-pin,
    .bio-autoscroll-btn-pin {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* ==========================================================================
   --- 6. TABLET BOTTOM BAR: POLICY + HOVER CUE, COMPACT ---
   ========================================================================== */
@media (min-width: 1201px) and (max-width: 1350px) {
    .scroll-progress {
        left: 1.5rem !important;
        bottom: 1.35rem !important;
        gap: 0.5rem !important;
        max-width: calc(100vw - 8rem);
        flex-wrap: nowrap;
        overflow: visible;
    }

    .progress-bar {
        width: 28px !important;
    }

    .progress-policy-link {
        margin-left: 12px !important;
        font-size: 0.6rem !important;
    }

    .progress-scroll-hint {
        margin-left: 1.1rem !important;
        font-size: 0.58rem !important;
        letter-spacing: 0.18em !important;
        display: inline-flex !important;
    }
}

/* ==========================================================================
   --- 7. INDEX ECMSXA / PAYHIP CATALOG — PHONE & SMALL TABLET ---
   ========================================================================== */
@media (max-width: 1200px) {
    .scroll-progress {
        left: 1rem !important;
        right: auto !important;
        bottom: 0.85rem !important;
        gap: 0.4rem !important;
        max-width: calc(100vw - 1.5rem);
        flex-wrap: wrap;
    }

    .progress-bar {
        width: 22px !important;
        height: 3px !important;
    }

    .progress-policy-link {
        margin-left: 8px !important;
    }

    #payhip-showroom {
        height: auto !important;
        min-height: 100vh !important;
        padding: 5.5rem 0 5rem 0 !important;
        display: block !important;
        align-items: stretch !important;
    }

    #payhip-showroom .shell {
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #payhip-showroom .rail {
        display: none !important;
    }

    #payhip-showroom .main,
    #payhip-showroom .scrollable-y-matrix {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    #payhip-showroom .toolbar {
        margin: 8px 10px !important;
        padding: 12px 14px !important;
        position: relative !important;
        top: auto !important;
    }

    #payhip-showroom .results {
        padding: 8px 10px 48px 10px !important;
    }
}

/* ==========================================================================
   --- 8. PHONE + TABLET LAYOUT CORRECTIONS (≤1200px)
        High-specificity so desktop ID rules cannot keep columns / 100vh shells.
   ========================================================================== */
@media (max-width: 1200px) {
    html, body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100% !important;
        position: static !important;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 7.5rem !important;
        overscroll-behavior-y: auto !important;
        scroll-snap-type: none !important;
        scroll-behavior: auto !important;
        overflow-anchor: none !important;
    }

    #scroll-stage,
    .horizontal-scroll-container {
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
        scroll-behavior: auto !important;
        touch-action: pan-y !important;
        overflow-anchor: none !important;
    }

    .page-section,
    .page-section.ekovea-fullscreen-section,
    #hero.page-section,
    #overview-showroom.page-section,
    #sectors-showroom.page-section,
    #payhip-showroom.page-section,
    #mods-showroom.page-section,
    #oxl-orama-showroom.page-section,
    #ormusic-showroom.page-section,
    #apps-showroom.page-section,
    #artea-showroom.page-section,
    #ekovea-showroom.page-section,
    #services-showroom.page-section,
    #platforms-showroom.page-section,
    #bio.page-section {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
        overflow-anchor: none !important;
    }

    #hero.page-section,
    #hero {
        min-height: 100svh !important;
        padding: 12vh 0.9rem 5vh !important;
    }

    .nav-links {
        gap: 1.85rem !important;
        padding-left: 0.25rem !important;
    }

    .brand-lockup {
        gap: 0.4rem !important;
    }

    .lang-selector-box {
        margin: 0 1.35rem 0 0.15rem !important;
    }

    /* ---- Bottom bar: finger-sized TEAM / CAREERS / LOGIN ---- */
    .pinned-hud-sidebar {
        display: none !important;
    }

    .scroll-progress {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        left: 0.45rem !important;
        right: 0.45rem !important;
        bottom: 0.4rem !important;
        width: auto !important;
        max-width: none !important;
        gap: 0.3rem !important;
        padding: 0.28rem !important;
        padding-bottom: max(0.28rem, env(safe-area-inset-bottom)) !important;
        background: rgba(12, 12, 14, 0.86) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
        backdrop-filter: blur(16px) saturate(1.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 12px !important;
        z-index: 1400 !important;
        box-sizing: border-box !important;
        pointer-events: auto !important;
    }

    .scroll-progress .progress-bar {
        display: none !important;
        pointer-events: none !important;
    }

    .progress-policy-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        min-height: 34px !important;
        padding: 0 0.45rem !important;
        font-size: 0.58rem !important;
        letter-spacing: 0.12em !important;
        pointer-events: auto !important;
        flex: 0 0 auto !important;
    }

    .mobile-hud-inline {
        display: flex !important;
        flex: 1 1 auto !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        gap: 0.28rem !important;
        width: auto !important;
        margin: 0 !important;
        min-width: 0 !important;
        pointer-events: auto !important;
    }

    .mobile-hud-link {
        display: flex !important;
        flex: 1 1 0 !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 34px !important;
        padding: 0.28rem 0.2rem !important;
        font-size: 0.62rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        color: #f4f4f5 !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        pointer-events: auto !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        -webkit-tap-highlight-color: rgba(210, 220, 70, 0.35);
    }

    .mobile-hud-link:hover,
    .mobile-hud-link:active {
        color: #111 !important;
        background: var(--OrOcra5519) !important;
        border-color: var(--OrOcra5519) !important;
    }

    .progress-scroll-hint,
    .scroll-strip-hint {
        display: none !important;
    }

    /* ---- SECTORS / SERVICES / MODS as full-width ROWS ---- */
    #sectors-showroom.page-section,
    #services-showroom.page-section,
    #mods-showroom.page-section,
    #oxl-orama-showroom.page-section,
    #sectors-showroom,
    #services-showroom,
    #mods-showroom,
    .columns-showroom {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 0 !important;
        scroll-margin-top: 4.5rem;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        background: #080808 !important;
    }

    #sectors-showroom .sector-column,
    #services-showroom .sector-column,
    #mods-showroom .sector-column,
    .columns-showroom > .sector-column {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 168px !important;
        min-height: 168px !important;
        padding: 1.15rem 1.25rem 1.25rem !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        justify-content: flex-end !important;
    }

    #sectors-showroom .sector-letter {
        font-size: 2.4rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 0.9 !important;
    }

    #sectors-showroom .sector-content-title,
    #services-showroom .sector-content-title,
    #mods-showroom .sector-content-title {
        white-space: nowrap !important;
        font-size: 1.05rem !important;
    }

    #sectors-showroom .sector-bg-media,
    #services-showroom .sector-bg-media,
    #mods-showroom .sector-bg-media {
        opacity: 0.55 !important;
        filter: grayscale(20%) contrast(1.1) brightness(0.9) !important;
    }

    /* ---- Ö-XL / ÖRAMA stacked cards, no expand-pane ---- */
    #oxl-orama-showroom.page-section,
    #oxl-orama-showroom.oxl-split-container {
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 0.65rem 0.75rem 0.85rem !important;
        scroll-margin-top: 4.5rem;
    }

    #oxl-orama-showroom .split-panel.sector-column,
    #panel-oxl,
    #panel-orama {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 280px !important;
        max-height: none !important;
        overflow: hidden !important;
        padding: 1.25rem 1.15rem 1.35rem !important;
        border-right: none !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 12px !important;
        display: flex !important;
    }

    #oxl-orama-showroom .inner-grid-wrapper,
    #oxl-orama-showroom .hidden-grid {
        display: none !important;
    }

    #oxl-orama-showroom .split-panel.is-expanded-pane .inner-grid-wrapper {
        display: flex !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        margin: 0.35rem 0 0 !important;
        padding: 1rem !important;
        overflow: visible !important;
    }

    #oxl-orama-showroom .split-panel.is-expanded-pane .pane-content,
    #oxl-orama-showroom .split-panel.is-collapsed-pane {
        display: none !important;
    }

    #oxl-orama-showroom .split-panel.is-expanded-pane {
        overflow: visible !important;
        min-height: 0 !important;
        height: auto !important;
        width: 100% !important;
    }

    #oxl-orama-showroom .is-expanded-pane .showroom-main-split {
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
        gap: 0.75rem !important;
    }

    #oxl-orama-showroom .is-expanded-pane .matrix-tags-sidebar {
        width: 100% !important;
        max-height: none !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 0 0 0.55rem !important;
    }

    #oxl-orama-showroom .is-expanded-pane .scrollable-y-matrix {
        max-height: none !important;
        overflow: visible !important;
    }

    #oxl-orama-showroom .is-expanded-pane .grid-payhip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #oxl-orama-showroom .pane-content,
    #oxl-orama-showroom .oxl-content-padder {
        display: flex !important;
        position: relative !important;
        z-index: 3 !important;
        padding-top: 0 !important;
        width: 100% !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    #oxl-orama-showroom .app-download-banner {
        width: 100% !important;
        height: auto !important;
        min-height: 58px !important;
        padding: 0.75rem 0.9rem !important;
        margin-bottom: 0.85rem !important;
    }

    #oxl-orama-showroom .oxl-recent-products-grid,
    #oxl-orama-showroom .orama-recent-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        flex-wrap: unset !important;
        overflow: visible !important;
        gap: 0.65rem !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    .oxl-recent-products-container::after,
    .orama-recent-products-container::after {
        display: none !important;
    }

    #oxl-orama-showroom .recent-card-node {
        flex: none !important;
        width: auto !important;
    }

    #oxl-orama-showroom .column-darken-overlay {
        display: none !important;
    }

    #oxl-orama-showroom .looping-video-bg-wrap,
    #oxl-orama-showroom .section-looping-video {
        border-radius: 12px;
    }

    /* ---- ÖRMUSIC + APPS compact grids ---- */
    #ormusic-showroom.page-section,
    #apps-showroom.page-section,
    #artea-showroom.page-section {
        padding: 0.85rem 0.75rem 1rem !important;
        scroll-margin-top: 4.5rem;
    }

    .ormusic-split-layout {
        flex-direction: column !important;
        gap: 1rem !important;
        height: auto !important;
    }

    .ormusic-left-column {
        flex: none !important;
        width: 100% !important;
        border-right: none !important;
        padding-right: 0 !important;
        padding-bottom: 0.5rem !important;
    }

    #ormusic-grid.grid-shopify,
    #apps-grid.grid-payhip,
    #artea-showroom .grid-payhip,
    .grid-shopify,
    .grid-payhip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
        padding-bottom: 1rem !important;
    }

    .ormusic-right-column .product-card {
        min-height: 0 !important;
    }

    .ormusic-thumb-wrap {
        aspect-ratio: 1 / 1 !important;
    }

    .ormusic-right-column .product-title {
        font-size: 0.78rem !important;
    }

    /* ---- EKOVEA³ rebuilt as a stacked catalog ---- */
    #ekovea-showroom.page-section,
    .ekovea-fullscreen-section,
    .ekovea-vertical-wrapper,
    .ekovea-map-stage-block {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #ekovea-showroom.page-section {
        padding: 0.85rem 0.75rem 1rem !important;
        scroll-margin-top: 4.5rem;
    }

    #map-viewport,
    .ekovea-spline-layer,
    .ekovea-quad-controls,
    #ekogea-right-sidebar,
    .ekogea-right-sidebar-column,
    .env-nav-block {
        display: none !important;
    }

    .ekovea-mobile-wallpaper {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-image: url('/assets/pages/index/sections/ekovea/maxresdefault.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        filter: blur(16px) brightness(0.28) !important;
        z-index: 0 !important;
        pointer-events: none !important;
    }

    .ekovea-stage-overlay {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
        height: auto !important;
        padding: 0 !important;
        pointer-events: auto !important;
        z-index: 2 !important;
        order: -1 !important;
    }

    .ekovea-top-bar {
        position: relative !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0.75rem !important;
        padding: 1rem 1rem 0.9rem !important;
    }

    .ekovea-header-title {
        font-size: 1.45rem !important;
    }

    .ekovea-subtitle {
        font-size: 0.68rem !important;
        letter-spacing: 0.12em !important;
        line-height: 1.45 !important;
    }

    .ekovea-top-categories-track {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0.15rem 0 !important;
        -webkit-mask-image: linear-gradient(to right, #000 0%, #000 82%, transparent 100%) !important;
        mask-image: linear-gradient(to right, #000 0%, #000 82%, transparent 100%) !important;
    }

    .ekovea-search,
    .ekovea-search .search-input-field {
        width: 100% !important;
    }

    .ekovea-biomes-column {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 0.4rem !important;
        padding: 0.7rem 2.2rem 0.7rem 0.75rem !important;
        justify-content: flex-start !important;
        scrollbar-width: none !important;
        -webkit-mask-image: linear-gradient(to right, #000 0%, #000 78%, transparent 100%) !important;
        mask-image: linear-gradient(to right, #000 0%, #000 78%, transparent 100%) !important;
        pointer-events: auto !important;
        z-index: 4 !important;
    }

    .ekovea-biomes-column::-webkit-scrollbar { display: none !important; }

    .biome-node-btn {
        white-space: nowrap !important;
        font-size: 0.62rem !important;
        padding: 0.4rem 0.7rem !important;
        flex: 0 0 auto !important;
        width: auto !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    .ekovea-cards-viewport,
    #ekovea-spatial-cards-layer {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 220px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.7rem !important;
        padding: 0.15rem 0 0.5rem !important;
        overflow: visible !important;
        pointer-events: auto !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        flex-wrap: unset !important;
        z-index: 3 !important;
        order: 2 !important;
    }

    #ekovea-spatial-cards-layer.is-compact-collapsed {
        max-height: 58rem !important;
        overflow: hidden !important;
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%) !important;
        mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%) !important;
    }

    .ekovea-compact-expand {
        display: none;
        position: relative;
        z-index: 5;
        margin: 0.35rem auto 1rem;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.16);
        background: rgba(10,10,10,0.72);
        color: #f5f5f7;
        font-size: 1.15rem;
        line-height: 1;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 24px rgba(0,0,0,0.45);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        order: 3 !important;
    }
    .ekovea-compact-expand.is-needed {
        display: flex !important;
    }
    .ekovea-compact-expand.is-expanded {
        transform: rotate(180deg);
    }

    .ekovea-empty-biome {
        grid-column: 1 / -1;
        padding: 1.25rem 0.75rem;
        color: #8a8a8e;
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .ekovea-cards-viewport.dock-hidden {
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        display: grid !important;
    }

    .floating-spatial-card.mac-dock-node {
        width: auto !important;
        height: auto !important;
        min-height: 240px !important;
        flex-shrink: 1 !important;
        transform: none !important;
        perspective: none !important;
    }

    .floating-spatial-card.mac-dock-node:hover {
        transform: none !important;
        filter: none !important;
    }

    .floating-spatial-card .card-flip-inner,
    .floating-spatial-card .card-face {
        position: relative !important;
        height: auto !important;
        min-height: 240px !important;
        transform: none !important;
    }

    .floating-spatial-card .card-face-back {
        display: none !important;
    }

    .floating-spatial-card.flipped .card-face-front {
        display: none !important;
    }

    .floating-spatial-card.flipped .card-face-back {
        display: flex !important;
        transform: none !important;
    }

    .spatial-card-thumb.tall-thumb {
        height: 110px !important;
    }

    .ekoriiv-section-block,
    .ekoenv-section-block,
    .ekotex-section-block {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        overflow: visible !important;
        padding: 1.25rem 0 0.5rem !important;
    }

    /* ---- BIO: unlock scroll + page padding ---- */
    #bio.page-section,
    #bio {
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 5rem 1.15rem 6.5rem !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
    }

    .bio-scrollable-container,
    #bio-scroll-matrix {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        touch-action: pan-y !important;
    }

    .bio-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 1.35rem !important;
        margin: 0 !important;
        padding: 0 0.15rem !important;
    }

    #profile-pic {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        border-radius: 12px !important;
        grid-column: auto !important;
    }

    .bio-description {
        padding: 0 0.15rem !important;
        grid-column: auto !important;
    }

    .bio-description h2 {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.9rem !important;
    }

    .bio-description p {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
    }

    #bio-p-align {
        text-align: left !important;
        padding-left: 0 !important;
    }

    .myself-section-block,
    .myself-album-section-block {
        width: 100% !important;
        margin-top: 1.25rem !important;
        padding: 1rem 0.85rem !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    .myself-grid-matrix {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
        max-height: none !important;
        overflow: visible !important;
        padding-right: 0 !important;
    }

    .album-grid-matrix {
        grid-template-columns: 1fr 1fr !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .platforms-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: none !important;
        height: auto !important;
        gap: 0.7rem !important;
    }

    .platform-card {
        aspect-ratio: 16 / 10 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .bio-fading-bar-top,
    .bio-fading-bar-bottom {
        display: none !important;
    }

    #mods-showroom.page-section,
    #mods-showroom {
        padding-bottom: 2.5rem !important;
    }

    #oxl-orama-showroom.page-section,
    #oxl-orama-showroom {
        padding-top: 0.35rem !important;
    }

    #services-showroom.page-section,
    #services-showroom {
        padding-top: 2.35rem !important;
        padding-bottom: 2.5rem !important;
    }

    #mods-showroom .sector-bg-media,
    .mods-media-xplane,
    .mods-media-arma {
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        opacity: 0.7 !important;
        filter: grayscale(15%) contrast(1.05) !important;
    }

    #index-seven-squares,
    .index-seven-squares {
        padding-top: 1.6rem !important;
        padding-bottom: 1.8rem !important;
        position: relative !important;
        z-index: 20 !important;
        overflow: visible !important;
    }

    /* INDEX fills the phone/tablet screen so Overview isn't jammed against the lockup */
    #hero.page-section,
    #hero {
        min-height: 100svh !important;
        height: auto !important;
        padding-top: 14vh !important;
        padding-bottom: 6.5rem !important;
        margin-bottom: 0 !important;
        position: relative !important;
        overflow: hidden !important;
        overflow-anchor: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    #hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3.2rem;
        background: linear-gradient(to bottom,
            rgba(8,8,8,0) 0%,
            rgba(8,8,8,0.55) 55%,
            #080808 100%);
        pointer-events: none;
        z-index: 1;
    }

    #sectors-showroom.page-section,
    #sectors-showroom {
        padding-top: 0.35rem !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        position: relative !important;
        z-index: 2 !important;
    }

    #sectors-showroom .sector-column:first-child {
        -webkit-mask-image: none;
        mask-image: none;
    }

    #payhip-showroom.page-section,
    #payhip-showroom {
        padding-top: 5.5rem !important;
        padding-bottom: 5rem !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 640px) and (max-width: 1200px) {
    #ormusic-grid.grid-shopify,
    #apps-grid.grid-payhip,
    #artea-showroom .grid-payhip,
    .ekovea-cards-viewport,
    #ekovea-spatial-cards-layer {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    #ekovea-spatial-cards-layer.is-compact-collapsed {
        max-height: 42rem !important;
    }

    #sectors-showroom .sector-column,
    #services-showroom .sector-column,
    #mods-showroom .sector-column {
        height: 190px !important;
        min-height: 190px !important;
    }

    .index-seven-squares {
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 1.6rem !important;
        padding-bottom: 2.2rem !important;
        overflow: visible !important;
    }

    .idx-sq {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0 !important;
        scale: 1 !important;
    }
    .idx-sq:hover,
    .idx-sq:focus,
    .idx-sq:active {
        width: 48px !important;
        height: 48px !important;
        scale: 1.12 !important;
    }

    #hero.page-section,
    #hero {
        min-height: 100svh !important;
        padding-bottom: 7rem !important;
    }
}

@media (max-width: 480px) {
    #ormusic-grid.grid-shopify,
    #apps-grid.grid-payhip,
    #artea-showroom .grid-payhip,
    .grid-shopify,
    .grid-payhip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ekovea-cards-viewport,
    #ekovea-spatial-cards-layer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .lang-selector-box {
        margin: 0 0.9rem 0 0.05rem !important;
    }

    .nav-links {
        gap: 1.7rem !important;
    }

    .myself-modal-side {
        display: none !important;
    }

    .myself-modal-card {
        width: 92% !important;
        max-width: 92vw !important;
        padding: 1.5rem !important;
    }
}

/* Never scale the INDEX logo on tablet / phone hover or autoplay */
@media (max-width: 1200px) {
    .logo-graphic,
    .logo-graphic:hover,
    .logo-graphic.is-intro-play {
        transform: none !important;
    }
    .logo-graphic.is-intro-play,
    .logo-graphic:hover {
        background-size: 528px auto !important;
    }
}

@media (max-width: 480px) {
    .logo-graphic.is-intro-play,
    .logo-graphic:hover {
        background-size: 432px auto !important;
        transform: none !important;
    }
}

@media (max-width: 1200px) {
    html,
    body,
    #scroll-stage,
    .horizontal-scroll-container,
    .page-section {
        scroll-snap-type: none !important;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }

    #payhip-showroom.page-section,
    #payhip-showroom {
        min-height: 100svh !important;
        height: auto !important;
    }

    #payhip-showroom .shell,
    #payhip-showroom .main,
    #payhip-showroom #payhip-grid,
    #payhip-showroom .results {
        min-height: calc(100svh - 8.5rem) !important;
    }

    #payhip-showroom .grid-empty-card,
    #payhip-showroom .empty {
        min-height: 46svh !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
}


