/* --- ULTRA PREMIUM DESIGN SYSTEM --- */
:root {
    /* Brand Colors */
    --clr-teal: #009AA6;
    --clr-orange: #F07D00;
    
    /* Backgrounds */
    --clr-bg: #09090b; /* Zinc 950 - Extremely dark, sleek */
    --clr-bg-card: rgba(255, 255, 255, 0.03);
    --clr-border: rgba(255, 255, 255, 0.08);
    
    /* Text */
    --clr-text: #fafafa;
    --clr-text-muted: #a1a1aa;
    
    /* Typography */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Utilities */
    --container-w: 1400px;
}

/* --- RESET & SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none; /* Hide default cursor for custom follower */
}

/* Custom Cursor */
.cursor {
    width: 6px;
    height: 6px;
    background-color: var(--clr-teal);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}
.cursor-follower {
    position: fixed;
    top: 0; left: 0;
    width: 34px;
    height: 34px;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.cursor-follower svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--clr-teal);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.1s ease;
}
.cursor-follower svg .cork {
    fill: var(--clr-teal);
    stroke: none;
}

.text-teal { color: var(--clr-teal); }
.text-orange { color: var(--clr-orange); }

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 30px 0;
    z-index: 100;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    padding: 15px 0;
    background: rgba(9, 9, 11, 0.85); /* Dark frosted glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--clr-border);
}
.nav-container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 45px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-links a {
    color: var(--clr-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hover Underline Animation */
.hover-underline {
    position: relative;
}
.hover-underline::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -4px; left: 0;
    background-color: var(--clr-teal);
    transition: width 0.3s ease;
}
.hover-underline:hover::after {
    width: 100%;
}

@property --border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.btn-contact {
    position: relative;
    padding: 10px 24px;
    border-radius: 50px;
    background: transparent;
    border: none;
    display: inline-flex;
    text-decoration: none;
}
.btn-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px; /* Border thickness */
    background: conic-gradient(from var(--border-angle), transparent 0%, rgba(0, 154, 166, 0.9) 10%, rgba(240, 125, 0, 0.9) 20%, transparent 30%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin-border 6s linear infinite;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(0, 154, 166, 0.3)); /* Adds a slight external glow */
}
.btn-contact span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    color: var(--clr-text);
}
.btn-contact:hover span {
    color: var(--clr-orange);
}

@keyframes spin-border {
    to { --border-angle: 360deg; }
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 0;
    padding-top: 180px; /* Accounts for navbar to visually center content */
}
.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}
.hero-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 11, 0.85); /* Dark overlay */
    z-index: 1;
}
.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 0;
}
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}
.orb-1 {
    width: 600px; height: 600px;
    background: var(--clr-teal);
    top: -100px; right: -100px;
    animation: float 20s ease-in-out infinite;
}
.orb-2 {
    width: 500px; height: 500px;
    background: var(--clr-orange);
    bottom: -100px; left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 50px); }
    100% { transform: translate(0, 0); }
}

.hero-content {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 40px 0 8vw; /* Pushed slightly right for a more centered look */
    width: 100%;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -2px;
}
.line-mask {
    overflow: hidden; /* For GSAP text reveal */
    padding-bottom: 10px;
}
.line-inner {
    display: inline-block;
    /* Removed transform: translateY(110%) to prevent conflict with GSAP fromTo */
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 60px;
}
.hero-subtitle {
    max-width: 400px;
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}
.scroll-line {
    width: 1px; height: 80px;
    background: linear-gradient(to bottom, var(--clr-teal), transparent);
    animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- SECTION SHARED --- */
.section {
    padding: 80px 0;
}
.section-title {
    font-family: var(--font-display);
    font-size: 4rem;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

/* --- BENTO GRID (SERVICES) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px;
    gap: 20px;
}
.bento-item {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}
.bento-item:hover {
    transform: scale(0.98);
    border-color: var(--clr-teal);
}
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}
.bento-wide {
    grid-column: span 2;
}
.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1f; /* Fallback placeholder while image loads */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}
.bento-item:hover .bento-bg {
    transform: scale(1.05);
}
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.4) 50%, rgba(9, 9, 11, 0) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}
.bento-item:hover .bento-overlay {
    background: linear-gradient(to top, rgba(9, 9, 11, 0.98) 0%, rgba(9, 9, 11, 0.8) 100%);
}
.bento-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    z-index: 2;
}
.bento-item h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.bento-large h3 {
    font-size: 2.5rem;
}
.bento-item p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 80%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}
.bento-item:hover p {
    -webkit-line-clamp: unset;
    color: var(--clr-text);
}
.icon-arrow {
    position: absolute;
    top: 40px; right: 40px;
    font-size: 2rem;
    color: var(--clr-teal);
    transition: transform 0.3s;
}
.bento-item:hover .icon-arrow {
    transform: translate(5px, -5px);
}

