:root {
    --bg: #070707;
    --text: #f4f4f4;
    --accent: #ff2a5f;
    --accent-light: #ff7596;
    --gray: #888888;
    --border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: initial;
    overflow-x: hidden;
    width: 100vw;
    max-width: 100%;
}

/* Disabled for Lenis */
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
    -webkit-font-smoothing: antialiased;
}

/* SELECTION (HIGHLIGHT) STYLES */
::selection {
    background-color: var(--accent);
    color: #fff;
}

::-moz-selection {
    background-color: var(--accent);
    color: #fff;
}

.huge-footer ::selection {
    background-color: #000;
    color: #fff;
}

.huge-footer ::-moz-selection {
    background-color: #000;
    color: #fff;
}

/* CUSTOM CURSOR */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: exclusion;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    background: rgba(255, 42, 95, 0.2);
    border-color: transparent;
}

/* PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 4rem;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent);
    position: relative;
    z-index: 2;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    cursor: pointer;
}

.main-nav {
    display: flex;
    gap: 3rem;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    cursor: none;
}

.nav-toggle {
    display: none;
    font-weight: 600;
    cursor: none;
}

/* HERO */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10rem 4rem 4rem;
    position: relative;
    overflow: hidden;
}

.bg-code {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    z-index: 0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 1.2vw;
    line-height: 1.8;
    color: var(--accent);
    opacity: 0;
    padding: 0;
    pointer-events: none;
    white-space: pre;
    text-align: left;
    -webkit-mask-image: radial-gradient(circle 0px at 0px 0px, black 0%, transparent 0%);
    mask-image: radial-gradient(circle 0px at 0px 0px, black 0%, transparent 0%);
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    flex: 1;
    position: relative;
    z-index: 2; /* Keep above code */
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 8vw, 9rem) !important;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-top: 0.15em;
    margin-top: -0.15em;
}

.hero-title .line-indent {
    padding-left: 15vw;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
}

.hero-title .accent {
    color: var(--accent);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 4rem;
}

.hero-info p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-info .label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 400;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 1px solid var(--text);
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: var(--text);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* MARQUEE */
.marquee-wrapper {
    padding: 4rem 0;
    overflow: hidden;
    white-space: nowrap;
    background: var(--accent);
    color: #000;
    transform: rotate(-2deg) scale(1.05);
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    padding-right: 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* SERVICES SECTION */
.services-section {
    padding: 10rem 4rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.services-container {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
}

.services-intro {
    width: 35%;
    position: sticky;
    top: 15vh;
    align-self: flex-start;
}

.services-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 6vw, 7rem);
    line-height: 0.85;
    margin-bottom: 2rem;
}

.services-title span {
    color: var(--accent);
}

.services-intro p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 360px;
}

.services-grid {
    width: 65%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.service-item {
    background: #111;
    border: 1px solid var(--border);
    padding: 3rem;
    position: relative;
    transition: background 0.3s, border-color 0.3s;
}

.service-item:hover {
    background: #1a1a1a;
    border-color: rgba(255, 42, 95, 0.4);
}

.svc-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--border);
    display: block;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-item p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
}

/* STACK SECTION (Sticky) */
.stack-section {
    padding: 10rem 4rem;
    background: #000;
}

.stack-container {
    display: flex;
    gap: 4rem;
}

.stack-left {
    width: 40%;
    position: sticky;
    top: 15vh;
    align-self: flex-start;
}

.sticky-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 6vw, 7rem);
    line-height: 0.85;
    margin-bottom: 1rem;
}

.sticky-title span {
    color: var(--accent);
}

.stack-left p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 400px;
    margin-top: 2rem;
}

.stack-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.stack-card {
    background: #111;
    border: 1px solid var(--border);
    padding: 4rem;
    position: relative;
    transition: background 0.4s, border-color 0.4s;
    border-radius: 0;
    /* Sharp pixel */
}

.stack-card:hover {
    background: #1a1a1a;
    border-color: var(--accent-light);
}

.card-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--border);
    position: absolute;
    top: 2rem;
    right: 3rem;
}

.stack-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.stack-card p {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.6;
}

/* HORIZONTAL PROJECTS */
.horizontal-section {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.projects-header {
    padding-left: 4rem;
    padding-top: 8rem;
    margin-bottom: 2rem;
}

.projects-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 6vw, 7rem);
    line-height: 0.85;
    margin-bottom: 1rem;
}

.projects-header h2 span {
    color: var(--accent);
    text-transform: uppercase;
}

