/* =====================================================
   DESIGN TOKENS — single palette shared by every section
   so backgrounds flow into each other with no visible seams.
===================================================== */

:root {
    --bg: #F6F4EF;
    /* one warm off-white used across hero / services / showcase / carousel */
    --bg-alt: #ECE8DE;
    --card: #ffffff;
    --ink: #14120F;
    --text: #14120F;
    --text-muted: rgba(20, 18, 15, .45);
    --line: #E2DED4;
    --border: #E2DED4;
    --accent: #d1190c;
    --shadow-hover: 0 30px 70px rgba(20, 18, 15, .16);
}

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

html,
body {
    width: 100%;
    min-height: 100%;
    background: var(--bg);
}

body {
    color: var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}


/* ================= NAVIGATION ================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}
a{
    outline: none;
    text-decoration: none;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    width: 64px;
    height: 64px;
    background: #111;
    border-radius: 9px;
    overflow: hidden;
    cursor: pointer;
    transition: .3s ease;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo.red-logo {
    background: var(--accent);
}

.nav-loc {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--text-muted);
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #EFECE5;
    border-radius: 100px;
}

.nav-pill {
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    cursor: pointer;
    transition: .3s ease;
}

.nav-pill.active {
    background: #111;
    color: #fff;
}

.nav-pill:hover {
    background: var(--accent);
    color: #fff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 500;
}

.icon {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s ease;
}

.icon:hover {
    background: #111;
    color: #fff;
}


/* ================= HERO ================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg);
}


/* ================= SMALL TEXT ================= */

.eyebrow {
    position: absolute;
    top: 100px;
    z-index: 30;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3em;
    color: var(--text-muted);
    text-transform: uppercase;
}


/* ================= MAIN HEADING ================= */

.headline-wrap {
    position: absolute;
    top: 133px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 25;
    text-align: center;
}

.headline {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 14px;
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 8.2vw, 8rem);
    line-height: .88;
    text-transform: uppercase;
    white-space: nowrap;
    transform: rotate(-1.2deg);
}

.red-word {
    color: var(--accent);
    display: inline-block;
}

.black-word {
    color: var(--ink);
    display: inline-block;
}

.sub {
    max-width: 560px;
    margin: 20px auto 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}


/* ================= CARDS ================= */

.cards-area {
    position: absolute;
    top: 295px;
    left: 0;
    width: 100%;
    height: 385px;
    overflow: hidden;
    z-index: 8;
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 7%,
            black 93%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 7%,
            black 93%,
            transparent 100%);
}

.cards-track {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    width: max-content;
    will-change: transform;
}


/* ================= PROJECT CARD ================= */

.project-card {
    width: 270px;
    height: 350px;
    flex: 0 0 auto;
    padding: 9px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(226, 222, 212, .8);
    border-radius: 28px;
    box-shadow: 0 25px 55px -30px rgba(20, 18, 15, .35);
    cursor: pointer;
    overflow: hidden;
    transition:
        transform .5s ease,
        box-shadow .5s ease;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 65px -25px rgba(20, 18, 15, .45);
}

.project-screen {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
}

.project-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.project-card:hover .project-screen img {
    transform: scale(1.08);
}


/* ================= PORTRAIT ================= */

.portrait {
    position: absolute;
    top: 230px;
    left: 50%;
    transform: translateX(-50%);
    width: 410px;
    z-index: 20;
    pointer-events: none;
    filter: drop-shadow(0 25px 30px rgba(20, 18, 15, .20));
    animation: girlFloat 3s ease-in-out infinite;
}

.portrait img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes girlFloat {

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

    50% {
        transform: translateX(-50%) translateY(-7px);
    }

}


/* ================= SCROLL CUE ================= */

.scroll-cue {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .25em;
    color: var(--text-muted);
}

.scroll-cue i {
    width: 1px;
    height: 26px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-cue i::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        top: -100%;
    }

    60% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}


/* ================= RESPONSIVE — HERO ================= */

@media(max-width:1000px) {

    .nav {
        padding: 0 25px;
    }

    .nav-right span:first-child {
        display: none;
    }

    .headline {
        font-size: 9vw;
    }

    .cards-area {
        top: 300px;
    }

    .project-card {
        width: 230px;
        height: 320px;
    }

    .portrait {
        width: 350px;
        top: 220px;
    }

}


