* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        /* For Chrome, Edge, and Safari */
        ::-webkit-scrollbar {
            width: 8px; /* Makes the scrollbar thinner */
        }

        ::-webkit-scrollbar-track {
            background: #1a1f1d; /* Dark background for the track */
        }

        ::-webkit-scrollbar-thumb {
            background: #3a4440; /* Darker color for the draggable bar */
            border-radius: 4px;  /* Smooth rounded edges */
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #4e5a55; /* Slightly lighter when hovering over it */
        }

        /* For Firefox */
        html {
            scrollbar-width: thin;
            scrollbar-color: #3a4440 #1a1f1d; /* thumb color and track color */
            scroll-behavior: smooth;
        }

        html, body {
            width: 100vw;
            min-height: 100vh;
            overflow-x: hidden;
            background-color: #232927;
            background-image: 
                radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 70%),
                linear-gradient(110deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.01) 100%),
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.008) 2px, rgba(255, 255, 255, 0.008) 4px);
            background-attachment: fixed; /* Locks the background gradients in place */
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            color: #e0e0e0;
        }

        body::before {
            content: "";
            position: fixed; /* Locked to the viewport so the haze/vignette never scrolls */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.3) 100%),
                        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
            background-size: 100% 100%, 60px 60px;
            pointer-events: none;
            opacity: 0.6;
            z-index: 0;
        }

        /* Create a scrolling spacer so the page still scrolls to the correct height */
        body {
            position: relative;
            padding-top: 100vh; 
        }

        img {
            content-visibility: auto;
            image-rendering: -webkit-optimize-contrast;
        }

        .covers-scroll-container,
        .portfolio-grid,
        .cover-card,
        .portfolio-card {
            transform: translateZ(0);
            will-change: transform;
        }

        /* The sliding container that scrolls over top of the fixed hero */
        .main-content-wrapper {
            position: relative;
            z-index: 2;
        }

        /* Fixed Hero Section (Curtain Effect) */
        .hero-section {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            height: 100dvh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1;
            -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 100%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 100%, rgba(0,0,0,0) 100%);
        }

        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 40px;
            z-index: 1;
            position: relative;
            width: 90%;
            max-width: 500px;
        }

        .logo-wrapper {
            cursor: default;
            display: inline-block;
            position: relative;
        }

        .logo-wrapper img {
            width: 100%;
            max-width: 380px;
            height: auto;
            filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
            transition: transform 0.1s ease;
        }

        .speech-bubble {
            position: absolute;
            top: -60px;       
            left: 350px;
            transform: scale(0.8);
            background: #ffffff;
            color: #000000;
            padding: 12px 20px; 
            border-radius: 20px;
            font-weight: 800;
            font-size: 1.05rem; 
            letter-spacing: 0.5px;
            text-transform: uppercase;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 10;
        }

        .speech-bubble::after {
            content: '';
            position: absolute;
            bottom: -22px;
            left: 20%;
            width: 22px;
            height: 32px;
            background: #ffffff;
            clip-path: polygon(0 0, 100% 0, 0 100%);
            transform: rotate(90deg) scaleY(-1);
            z-index: 2;
        }

        .speech-bubble.show {
            opacity: 1;
            transform: scale(1);
        }

        @keyframes shake {
            0% { transform: translate(0, 0) rotate(0deg); }
            20% { transform: translate(-4px, 2px) rotate(-3deg); }
            40% { transform: translate(4px, -2px) rotate(3deg); }
            60% { transform: translate(-3px, 1px) rotate(-2deg); }
            80% { transform: translate(3px, -1px) rotate(1deg); }
            100% { transform: translate(0, 0) rotate(0deg); }
        }

        .shake {
            animation: shake 0.4s ease-in-out;
        }

        .icons-row {
            display: flex;
            gap: 35px;
            align-items: center;
            justify-content: center;
        }

        .icons-row a {
            color: #e0e0e0;
            font-size: 2rem;
            text-decoration: none;
            transition: transform 0.2s ease, color 0.2s ease;
            filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
        }

        .icons-row a:hover {
            color: #ffffff;
            transform: scale(1.1);
        }

        /* Scroll Down Cues */
        .scroll-cue {
            position: absolute;
            bottom: 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            font-size: 0.85rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: color 0.2s ease;
            z-index: 1;
        }

        .scroll-cue:hover {
            color: #ffffff;
        }

        .scroll-cue i {
            margin-top: 6px;
            font-size: 1rem;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(6px); }
            60% { transform: translateY(3px); }
        }

        .icon-model-group {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            width: 100%;
            margin: auto;
            padding: 30px 0 0 0;
        }

        .icon-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .icon-item i {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #ffffff;
        }

        .icon-item span {
            font-size: 1rem;
            font-weight: 600;
            color: #cccccc;
            letter-spacing: 0.5px;
        }

        .steps-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            font-family: system-ui, sans-serif;
        }

        .step-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
        }

        .step-dot {
            width: 6px;
            height: 6px;
            background-color: #cbd5e1; /* Slate gray dot */
            border-radius: 50%;
        }

        /* About Section Container */
        .about-section {
            padding: 40px 20px;
            background: transparent;
            color: #ffffff;
            margin: 0 auto 50px auto;
        }

        .about-container {
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 40px;
        }

        /* Left Column: Circular Image */
        .about-image-wrapper {
            flex-shrink: 0;
        }

        .about-profile-img {
            width: 200px;
            height: 200px;
            border-radius: 50%; /* Makes the image a perfect circle */
            object-fit: cover;   /* Ensures the image fills the circle nicely without distortion */
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        }

        /* Right Column: Bio Content */
        .about-text-content {
            flex-grow: 1;
        }

        .about-text-content h2 {
            font-size: 2rem;
            margin-bottom: 15px;
        }

        .about-text-content p {
            font-size: 1.05rem;
            line-height: 1.6;
            color: #cccccc;
        }

        /* Responsive design: Stack vertically on smaller mobile screens */
        @media (max-width: 768px) {
            .about-container {
                flex-direction: column;
                text-align: center;
                gap: 25px;
            }
            
            .about-profile-img {
                width: 180px;
                height: 180px;
            }
        }

        /* Portfolio Section */
        .portfolio-section {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 20px;
        }

        /* Studio Intro Block */
        .studio-intro {
            text-align: center;
            max-width: 750px;
            margin: 0 auto 50px auto;
            padding: 0 20px;
        }

        .studio-intro h2 {
            font-size: 2rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 15px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .studio-intro p {
            color: #b0b0b0;
            font-size: 1.1rem;
            line-height: 1.7;
        }

        .portfolio-header {
            text-align: center;
            margin-bottom: 40px;
            padding-top: 20px;
        }

        .portfolio-header h3 {
            font-size: 1.8rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #ffffff;
            margin-bottom: 10px;
        }

        .portfolio-header p {
            color: #a0a0a0;
            font-size: 1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }

        .portfolio-card {
            background: rgba(0, 0, 0, 0.25);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            overflow: hidden;
            transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            cursor: pointer;
        }

        .portfolio-card:hover {
            transform: translateY(-6px);
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .card-image-container {
            width: 100%;
            height: 240px;
            background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.3) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.3);
            font-size: 3rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            overflow: hidden;
            position: relative;
        }

        .card-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .portfolio-card:hover .card-image-container img {
            transform: scale(1.04);
        }

        .card-content {
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            flex-grow: 1;
        }

        .card-tag {
            align-self: flex-start;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            padding: 4px 10px;
            border-radius: 6px;
        }

        .card-content h4 {
            font-size: 1.4rem;
            font-weight: 700;
            color: #ffffff;
        }

        .card-content p {
            font-size: 0.95rem;
            color: #b0b0b0;
            line-height: 1.5;
            flex-grow: 1;
        }

        /* Enhanced Meta info strip right on the card */
        .card-meta-strip {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: #888888;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 12px;
            margin-top: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .card-meta-strip span {
            color: #d0d0d0;
            font-weight: 600;
        }

        .card-action {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            color: #ffffff;
            font-weight: 600;
            font-size: 0.9rem;
        }

        /* Horizontal Scrolling Covers & Pin-Up Gallery */
        .gallery-container-wrapper {
            position: relative;
            margin-top: 30px;
            display: flex;
            align-items: center;
        }

        .covers-scroll-container {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            padding: 10px 4px 20px 4px;
            width: 100%;
            scrollbar-width: none; 
            -ms-overflow-style: none; 
        }

        .covers-scroll-container::-webkit-scrollbar {
            display: none; 
        }

        .cover-card {
            flex: 0 0 auto;
            width: auto;
            background: transparent;
            border: none;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            scroll-snap-align: start;
            transition: transform 0.3s ease;
        }

        .cover-card:hover {
            transform: translateY(-5px);
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        }

        .cover-placeholder {
            width: 100%;
            height: auto;
            background: transparent;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: visible;
            padding: 0;
        }

        .cover-placeholder .card-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 3;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .cover-placeholder img {
            display: block;
            height: 330px;
            width: auto;
            object-fit: contain;
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
            transition: transform 0.3s ease;
        }

        .cover-card:hover .cover-placeholder img {
            transform: scale(1.03);
        }

        .cover-placeholder span {
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        /* Scroll Nav Buttons */
        .scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-60%);
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            cursor: pointer;
            z-index: 10;
            transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
            backdrop-filter: blur(4px);
        }

        .scroll-btn:hover {
            background: rgba(0, 0, 0, 0.9);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-60%) scale(1.05);
        }

        .scroll-btn.prev {
            left: -22px;
        }

        .scroll-btn.next {
            right: -22px;
        }

        @media (max-width: 768px) {
            .scroll-btn {
                display: none; 
            }
        }

        /* Lightbox Modal Overlay */
        .lightbox-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.88);
            backdrop-filter: blur(8px);
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            padding: 20px;
        }

        .lightbox-modal.active {
            opacity: 1;
            pointer-events: auto;
        }

        .lightbox-content {
            position: relative;
            background: #1a1a1a;
            border-radius: 12px;
            width: 90%;
            max-width: 650px;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .lightbox-modal.cover-mode .lightbox-content {
            overflow: visible;
            max-height: none;
            background: transparent;
            border: none;
            box-shadow: none;
            width: auto;
            max-width: none;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-modal.active .lightbox-content {
            transform: scale(1);
        }

        .lightbox-close {
            position: absolute;
            top: 5px; /* Default for projects */
            right: 8px;
            background: rgba(0, 0, 0, 0.6);
            border: none;
            color: #ffffff;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 20;
            transition: background 0.2s ease, transform 0.2s ease;
        }

        /* When the lightbox is in cover-mode, shift the close button down */
        .lightbox-modal.cover-mode .lightbox-close {
            top: 50px;
            right: 20px;
        }

        .lightbox-close:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: rotate(90deg);
        }

        .lightbox-image-container {
            width: 100%;
            height: 380px;
            max-height: 100dvh;
            background: #181d1b;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .lightbox-bg-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: blur(12px) brightness(0.5);
            transform: scale(1.1); /* Prevents blur edge artifacts */
            z-index: 1;
        }

        .lightbox-image-container img.lightbox-main-img {
            position: relative;
            z-index: 2;
            max-height: 100%;
            max-width: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        }

        .lightbox-image-container i {
            font-size: 5rem;
            color: rgba(255, 255, 255, 0.3);
            position: relative;
            z-index: 2;
        }

        /* Cover Mode Styling (Uncropped, Full Vertical Cover View) */
        .lightbox-modal.cover-mode .lightbox-content {
            width: auto;
            max-width: 90vw;
            background: transparent;
            border: none;
            box-shadow: none;
        }

        .lightbox-modal.cover-mode .lightbox-image-container {
            height: auto;
            max-height: 88vh;
            background: transparent;
            overflow: visible;
        }

        .lightbox-modal.cover-mode .lightbox-main-img {
            max-height: 88vh !important;
            object-fit: contain !important;
            border-radius: 12px;
        }

        .lightbox-modal.cover-mode .lightbox-body {
            display: none !important;
        }

        /* Enhanced Lightbox Case File Layout */
        .lightbox-body {
            padding: 30px;
            text-align: left;
            display: flex;
            flex-direction: column;
            gap: 0px;
        }

        .lightbox-body h3 {
            font-size: 1.6rem;
            color: #ffffff;
            margin-bottom: 0;
        }

        .lightbox-meta-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            margin: 0px 0 8px 0;
            padding: 10px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .lightbox-meta-item {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .lightbox-meta-item strong {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #888888;
        }

        .lightbox-meta-item span {
            font-size: 0.9rem;
            font-weight: 600;
            color: #ffffff;
        }

        .lightbox-synopsis p {
            color: #b0b0b0;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        /* Lightbox Navigation Chevrons */
        .lightbox-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: none; /* Hidden by default, shown only in cover-mode */
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            cursor: pointer;
            z-index: 30;
            transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
            backdrop-filter: blur(4px);
        }

        .lightbox-nav-btn:hover {
            background: rgba(0, 0, 0, 0.9);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-50%) scale(1.05);
        }

        .lightbox-nav-btn.prev {
            left: 20px;
        }

        .lightbox-nav-btn.next {
            right: 20px;
        }

        /* Show nav chevrons specifically when gallery cover-mode is active */
        .lightbox-modal.cover-mode .lightbox-nav-btn {
            display: flex;
        }

        .swipe-hint {
            display: none;
            text-align: center;
            margin-top: 15px;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Footer */
        .site-footer {
            text-align: center;
            padding: 40px 20px;
            color: #707070;
            font-size: 0.85rem;
            margin-top: 70px;
        }

        /* Sleek Minimalist Comic Contact Section */
        .comic-contact-section {
            position: relative;
            z-index: 1;
            max-width: 600px;
            margin: 70px auto 0 auto;
            padding: 40px 20px;
            background: transparent;

            text-align: center;
        }

        .comic-contact-section h3 {
            font-size: 1.8rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .comic-contact-section p {
            color: #a0a0a0;
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 25px;
            max-width: 480px;
            margin-left: auto;
            margin-right: auto;
        }

        .comic-email-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.08);
            color: #ffffff;
            padding: 10px 22px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            border: 1px solid rgba(255, 255, 255, 0.15);
            transition: all 0.2s ease;
        }

        .comic-email-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        .comic-contact-section .icons-row {
            margin-top: 25px;
            gap: 25px;
        }

        .comic-contact-section .icons-row a {
            font-size: 1.3rem; 
        }

        .scroll-top-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            cursor: pointer;
            z-index: 999;
            opacity: 0;
            pointer-events: none;
            transform: translateY(20px);
            transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
            backdrop-filter: blur(4px);
        }

        .scroll-top-btn.show {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        .scroll-top-btn:hover {
            background: rgba(0, 0, 0, 0.9);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-3px);
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .hero-section {
                height: 100vh;
                height: 100dvh;
            }
            
            .scroll-cue {
                bottom: 40px;
            }

            .container {
                gap: 25px;
                width: 85%;
            }

            .logo-wrapper img {
                max-width: 260px;
            }

            .speech-bubble {
                top: -85px;
                left: 10%;
                transform: translateX(-50%) scale(0.75);
                font-size: 0.9rem;
                padding: 10px 16px;
            }

            .speech-bubble.show {
                transform: translateX(-50%) scale(1);
            }

            .speech-bubble::after {
                bottom: -22px;
                left: 50%;
                transform: translateX(-50%) rotate(90deg);
            }

            .icons-row {
                gap: 25px;
            }

            .icons-row a {
                font-size: 1.6rem;
            }

            .portfolio-section {
                padding: 60px 16px;
            }

            .swipe-hint {
                display: block;
            }

            .cover-card {
                flex: 0 0 calc(50% - 10px);
                max-width: calc(50% - 10px);
            }

            .cover-placeholder img {
                width: 100%;
                height: auto;
                object-fit: contain;
            }
            .lightbox-modal.cover-mode .lightbox-close {
                top: 0px;
                right: 0px;
                width: 50px;
                height: 50px;
                font-size: 2.0rem;
            }
            .card-image-container {
            height: 140px;
            }
        }