/* --- PORTFOLIO --- */
.portfolio {
    padding-top: 50px;
}
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 60px 0;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: 100px;
    background: var(--clr-teal);
    color: var(--clr-bg);
}
.marquee-content {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portfolio-list {
    display: flex;
    flex-direction: column;
}
.portfolio-row {
    display: grid;
    grid-template-columns: 100px 1fr 1.5fr;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--clr-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}
.portfolio-num {
    font-size: 1.2rem;
    color: var(--clr-teal);
    font-weight: 700;
    transition: color 0.4s ease;
}
.portfolio-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    transition: color 0.4s ease;
}
.portfolio-desc {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 80%;
    transition: opacity 0.4s ease;
}
.portfolio-hover-img {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%) scale(0.8) rotate(-5deg);
    width: 320px;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.portfolio-row:hover {
    padding-left: 30px;
    background: rgba(255, 255, 255, 0.02);
}
.portfolio-row:hover .portfolio-title,
.portfolio-row:hover .portfolio-num {
    color: var(--clr-orange);
}
.portfolio-row:hover .portfolio-hover-img {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1) rotate(0deg);
}
.portfolio-image-wrapper {
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.portfolio-image {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- CONTACT --- */
.contact-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 30px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}
.massive-title {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 0.9;
    letter-spacing: -2px;
}
.contact-details {
    list-style: none;
    margin-top: 40px;
    font-size: 1.2rem;
}
.contact-details li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.contact-form .input-group {
    margin-bottom: 30px;
}
.input-group input, .input-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--clr-border);
    padding: 15px 0;
    color: var(--clr-text);
    font-size: 1.2rem;
    font-family: var(--font-body);
}
.input-group input:focus, .input-group select:focus {
    outline: none;
    border-bottom-color: var(--clr-teal);
}
.input-group select option {
    background: var(--clr-bg);
}
.btn-submit {
    background: transparent;
    border: 1px solid var(--clr-teal);
    color: var(--clr-text);
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    width: 100%;
    cursor: none; /* Let custom cursor handle it */
    position: relative;
    overflow: hidden;
}
.btn-submit .btn-bg {
    position: absolute;
    inset: 0;
    background: var(--clr-teal);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 0;
}
.btn-submit .btn-text {
    position: relative;
    z-index: 1;
}
.btn-submit:hover .btn-bg {
    transform: translateY(0);
}

/* --- FOOTER --- */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--clr-border);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}
.footer-brand h2 {
    font-family: var(--font-display);
    font-size: 2rem;
}
.footer-brand span {
    color: var(--clr-teal);
}
.footer-links a {
    color: var(--clr-text-muted);
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--clr-orange);
}
.footer-bottom {
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 200;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-nav-drawer.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--clr-text);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}
.mobile-nav-close:hover {
    background: rgba(240,125,0,0.15);
    border-color: var(--clr-orange);
    color: var(--clr-orange);
}
.mobile-nav-drawer a {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--clr-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}
.mobile-nav-drawer a:hover {
    color: var(--clr-orange);
}
.mobile-nav-contact-btn {
    position: relative;
    padding: 14px 36px !important;
    border-radius: 50px;
    border: 2px solid var(--clr-orange) !important;
    color: var(--clr-orange) !important;
    font-size: 1.2rem !important;
    letter-spacing: 1px;
    font-weight: 700 !important;
    background: rgba(240,125,0,0.08) !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}
.mobile-nav-contact-btn:hover {
    background: var(--clr-orange) !important;
    color: #000 !important;
}

/* ============================================
   TABLET: ≤1024px
   ============================================ */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .nav-container { padding: 0 24px; }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 280px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 8vw, 5rem) !important;
        letter-spacing: -1px;
    }
    .hero-content {
        padding: 0 24px !important;
    }

    .portfolio-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .massive-title {
        font-size: 3.5rem;
    }
}

/* ============================================
   MOBILE: ≤768px — Full Overhaul
   ============================================ */