@media(max-width:600px) {

    .nav {
        height: 70px;
        padding: 0 18px;
    }

    .logo {
        width: 48px;
        height: 48px;
    }

    .nav-left {
        gap: 15px;
    }

    .nav-center {
        display: none;
    }

    .nav-loc {
        font-size: 9px;
    }

    .nav-right {
        gap: 6px;
    }

    .icon {
        width: 32px;
        height: 32px;
    }

    .eyebrow {
        top: 105px;
        font-size: 7px;
        letter-spacing: .16em;
    }

    .headline-wrap {
        top: 120px;
    }

    .headline {
        font-size: 15vw;
        gap: 7px;
    }

    .sub {
        width: 85%;
        font-size: 11px;
        margin-top: 15px;
    }

    .cards-area {
        top: 270px;
        height: 350px;
    }

    .project-card {
        width: 190px;
        height: 290px;
    }

    .cards-track {
        gap: 28px;
    }

    .portrait {
        top: 205px;
        width: 260px;
    }

    .scroll-cue {
        bottom: 18px;
    }

}

/* ================= SERVICES ================= */

.services-section {
    position: relative;
    background: var(--bg);
    padding: 110px 5vw 70px;
    overflow: visible;
}

.services-intro {
    max-width: 1300px;
    margin: 0 auto 90px;
}

.services-label {
    display: block;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .5px;
}

.services-intro h2 {
    max-width: 1250px;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(42px, 6vw, 90px);
    line-height: .98;
    letter-spacing: -4px;
    font-weight: 500;
    color: var(--ink);
}

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

.service-stack {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    position: sticky;
    top: 80px;
    width: 100%;
    height: 750px;
    margin: 0;
    padding: 55px 65px;
    border-radius: 42px;
    overflow: hidden;
    transform-origin: center top;
    will-change: transform;
}

.service-card:nth-child(1) {
    z-index: 1;
}

.service-card:nth-child(2) {
    z-index: 2;
}

.service-card:nth-child(3) {
    z-index: 3;
}


.service-dark {
    background: #a10e04;
    color: #fff;
}

.service-light {
    background: #070707;
    color: #e7e7e7;
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 90px;
}

.service-number {
    font-size: 15px;
    font-weight: 600;
    opacity: .55;
}

.service-small {
    font-size: 14px;
    letter-spacing: 1.5px;
    opacity: .55;
}

.service-content h3 {
    margin: 0 0 60px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(45px, 9vw, 135px);
    line-height: .82;
    letter-spacing: -6px;
    font-weight: 400;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 55px;
}

.service-tags span {
    padding: 13px 22px;
    border-radius: 50px;
    background: rgba(0, 0, 0, .12);
    font-size: 15px;
}

.service-dark .service-tags span {
    background: rgba(0, 0, 0, .2);
}

.service-content p {
    max-width: 850px;
    margin: 0;
    font-size: 21px;
    line-height: 1.45;
    opacity: .8;
}


.service-dark .service-content p {
    color: #fff;
}


.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 28px;

    padding: 14px 24px;

    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50px;

    background: transparent;
    color: inherit;

    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    transition:
        transform .4s ease,
        background .4s ease,
        color .4s ease;
}

.service-btn:hover {
    background: #fff;
    color: #111;
    transform: translateY(-4px);
}

@media (max-width: 768px) {

    .services-section {
        padding: 90px 20px 50px;
    }

    .services-intro {
        margin-bottom: 60px;
    }

    .services-intro h2 {
        letter-spacing: -2px;
    }

    .service-card {
        top: 30px;
        height: 600px;
        margin: 0;
        padding: 35px 28px;
        border-radius: 28px;
    }

    .service-btn {
        margin-top: 25px;
        padding: 12px 20px;
    }

    .service-top {
        margin-bottom: 65px;
    }

    .service-content h3 {
        font-size: 65px;
        letter-spacing: -3px;
    }

    .service-tags {
        gap: 8px;
    }

    .service-tags span {
        font-size: 13px;
        padding: 10px 15px;
    }

    .service-content p {
        font-size: 17px;
    }
}


/* =====================================================
   WORK SHOWCASE — same base background as hero/services
   so the page reads as one continuous surface.
===================================================== */

.portfolio-showcase * ,
.portfolio-showcase *::before,
.portfolio-showcase *::after {
    box-sizing: border-box;
}

.portfolio-showcase {
    position: relative;
    background: var(--bg);
    padding: 40px 40px 60px;
    overflow: hidden;
}