.projects-header p {
    font-size: 1.2rem;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.horizontal-wrapper {
    display: flex;
    flex: 1;
    width: max-content;
    padding-left: 4rem;
    align-items: center;
    flex-wrap: nowrap;
}

.horiz-item {
    height: 75%;
    margin-right: 6rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.proj-item {
    width: 800px;
    cursor: none;
}

.proj-img-wrap {
    width: 100%;
    height: 80%;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 0;
}

.proj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s, transform 0.5s;
    image-rendering: crisp-edges;
}

.proj-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.proj-meta h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.proj-meta span {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* RESUME / EXPERIENCES */
.resume-section {
    padding: 10rem 4rem;
    background: #000;
    border-top: 1px solid var(--border);
}

.resume-section .hero-title h2 {
    font-size: clamp(4rem, 6vw, 7rem) !important;
    hyphens: auto;
    overflow-wrap: break-word;
}

.resume-header h2 {
    font-family: var(--font-heading);
    margin-bottom: 6rem;
    text-align: center;
}

.resume-list {
    max-width: 1400px;
    margin: 0 auto;
}

.resume-row {
    display: flex;
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    transition: background 0.3s;
}

.resume-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.res-col {
    padding: 0 2rem;
}

.res-date {
    width: 25%;
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
}

.res-role {
    width: 35%;
}

.res-role h3 {
    font-size: 2rem;
    font-weight: 400;
}

.res-desc {
    width: 40%;
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* HUGE FOOTER CTA */
.huge-footer {
    padding: 10rem 4rem 2rem;
    background: linear-gradient(135deg, #ff2a5f, #ff7596);
    color: #000;
    text-align: center;
}

.footer-cta h2,
.resume-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 6vw, 7rem) !important;
    line-height: 0.85;
    cursor: pointer;
    transition: color 0.3s;
}

.footer-cta:hover h2 {
    color: #fff;
}

.footer-form-wrapper {
    max-width: 800px;
    margin: 6rem auto;
    text-align: left;
}

/* NATIVE CF7 STYLING - AWWWARDS SHARP PIXEL */
.wpcf7 form {
    max-width: 800px;
    margin: 0 auto;
}
.wpcf7 form label {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
}
.wpcf7 form .wpcf7-form-control-wrap {
    width: 100%;
    margin-top: 0.5rem;
}
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form textarea {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2) !important;
    padding: 0.5rem 0 1rem !important;
    font-size: 1.5rem !important;
    color: #000 !important;
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    border-radius: 0 !important;
    transition: border-color 0.3s ease !important;
}
.wpcf7 form input[type="text"]::placeholder,
.wpcf7 form input[type="email"]::placeholder,
.wpcf7 form textarea::placeholder {
    color: #000 !important;
    opacity: 1 !important;
}
.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form textarea:focus {
    outline: none !important;
    border-bottom: 2px solid #000 !important;
}
.wpcf7 form textarea {
    height: 120px !important;
    resize: none !important;
    padding-top: 1rem !important;
}

/* CF7 Submit Button Override */
.wpcf7 form input[type="submit"] {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    padding: 1.5rem 4rem !important;
    font-size: 1.2rem !important;
    font-family: var(--font-heading) !important;
    border-radius: 0 !important;
    cursor: none !important;
    text-transform: uppercase !important;
    margin-top: 2rem !important;
    transition: all 0.4s ease !important;
    display: inline-block !important;
    width: auto !important;
    -webkit-appearance: none;
}

.wpcf7 form input[type="submit"]:hover {
    background: transparent !important;
    color: #000 !important;
}

div.wpcf7 .ajax-loader {
    display: none;
}

/* CF7 Custom Response Messages */
div.wpcf7-response-output {
    margin-top: 3rem !important;
    font-family: var(--font-heading) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    padding: 2rem !important;
    text-transform: uppercase !important;
    border: none !important;
}

/* Success Message */
.wpcf7 form.sent .wpcf7-response-output,
div.wpcf7-mail-sent-ok {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-left: 8px solid #fff !important;
}

/* Error/Validation Messages */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ng {
    background: transparent !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    border-left: 8px solid #000 !important;
}

/* Individual field validation errors */
span.wpcf7-not-valid-tip {
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    color: #000 !important;
    font-weight: 700 !important;
    margin-top: 0.5rem !important;
    display: inline-block !important;
    background: #fff !important;
    padding: 0.5rem 1rem !important;
    border: 1px solid #000 !important;
    text-transform: uppercase !important;
}

/* MAGNETIC SUBMIT BUTTON RESTORE */
.submit-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    border-radius: 0;
    cursor: none;
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
    display: inline-block;
}

.btn-text {
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    transition: color 0.4s;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateY(100%);
    transition: transform 0.4s;
    z-index: 1;
}

.submit-btn:hover .btn-bg {
    transform: translateY(0);
}

.submit-btn:hover .btn-text {
    color: #000;
}

.footer-bottom {
    margin-top: 8rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    font-weight: 600;
}

.socials a {
    color: #000;
    text-decoration: none;
    margin-left: 2rem;
    text-transform: uppercase;
    cursor: none;
}

/* MOBILE MENU FIX DESKTOP */
.mobile-menu {
    display: none;
}