@media (max-width: 768px) {

    /* --- CURSOR: hide on touch --- */
    .cursor, .cursor-follower { display: none; }
    body { cursor: auto; }
    .btn-submit { cursor: pointer; }

    /* --- CONTAINER --- */
    .container { padding: 0 20px; }
    .nav-container { padding: 0 20px; }

    /* --- NAV: hamburger only --- */
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-nav-drawer { display: flex; }
    .nav { padding: 20px 0; }
    .logo img { height: 36px; }

    /* --- HERO --- */
    .hero {
        height: auto;
        min-height: 100svh;
        padding-top: 80px;
        padding-bottom: 40px;
        justify-content: center;
    }
    .hero-content {
        padding: 0 20px !important;
        width: 100%;
        text-align: left;
    }
    .hero-title {
        font-size: clamp(2.6rem, 10vw, 4rem) !important;
        letter-spacing: -1px;
        line-height: 1 !important;
    }
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-top: 30px;
    }
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    .hero-scroll {
        display: flex;
        align-self: flex-start;
    }
    .scroll-line { height: 40px; }
    .orb-1, .orb-2 {
        width: 200px;
        height: 200px;
    }

    /* --- SECTIONS --- */
    .section { padding: 60px 0 !important; }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
        letter-spacing: -0.5px;
    }

    /* --- BENTO/SERVICES GRID --- */
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }
    .bento-large, .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-item {
        min-height: 260px;
        padding: 28px;
    }
    .bento-item h3 { font-size: 1.5rem; }
    .bento-large h3 { font-size: 1.8rem; }

    /* --- MARQUEE --- */
    .marquee-content { font-size: 3.5rem; }
    .marquee-container { padding: 30px 0; margin-bottom: 50px; }

    /* --- PORTFOLIO ROW (homepage list) --- */
    .portfolio-row {
        grid-template-columns: 1fr;
        padding: 25px 0;
        gap: 8px;
    }
    .portfolio-num { font-size: 1rem; }
    .portfolio-title { font-size: 1.6rem; }
    .portfolio-desc { max-width: 100%; font-size: 0.95rem; }
    .portfolio-hover-img { display: none; }

    /* --- ABOUT SECTION --- */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* --- SERVICE PROCESS GRID --- */
    .service-process-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* --- CONTACT CARD --- */
    .contact-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
        border-radius: 20px;
    }
    .massive-title {
        font-size: 3rem;
        letter-spacing: -1px;
    }
    .contact-details { font-size: 1rem; }
    .contact-form form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    .input-group input,
    .input-group select {
        font-size: 1rem;
        padding: 12px 0;
    }

    /* --- FOOTER --- */
    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .footer-top > div {
        padding-bottom: 24px;
        border-bottom: 1px solid var(--clr-border);
    }
    .footer-top > div:last-child {
        border-bottom: none;
    }
    .footer-bottom {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
    .social-links {
        justify-content: flex-start;
    }
}

/* ============================================
   SMALL PHONES: ≤430px
   ============================================ */
@media (max-width: 430px) {
    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3rem) !important;
    }
    .section-title { font-size: 1.9rem; }
    .massive-title { font-size: 2.5rem; }
    .bento-item { min-height: 220px; }
}

/* --- PREMIUM BANNER --- */
.banner-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.banner-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(0, 154, 166, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.banner-content {
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .banner-card {
        padding: 60px 24px;
        border-radius: 20px;
        backdrop-filter: none; /* Mobile GPU fix */
    }
    .nav.scrolled {
        backdrop-filter: none; /* Mobile GPU fix */
        background: rgba(9, 9, 11, 0.98);
    }
    .cursor, .cursor-follower {
        display: none !important; /* Hide custom cursor completely on mobile */
    }
    html, body {
        cursor: auto !important; /* Restore default touch handling */
    }
    /* Prevent GSAP flash of invisible content on mobile */
    .reveal-up, .line-inner, .line-mask .line-inner {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* ============================================
   MOBILE FIX: Prevent Bento Card Expansion
   ============================================ */
@media (max-width: 768px) {
    .bento-item:hover, .bento-item:active, .bento-item:focus {
        transform: none !important;
        border-color: var(--clr-border) !important;
    }
    .bento-item:hover .bento-bg, .bento-item:active .bento-bg, .bento-item:focus .bento-bg {
        transform: none !important;
    }
    .bento-item:hover .bento-overlay, .bento-item:active .bento-overlay, .bento-item:focus .bento-overlay {
        background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.4) 50%, rgba(9, 9, 11, 0) 100%) !important;
    }
    .bento-item:hover p, .bento-item:active p, .bento-item:focus p {
        -webkit-line-clamp: 2 !important;
        color: var(--clr-text-muted) !important;
    }
    .bento-item:hover .icon-arrow, .bento-item:active .icon-arrow, .bento-item:focus .icon-arrow {
        transform: none !important;
    }
}