.portfolio-showcase__inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.showcase-label {
    max-width: 1280px;
    margin: 0 auto 34px;
    text-align: left;
}

.portfolio-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.portfolio-showcase__card {
    position: relative;
    width: 100%;
    aspect-ratio: 390 / 230;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform;
    opacity: 0;
    box-shadow: 0 20px 45px -25px rgba(20, 18, 15, .35);
    border: 1px solid var(--border);
}

.portfolio-showcase__card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: var(--card);
    transform-style: preserve-3d;
}

.portfolio-showcase__card--1 .portfolio-showcase__card-inner {
    background: var(--card);
}

.portfolio-showcase__card--1 .portfolio-showcase__card-image {
    position: absolute;
    
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-showcase__card--1 .portfolio-showcase__card-content {
    justify-content: flex-end;
    align-items: flex-start;
    padding: 28px 24px;
}

.portfolio-showcase__card--1 .portfolio-showcase__card-title {
    color: var(--ink);
    text-shadow: none;
    font-size: 32px;
    letter-spacing: -1px;
}

.portfolio-showcase__card--1 .portfolio-showcase__card-category {
    color: var(--accent);
    text-shadow: none;
}

.portfolio-showcase__card--2 .portfolio-showcase__card-inner {
    background: #f5f0e8;
}

.portfolio-showcase__card--2 .portfolio-showcase__card-image {
    opacity: 0.95;
}

.portfolio-showcase__card--2 .portfolio-showcase__card-content {
    justify-content: flex-start;
    padding: 32px 24px;
}

.portfolio-showcase__card--2 .portfolio-showcase__card-title {
    color: #1a1a1a;
    text-shadow: none;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.portfolio-showcase__card--2 .portfolio-showcase__card-category {
    color: #8a6d5c;
    text-shadow: none;
    margin-bottom: 16px;
}

.portfolio-showcase__card--3 .portfolio-showcase__card-inner {
    background: #2a1f1a;
}

.portfolio-showcase__card--3 .portfolio-showcase__card-title {
    color: #fff;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
}

.portfolio-showcase__card--4 .portfolio-showcase__card-inner {
    background: var(--card);
}

.portfolio-showcase__card--4 .portfolio-showcase__card-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portfolio-showcase__card--4 .portfolio-showcase__card-content {
    justify-content: flex-start;
    padding: 20px 24px;
}

.portfolio-showcase__card--4 .portfolio-showcase__card-title {
    color: var(--ink);
    text-shadow: none;
    font-size: 20px;
}

.portfolio-showcase__card--4 .portfolio-showcase__card-category {
    color: #666;
    text-shadow: none;
}

.portfolio-showcase__card--5 .portfolio-showcase__card-inner {
    background: var(--card);
}

.portfolio-showcase__card--5 .portfolio-showcase__card-content {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.portfolio-showcase__card--5 .portfolio-showcase__card-title {
    color: var(--ink);
    text-shadow: none;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -2px;
}

.portfolio-showcase__card--5 .portfolio-showcase__card-category {
    color: #999;
    text-shadow: none;
    margin-bottom: 12px;
}

.portfolio-showcase__card--6 .portfolio-showcase__card-inner {
    background: linear-gradient(135deg, var(--accent) 0%, #8f0d05 100%);
}

/* .portfolio-showcase__card--6 .portfolio-showcase__card-image {
    opacity: 0.4;
    filter: blur(1px) grayscale(.2);
} */

.portfolio-showcase__card--6 .portfolio-showcase__card-content {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.portfolio-showcase__card--6 .portfolio-showcase__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.portfolio-showcase__card--6 .portfolio-showcase__card-category {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
}

.portfolio-showcase__card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.portfolio-showcase__card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    pointer-events: none;
    transform-style: preserve-3d;
}

.portfolio-showcase__card-category {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-showcase__card-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.portfolio-showcase__card-thumb {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--accent);
    opacity: 0.9;
}

.portfolio-showcase__card-arrows {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 12px;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.portfolio-showcase__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 55px;
    gap: 40px;
}

.portfolio-showcase__footer-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 420px;
    font-weight: 400;
}

.portfolio-showcase__footer-link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

.portfolio-showcase__footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width 0.4s ease;
}

.portfolio-showcase__footer-link:hover::after {
    width: 100%;
}

@media (max-width: 1024px) {
    .portfolio-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portfolio-showcase {
        padding: 30px 20px 50px;
    }

    .portfolio-showcase__grid {
        grid-template-columns: 1fr;
    }

    .portfolio-showcase__footer {
        flex-direction: column;
        gap: 24px;
        margin-top: 35px;
    }

    .portfolio-showcase__card-title {
        font-size: 22px;
    }
}


/* ================= 3D FEATURED CAROUSEL ================= */

.carousel-section {
    background: var(--bg);
    padding: 1.5rem 0 4.5rem;
    overflow: hidden;
    perspective: 1200px;
}

.carousel-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-number {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--ink);
    margin: 0;
}

.carousel-header .section-number {
    align-self: flex-start;
    margin-left: calc((100% - 1400px) / 2 + 4vw);
}

.carousel-stage {
    position: relative;
    width: 100%;
    height: 600px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-card {
    position: absolute;
    width: 380px;
    height: 480px;
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid var(--border);
    cursor: pointer;
}

.carousel-card-inner {
    width: 100%;
    height: 100%;
    background: var(--card);
    display: flex;
    flex-direction: column;
    position: relative;
}

.carousel-card-image {
    width: 100%;
    height: 55%;
    object-fit: contain;
    object-position: center;
    background: #0d0d0d;
    display: block;
}

.carousel-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 26px 28px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border) 100%);
}