/* MODALS */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none;
    opacity: 0;
    justify-content: center;
    align-items: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 2001;
    background: #111;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.modal-img {
    width: 100%;
    height: 60%;
    background: #000;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.modal-info {
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.modal-info p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.modal-tech {
    font-size: 1.1rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    color: #fff;
}

.modal-visit-btn {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.2rem;
    transition: color 0.3s, border-color 0.3s;
}

.modal-visit-btn:hover {
    color: #fff;
    border-color: #fff;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    color: #fff;
    z-index: 9990;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    transform: translateY(100%);
    font-family: var(--font-body);
    cursor: none;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    max-width: 600px;
    cursor: none;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    border-radius: 0;
}

.btn-accept {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.btn-accept:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.btn-reject:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 1024px) {
    .stack-container {
        flex-direction: column;
    }

    .stack-left {
        width: 100%;
        position: relative;
        top: 0;
        align-self: auto;
    }
    
    .stack-right {
        width: 100%;
    }

    .stack-left p {
        margin-bottom: 3rem;
    }

    .resume-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .res-col {
        width: 100%;
        padding: 0;
    }

    .site-header {
        padding: 2rem;
    }

    .projects-header h2 {
        font-size: clamp(4rem, 6vw, 7rem);
    }

    .proj-item {
        width: 60vw;
    }
}

@media (max-width: 768px) {

    .services-section {
        padding: 6rem 1.5rem;
    }

    .services-container {
        flex-direction: column;
        gap: 3rem;
    }

    .services-intro {
        width: 100%;
        position: static;
    }

    .services-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    /* Hide custom cursor */
    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body,
    * {
        cursor: auto !important;
    }

    .site-header {
        padding: 1.5rem;
    }

    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    /* MOBILE MENU OVERLAY */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #000;
        z-index: 90;
        display: none;
        opacity: 0;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .mobile-link {
        font-family: var(--font-heading);
        font-size: clamp(2rem, 9vw, 3.5rem);
        color: #fff;
        text-transform: uppercase;
        text-decoration: none;
        line-height: 0.95;
        transition: color 0.3s;
        word-break: break-word;
        white-space: normal;
    }

    .mobile-link:active {
        color: var(--accent);
    }

    .mobile-footer {
        position: absolute;
        bottom: 2rem;
        left: 2rem;
        right: 2rem;
        display: flex;
        justify-content: space-between;
        font-size: 1rem;
        color: var(--gray);
        border-top: 1px solid var(--border);
        padding-top: 1rem;
    }

    .mobile-footer a {
        color: #fff;
        text-decoration: none;
    }

    .hero-section {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 11vw;
        line-height: 1;
    }

    .hero-bottom {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .scroll-indicator {
        align-items: flex-start;
        flex-direction: row;
    }

    .bg-code {
        display: none !important;
    }

    .mouse {
        display: none;
    }

    /* Hide mouse icon on touch */

    .stack-section {
        padding: 6rem 1.5rem;
    }

    .stack-card {
        padding: 2.5rem;
    }

    .card-num {
        font-size: 2.5rem;
        top: 1.5rem;
        right: 2rem;
    }

    .sticky-title,
    .services-title,
    .resume-section .hero-title h2,
    .footer-cta h2 {
        font-size: 12vw !important;
    }

    /* Reset Horizontal Scroll for Vertical Mobile View */
    .horizontal-section {
        height: auto;
        padding: 6rem 0;
        overflow-y: hidden;
    }

    .projects-header {
        padding: 0 1.5rem;
        margin-bottom: 3rem;
        padding-top: 0;
    }

    .projects-header h2 {
        font-size: 12vw;
    }

    .horizontal-wrapper {
        height: auto;
        width: 100vw;
        flex-direction: column;
        padding-left: 0;
        align-items: stretch;
        padding-top: 0;
    }

    .horiz-item {
        height: auto;
        margin-right: 0;
        padding: 0 1.5rem;
        margin-bottom: 4rem;
        width: 100%;
    }

    .proj-img-wrap {
        height: 60vw;
    }

    .proj-item {
        width: 100%;
    }

    .resume-section {
        padding: 6rem 1.5rem;
    }

    .resume-header h2 {
        margin-bottom: 3rem;
        text-align: left;
    }

    .resume-row {
        padding: 2.5rem 0;
    }

    .huge-footer {
        padding: 6rem 1.5rem 2rem;
    }


    .form-group input,
    .form-group textarea {
        font-size: 1.2rem;
    }

    .submit-btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
        margin-top: 4rem;
    }

    .socials a {
        margin-left: 0;
        margin-right: 2rem;
    }

    /* Mobile Modals */
    .modal-content {
        height: 90vh;
    }

    .modal-img {
        height: 40%;
    }

    .modal-info {
        padding: 2rem;
    }

    .modal-info h2 {
        font-size: 2rem;
    }

    /* Fix Mobile Skew Overflow */
    .marquee-wrapper {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }

    /* Cookie Banner Mobile */
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}