.carousel-card-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.carousel-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.carousel-card-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.carousel-card-link {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--ink);
    padding: 12px 22px;
    border-radius: 100px;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all .3s ease;
    align-self: flex-start;
}

.carousel-card:hover .carousel-card-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.carousel-card.active {
    transform: translateX(0) translateZ(0) rotateY(0deg);
    z-index: 5;
    opacity: 1;
}

.carousel-card.prev {
    transform: translateX(-110%) translateZ(-200px) rotateY(25deg);
    z-index: 4;
    opacity: 0.7;
}

.carousel-card.next {
    transform: translateX(110%) translateZ(-200px) rotateY(-25deg);
    z-index: 4;
    opacity: 0.7;
}

.carousel-card.far-prev {
    transform: translateX(-220%) translateZ(-400px) rotateY(45deg);
    z-index: 3;
    opacity: 0.4;
}

.carousel-card.far-next {
    transform: translateX(220%) translateZ(-400px) rotateY(-45deg);
    z-index: 3;
    opacity: 0.4;
}

.carousel-card.hidden {
    opacity: 0;
    pointer-events: none;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.carousel-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--ink);
}

.carousel-btn:hover {
    background: var(--ink);
    color: var(--card);
    transform: scale(1.1);
    border-color: var(--ink);
}


/* ================= SITE FOOTER ================= */

.site-footer {
    background: #000000;
    padding: 90px 40px 70px;
    text-align: center;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(900px, 140%);
    height: 420px;
    background: radial-gradient(circle, rgba(209, 25, 12, 0.16) 0%, rgba(209, 25, 12, 0) 70%);
    transform: translate(-50%, -55%);
    pointer-events: none;
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 56px;
}

.site-footer__email {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

.site-footer__email::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.site-footer__email:hover::after {
    transform: scaleX(1);
}

.site-footer__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-footer__icon svg {
    width: 100%;
    height: 100%;
}

.site-footer__icon--linkedin svg {
    width: 88%;
    height: 88%;
}

.site-footer__icon:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.site-footer__mark {
    line-height: 0;
}

.site-footer__logo {
    width: clamp(150px, 15vw, 196px);
    height: auto;
    display: block;
    transform-origin: center bottom;
    will-change: transform;
}

.site-footer__year {
    margin: 28px 0 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 70px 24px 50px;
    }

    .site-footer__contact {
        margin-bottom: 40px;
    }

    .site-footer__email {
        font-size: 14px;
    }

    .site-footer__logo {
        width: 130px;
    }
}


/* ================= ABOUT SECTION ================= */

.about-section {
    min-height: 100vh;
    padding: 160px 48px 120px;
    background: var(--bg);
}

.about-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.about-heading {
    margin-top: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
    max-width: 820px;
}

.about-heading span {
    color: var(--accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--line);
}

.about-text p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-skills h3 {
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 18px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-tags span {
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink);
}

.about-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.about-contact a {
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    text-decoration: none;
    transition: color .25s ease;
}

.about-contact a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .about-section {
        padding: 140px 24px 90px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}