/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    max-width: 100%;
    font-family: "DM Sans", sans-serif;
    background: #fcfbf8;
    color: #181714;
    overflow-x: hidden;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}

main {
    width: 100%;
    max-width: 100%;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: rgba(252, 251, 248, .78);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(175, 140, 78, .10);
}

.logo {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: #a78349;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 38px;
}

.nav-links a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: #55524c;
    transition: .3s ease;
}

.nav-links a:hover {
    color: #aa8141;
}

.nav-btn {
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(
        135deg,
        #c8a15d,
        #e0c58b,
        #a47b3e
    );
    box-shadow: 0 10px 30px rgba(146, 108, 49, .20);
    transition: .3s ease;
}

.nav-btn:hover {
    transform: translateY(-3px);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;

    padding: 150px 6% 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 35%,
            rgba(221, 195, 145, .20),
            transparent 32%
        );
}

.hero::before {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    left: -300px;
    bottom: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(217, 190, 137, .15),
            transparent 70%
        );

    pointer-events: none;
}


/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
    position: relative;
    z-index: 5;

    width: 50%;
    max-width: 680px;

    min-width: 0;
    flex-shrink: 1;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 27px;

    color: #a47d3d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.eyebrow::before {
    content: "";
    width: 35px;
    height: 1px;
    background: #c5a266;
}

.hero h1 {
    font-size: clamp(60px, 8vw, 110px);
    line-height: .90;
    letter-spacing: -6px;
    font-weight: 600;
    margin-bottom: 32px;
}

.hero h1 span {
    display: block;

    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 500;

    letter-spacing: -5px;
    color: #b18a4b;
}

.hero-text {
    max-width: 500px;
    color: #77736b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 35px;
}


/* =====================================================
   HERO BUTTONS
===================================================== */

.hero-buttons {
    display: flex;
    gap: 14px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 25px;
    border-radius: 50px;

    text-decoration: none;
    font-size: 12px;
    font-weight: 600;

    transition: .35s ease;
}

.primary-btn {
    color: white;
    background: #181714;

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, .14);
}

.primary-btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 40px
        rgba(0, 0, 0, .22);
}

.secondary-btn {
    color: #92703b;

    border:
        1px solid
        rgba(171, 133, 65, .40);

    background:
        rgba(255, 255, 255, .50);
}

.secondary-btn:hover {
    transform: translateY(-4px);
    background: white;
}


/* =====================================================
   HERO VISUAL
===================================================== */

.hero-visual {
    position: relative;

    width: 43%;
    max-width: 560px;
    height: 570px;

    min-width: 0;
    flex-shrink: 1;

    perspective: 1200px;
}


/* =====================================================
   ORB SHADOW
===================================================== */

.orb-shadow {
    position: absolute;

    width: 350px;
    height: 80px;

    left: 50%;
    bottom: 70px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: rgba(105, 77, 33, .18);
    filter: blur(30px);
}


/* =====================================================
   3D LOGO ORB
===================================================== */

.logo-orb {
    position: absolute;

    width: 330px;
    height: 330px;

    left: 50%;
    top: 105px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            #fff8e8,
            #d9bd82 35%,
            #a47c3e 68%,
            #765323 100%
        );

    box-shadow:
        inset 20px 20px 45px
        rgba(255, 255, 255, .55),

        inset -25px -30px 55px
        rgba(70, 45, 15, .35),

        0 35px 80px
        rgba(121, 88, 38, .22);

    display: flex;
    align-items: center;
    justify-content: center;

    animation:
        logoFloat 6s ease-in-out infinite;

    cursor: pointer;

    transition:
        box-shadow .6s ease;
}

.logo-glow {
    position: absolute;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 245, 210, .9),
            rgba(211, 170, 91, .25),
            transparent 70%
        );

    filter: blur(8px);
    opacity: .65;

    transition:
        transform .5s ease,
        opacity .5s ease;
}

.logo-ring {
    position: absolute;

    width: 245px;
    height: 245px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 245, 215, .42);

    box-shadow:
        inset 0 0 20px
        rgba(255, 255, 255, .18);

    transition:
        transform .6s ease,
        border-color .5s ease;
}

.n-logo {
    position: relative;
    z-index: 5;

    font-family:
        "Playfair Display",
        serif;

    font-size: 145px;
    font-weight: 500;
    font-style: italic;
    line-height: 1;

    color: #fffaf0;
    opacity: .18;

    transform:
        scale(.75)
        translateZ(40px);

    text-shadow:
        0 5px 25px
        rgba(70, 45, 15, .25);

    transition:
        opacity .5s ease,
        transform .6s ease,
        text-shadow .5s ease;
}

.logo-orb:hover {
    box-shadow:
        inset 20px 20px 45px
        rgba(255, 255, 255, .60),

        inset -25px -30px 55px
        rgba(70, 45, 15, .35),

        0 45px 100px
        rgba(121, 88, 38, .32);
}

.logo-orb:hover .logo-glow {
    opacity: 1;
    transform: scale(1.35);
}

.logo-orb:hover .logo-ring {
    transform: scale(1.08);
    border-color: rgba(255, 247, 220, .75);
}

.logo-orb:hover .n-logo {
    opacity: 1;

    transform:
        scale(1)
        translateZ(100px);

    text-shadow:
        0 0 15px rgba(255, 244, 205, .8),
        0 0 40px rgba(218, 176, 93, .6),
        0 10px 35px rgba(60, 40, 15, .25);
}

@keyframes logoFloat {
    0%, 100% {
        transform:
            translateX(-50%)
            translateY(0);
    }

    50% {
        transform:
            translateX(-50%)
            translateY(-16px);
    }
}


/* =====================================================
   FLOATING CARDS
===================================================== */

.floating-card {
    position: absolute;
    z-index: 10;

    padding: 18px 23px;

    border-radius: 17px;

    background:
        rgba(255, 255, 255, .72);

    backdrop-filter: blur(20px);

    border:
        1px solid
        rgba(255, 255, 255, .80);

    box-shadow:
        0 25px 60px
        rgba(55, 42, 22, .12),

        inset 0 1px 1px
        rgba(255, 255, 255, .9);

    color: #514a3e;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.card-one {
    left: 0;
    top: 120px;

    animation:
        cardFloat1 5s ease-in-out infinite;
}

.card-one span {
    color: #b68b46;
    font-size: 17px;
    margin-right: 7px;
}

.card-two {
    right: 0;
    bottom: 130px;

    display: flex;
    flex-direction: column;
    gap: 3px;

    animation:
        cardFloat2 6s ease-in-out infinite;
}

.card-two strong {
    color: #9a743c;
    font-size: 13px;
    letter-spacing: 2px;
}

.card-two small {
    color: #a99b84;
    font-size: 8px;
    letter-spacing: 3px;
}

@keyframes cardFloat1 {
    0%, 100% {
        transform:
            translateY(0)
            rotate(-5deg);
    }

    50% {
        transform:
            translateY(-18px)
            rotate(-2deg);
    }
}

@keyframes cardFloat2 {
    0%, 100% {
        transform:
            translateY(0)
            rotate(5deg);
    }

    50% {
        transform:
            translateY(20px)
            rotate(2deg);
    }
}

.floating-pill {
    position: absolute;

    right: 40px;
    top: 45px;

    padding: 11px 16px;

    border-radius: 50px;

    color: #96713b;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;

    background:
        rgba(255, 255, 255, .60);

    backdrop-filter: blur(15px);

    border:
        1px solid
        rgba(190, 153, 88, .20);

    box-shadow:
        0 15px 35px
        rgba(100, 73, 29, .10);

    animation:
        pillFloat 4s ease-in-out infinite;
}

@keyframes pillFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* =====================================================
   SERVICES
===================================================== */

.services-section {
    position: relative;

    width: 100%;
    max-width: 100%;

    padding:
        140px 7%
        150px;

    background: #faf9f6;

    overflow: hidden;
}

.services-section::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -300px;
    top: 80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(205, 169, 100, .13),
            transparent 70%
        );

    pointer-events: none;
}


/* =====================================================
   SERVICES HEADER
===================================================== */

.services-header {
    position: relative;
    z-index: 2;

    max-width: 900px;

    margin:
        0 auto
        65px;
}

.services-header > span {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #a47b3f;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.services-header > span::before {
    content: "";

    width: 34px;
    height: 1px;

    background: #c5a263;
}

.services-header h2 {
    margin-top: 20px;

    font-family: "DM Sans", sans-serif;

    font-size:
        clamp(55px, 7vw, 92px);

    line-height: .92;
    letter-spacing: -5px;
    font-weight: 600;
}

.services-header h2 em {
    font-family:
        "Playfair Display",
        serif;

    font-style: italic;
    font-weight: 500;

    color: #b28a4d;
}

.services-header p {
    max-width: 520px;

    margin-top: 25px;

    color: #77736b;

    font-size: 14px;
    line-height: 1.8;
}


/* =====================================================
   SERVICES GRID
===================================================== */

.services-grid {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;
}


/* =====================================================
   SERVICE CARD
===================================================== */

.service-card {
    position: relative;

    height: 400px;
    min-width: 0;

    padding: 34px;

    border-radius: 30px;

    overflow: hidden;
    cursor: pointer;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(216, 180, 109, .17),
            transparent 30%
        ),

        linear-gradient(
            145deg,
            #ffffff,
            #f5f0e6
        );

    border:
        1px solid
        rgba(182, 143, 78, .18);

    box-shadow:
        0 20px 55px
        rgba(50, 40, 25, .07);

    transition:
        transform .55s cubic-bezier(.16, 1, .3, 1),
        box-shadow .55s ease,
        border-color .4s ease;
}

.service-card:nth-child(2) {
    background:
        radial-gradient(
            circle at 70% 15%,
            rgba(205, 164, 88, .24),
            transparent 38%
        ),

        linear-gradient(
            145deg,
            #fffaf0,
            #eddbb5
        );
}

.service-card::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -130px;
    bottom: -130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(203, 164, 93, .24),
            transparent 70%
        );

    transition:
        transform .6s ease;
}

.service-card:hover::before {
    transform: scale(1.5);
}

.service-card::after {
    content: "";

    position: absolute;

    top: 0;
    left: -130%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            100deg,
            transparent,
            rgba(255, 255, 255, .45),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left .8s ease;

    pointer-events: none;
}

.service-card:hover::after {
    left: 150%;
}

.service-card:hover {
    transform:
        translateY(-14px)
        rotateX(2deg)
        rotateY(-2deg);

    box-shadow:
        0 35px 80px
        rgba(52, 41, 23, .13);

    border-color:
        rgba(182, 143, 78, .35);
}


/* =====================================================
   SERVICE NUMBER
===================================================== */

.service-number {
    position: absolute;

    top: 34px;
    left: 34px;

    color: #a88955;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;

    z-index: 3;
}


/* =====================================================
   SERVICE ICON
===================================================== */

.service-icon {
    position: absolute;

    top: 28px;
    right: 28px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #a67b3b;

    font-size: 19px;

    background:
        linear-gradient(
            145deg,
            #fffdf8,
            #e6d1a4
        );

    border:
        1px solid
        rgba(176, 137, 68, .20);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .9),

        0 12px 30px
        rgba(126, 91, 36, .12);

    transition:
        transform .5s
        cubic-bezier(.16, 1, .3, 1);
}

.service-card:hover .service-icon {
    transform:
        rotate(12deg)
        scale(1.1);
}


/* =====================================================
   SERVICE TEXT
===================================================== */

.service-info {
    position: absolute;

    left: 34px;
    right: 34px;
    bottom: 34px;

    z-index: 3;

    padding-right: 55px;
}

.service-info h3 {
    margin-bottom: 14px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(30px, 3vw, 40px);

    line-height: .95;
    letter-spacing: -1.5px;

    color: #181714;
}

.service-info p {
    max-width: 320px;

    margin: 0;

    color: #77736b;

    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   SERVICE ARROW
===================================================== */

.service-arrow {
    position: absolute;

    right: 28px;
    bottom: 28px;

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #181714;
    color: white;

    font-size: 18px;

    cursor: pointer;
    z-index: 10;

    transition:
        transform .5s cubic-bezier(.16, 1, .3, 1),
        background .3s ease;
}

.service-card:hover .service-arrow {
    transform:
        translateY(-4px)
        rotate(45deg);

    background:
        linear-gradient(
            135deg,
            #d5b473,
            #94703a
        );
}


/* =====================================================
   BLACK SERVICE VIEWER
===================================================== */

.service-viewer {
    position: relative;

    width: 100%;
    max-width: 1250px;

    margin:
        55px auto 0;

    padding: 0;

    border-radius: 32px;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(197, 157, 85, .17),
            transparent 30%
        ),

        #171614;

    color: white;

    overflow: hidden;

    max-height: 0;
    opacity: 0;

    transform:
        translateY(45px)
        scale(.98);

    pointer-events: none;

    transition:
        max-height .9s cubic-bezier(.16, 1, .3, 1),
        opacity .5s ease,
        transform .8s cubic-bezier(.16, 1, .3, 1),
        padding .7s ease;
}

.service-viewer.active {
    max-height: 850px;

    opacity: 1;

    transform:
        translateY(0)
        scale(1);

    padding:
        75px 55px 55px;

    pointer-events: auto;
}


/* =====================================================
   BACK BUTTON
===================================================== */

.service-back {
    position: absolute;

    top: 28px;
    right: 30px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding:
        11px 18px;

    border:
        1px solid
        rgba(255, 255, 255, .16);

    border-radius: 50px;

    background:
        rgba(255, 255, 255, .05);

    color: white;

    font-size: 11px;

    cursor: pointer;

    backdrop-filter: blur(15px);

    transition:
        transform .3s ease,
        background .3s ease;
}

.service-back:hover {
    transform:
        translateX(-5px);

    background:
        rgba(255, 255, 255, .12);
}


/* =====================================================
   VIEWER CONTENT
===================================================== */

.viewer-content {
    width: 100%;

    display: grid;

    grid-template-columns:
        .7fr 1.3fr;

    gap: 55px;

    align-items: center;
}

.viewer-heading span {
    color: #d3ae68;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.viewer-heading h2 {
    margin:
        18px 0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(48px, 5vw, 75px);

    line-height: .9;
    letter-spacing: -3px;
}

.viewer-heading p {
    max-width: 390px;

    color: #aaa59b;

    font-size: 14px;
    line-height: 1.8;
}


/* =====================================================
   VIEWER GALLERY
===================================================== */

.viewer-gallery {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;

    perspective: 1000px;

    min-width: 0;
}

.viewer-image {
    height: 470px;

    min-width: 0;

    overflow: hidden;

    border-radius: 22px;

    background: #292722;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, .35);
}

.viewer-image.image-two {
    margin-top: 50px;
}

.viewer-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 1s
        cubic-bezier(.16, 1, .3, 1);
}

.viewer-image:hover img {
    transform: scale(1.05);
}


/* =====================================================
   VIEWER IMAGE ANIMATION
===================================================== */

.service-viewer.active .image-one {
    animation:
        viewerSlideOne
        .75s
        cubic-bezier(.16, 1, .3, 1)
        both;
}

.service-viewer.active .image-two {
    animation:
        viewerSlideTwo
        .85s
        .08s
        cubic-bezier(.16, 1, .3, 1)
        both;
}

@keyframes viewerSlideOne {
    from {
        opacity: 0;

        transform:
            translateX(100px)
            rotateY(-15deg);
    }

    to {
        opacity: 1;

        transform:
            translateX(0)
            rotateY(0);
    }
}

@keyframes viewerSlideTwo {
    from {
        opacity: 0;

        transform:
            translateX(140px)
            rotateY(-18deg);
    }

    to {
        opacity: 1;

        transform:
            translateX(0)
            rotateY(0);
    }
}


/* =====================================================
   PORTFOLIO
===================================================== */

.portfolio-section {
    position: relative;

    width: 100%;
    max-width: 100%;

    padding:
        150px 7%
        110px;

    background: #171613;
    color: white;

    overflow: hidden;
}

.portfolio-section::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -250px;
    top: -300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(202, 166, 101, .17),
            transparent 70%
        );
}


/* =====================================================
   PORTFOLIO HEADING
===================================================== */

.portfolio-heading {
    position: relative;
    z-index: 2;

    max-width: 1200px;

    margin:
        0 auto 80px;

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 50px;
}

.portfolio-heading .section-label {
    color: #c8a66a;
}

.section-label {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #a37b3c;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;

    margin-bottom: 23px;
}

.section-label::before {
    content: "";

    width: 32px;
    height: 1px;

    background: #c6a264;
}

.portfolio-heading h2 {
    font-size:
        clamp(50px, 6vw, 80px);

    line-height: .95;
    letter-spacing: -4px;

    font-weight: 600;
}

.portfolio-heading h2 span {
    font-family:
        "Playfair Display",
        serif;

    font-style: italic;
    font-weight: 500;

    color: #c9a96e;
}

.portfolio-intro {
    max-width: 350px;

    color: #8f8a81;

    font-size: 13px;
    line-height: 1.8;
}


/* =====================================================
   PORTFOLIO GRID
===================================================== */

.portfolio-grid {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.25fr .75fr;

    gap: 65px 40px;

    align-items: start;
}

.project-large {
    grid-row: span 2;
}


/* =====================================================
   PROJECT FRAME
===================================================== */

.project-frame {
    width: 100%;
    height: 300px;

    border-radius: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    perspective: 1000px;

    transition:
        transform .6s ease,
        box-shadow .6s ease;
}

.project-large .project-frame {
    height: 620px;
}

.project-frame:hover {
    transform:
        translateY(-12px)
        rotateX(2deg)
        rotateY(-2deg);

    box-shadow:
        0 35px 80px
        rgba(0, 0, 0, .35);
}


/* =====================================================
   PROJECT 01
===================================================== */

.gold-project {
    background:
        linear-gradient(
            145deg,
            #e5c88d,
            #8b672f
        );
}

.poster {
    width: 68%;
    height: 76%;

    padding: 45px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-radius: 7px;

    background:
        linear-gradient(
            145deg,
            #fffdf6,
            #eee2c7
        );

    color: #191714;

    transform:
        rotate(-4deg)
        translateZ(60px);

    box-shadow:
        25px 35px 60px
        rgba(49, 32, 9, .28);

    transition: .6s ease;
}

.project-frame:hover .poster {
    transform:
        rotate(-1deg)
        translateZ(100px)
        scale(1.03);
}

.poster small {
    color: #a47c3d;

    font-size: 9px;
    letter-spacing: 3px;
    font-weight: 700;
}

.poster h3 {
    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(34px, 4vw, 58px);

    line-height: .95;
    letter-spacing: -2px;
}

.poster-line {
    width: 70px;
    height: 2px;

    background: #b38a48;
}

.poster span {
    color: #9b7740;

    font-size: 8px;
    letter-spacing: 2px;
}


/* =====================================================
   PROJECT 02
===================================================== */

.cream-project {
    background:
        linear-gradient(
            145deg,
            #dfc38c,
            #997139
        );
}

.social-poster {
    width: 68%;
    height: 82%;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: #fffdf7;
    color: #181714;

    transform:
        rotate(4deg)
        translateZ(50px);

    box-shadow:
        20px 25px 50px
        rgba(0, 0, 0, .25);

    transition: .6s ease;
}

.project-frame:hover .social-poster {
    transform:
        rotate(1deg)
        translateZ(90px)
        scale(1.04);
}

.social-poster small {
    color: #9d763d;

    font-size: 8px;
    letter-spacing: 3px;
    font-weight: 700;
}

.social-poster h3 {
    font-family:
        "Playfair Display",
        serif;

    font-size: 31px;
    line-height: .95;
}

.mini-star {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #d0ae6b;
    background: #191815;
}


/* =====================================================
   PROJECT 03
===================================================== */

.dark-project {
    background:
        linear-gradient(
            145deg,
            #f2e6ca,
            #b48a4a
        );
}

.resume-poster {
    width: 68%;
    height: 82%;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-radius: 6px;

    background: #191815;
    color: white;

    transform:
        rotate(-4deg)
        translateZ(50px);

    box-shadow:
        20px 25px 50px
        rgba(0, 0, 0, .3);

    transition: .6s ease;
}

.project-frame:hover .resume-poster {
    transform:
        rotate(-1deg)
        translateZ(90px)
        scale(1.04);
}

.resume-header {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.resume-dot {
    width: 28px;
    height: 28px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #e5cd9a,
            #96703b
        );
}

.resume-header span {
    color: #c9a96e;

    font-size: 8px;
    letter-spacing: 2px;
}

.resume-poster h3 {
    font-family:
        "Playfair Display",
        serif;

    font-size: 31px;
    line-height: .95;
}

.resume-poster p {
    color: #aaa69d;

    font-size: 9px;
    line-height: 1.5;
}

.resume-bottom {
    color: #c9a96e;

    font-size: 8px;
    letter-spacing: 2px;
}


/* =====================================================
   PROJECT INFO
===================================================== */

.project-info {
    display: grid;

    grid-template-columns:
        35px 1fr;

    gap: 12px;

    padding-top: 20px;
}

.project-info > span {
    color: #9c8153;

    font-size: 9px;

    padding-top: 3px;
}

.project-info h3 {
    font-size: 17px;
    font-weight: 500;
}

.project-info p {
    margin-top: 5px;

    color: #77736b;

    font-size: 10px;
}


/* =====================================================
   PORTFOLIO CTA
===================================================== */

.portfolio-cta {
    position: relative;
    z-index: 3;

    max-width: 1200px;

    margin:
        100px auto 0;

    padding-top: 30px;

    border-top:
        1px solid
        rgba(255, 255, 255, .10);

    display: flex;

    justify-content: space-between;
    align-items: center;
}

.portfolio-cta span {
    color: #77736b;
    font-size: 12px;
}

.portfolio-cta a {
    text-decoration: none;

    color: #c9a96e;

    font-size: 13px;

    transition: .3s ease;
}

.portfolio-cta a:hover {
    color: white;
}

.portfolio-cta b {
    margin-left: 8px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    width: 100%;
    max-width: 100%;

    min-height: 650px;

    padding:
        150px 7%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    background: #fcfbf8;

    overflow: hidden;

    position: relative;
}

.contact-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(210, 176, 110, .15),
            transparent 70%
        );
}

.contact-section .section-label {
    position: relative;
    justify-content: center;
}

.contact-section h2 {
    position: relative;

    font-size:
        clamp(55px, 8vw, 105px);

    line-height: .9;
    letter-spacing: -5px;

    margin-bottom: 30px;
}

.contact-section h2 span {
    display: block;

    font-family:
        "Playfair Display",
        serif;

    font-style: italic;

    color: #b08a4b;
}

.contact-section p {
    position: relative;

    max-width: 500px;

    color: #77736b;

    font-size: 14px;
    line-height: 1.8;

    margin-bottom: 35px;
}

.contact-btn {
    position: relative;

    text-decoration: none;

    padding:
        17px 30px;

    border-radius: 50px;

    color: white;

    font-size: 12px;
    font-weight: 600;

    background:
        linear-gradient(
            135deg,
            #c8a15d,
            #dfc185,
            #9c7438
        );

    box-shadow:
        0 15px 40px
        rgba(135, 97, 37, .22);

    transition: .3s ease;
}

.contact-btn:hover {
    transform: translateY(-5px);
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    width: 100%;
    max-width: 100%;

    padding:
        30px 7%;

    display: flex;

    justify-content: space-between;
    align-items: center;

    border-top:
        1px solid
        rgba(0, 0, 0, .07);

    background: #fcfbf8;
}

footer div {
    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;
}

footer div span {
    color: #a78349;
    font-weight: 400;
}

footer p {
    color: #99958d;

    font-size: 10px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    .hero {
        padding:
            130px 6%
            70px;

        flex-direction: column;
        text-align: center;

        gap: 30px;
    }

    .hero-content {
        width: 100%;
        max-width: 750px;
    }

    .eyebrow {
        justify-content: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 600px;
        height: 500px;
    }

    .services-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .service-card:last-child {
        grid-column:
            1 / -1;

        width: 50%;

        margin: 0 auto;
    }

    .viewer-content {
        grid-template-columns:
            1fr;
    }

    .portfolio-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-grid {
        grid-template-columns:
            1fr;
    }

    .project-large {
        grid-row: auto;
    }

    .project-large .project-frame {
        height: 500px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .navbar {
        padding: 0 5%;
        height: 70px;
    }

    .nav-links {
        display: none;
    }

    .nav-btn {
        padding:
            10px 17px;
    }

    .hero {
        width: 100%;
        padding:
            120px 5%
            60px;

        gap: 20px;
    }

    .hero h1 {
        font-size: 57px;
        letter-spacing: -4px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* FIXED — no 125% overflow */
    .hero-visual {
        width: 100%;
        max-width: 500px;
        height: 430px;

        margin-left: 0;

        transform: scale(.82);
        transform-origin: center center;
    }

    .services-section,
    .portfolio-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .services-header h2,
    .portfolio-heading h2 {
        font-size: 50px;
        letter-spacing: -3px;
    }

    .services-grid {
        grid-template-columns:
            1fr;
    }

    .service-card,
    .service-card:last-child {
        width: 100%;
        height: 350px;
        grid-column: auto;
    }

    .service-viewer.active {
        padding:
            75px 20px 30px;
    }

    .viewer-content {
        gap: 30px;
    }

    .viewer-heading h2 {
        font-size: 48px;
    }

    .viewer-gallery {
        grid-template-columns:
            1fr 1fr;

        gap: 10px;
    }

    .viewer-image {
        height: 280px;
        border-radius: 16px;
    }

    .viewer-image.image-two {
        margin-top: 30px;
    }

    .portfolio-heading {
        margin-bottom: 55px;
    }

    .project-large .project-frame {
        height: 430px;
    }

    .project-frame {
        height: 300px;
    }

    .poster {
        width: 76%;
        padding: 28px;
    }

    .portfolio-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .contact-section {
        min-height: 550px;

        padding:
            100px 5%;
    }

    .contact-section h2 {
        font-size: 55px;
        letter-spacing: -4px;
    }

    footer {
        flex-direction: column;

        gap: 12px;

        text-align: center;
    }

    .logo-orb {
        width: 280px;
        height: 280px;
    }

    .logo-ring {
        width: 210px;
        height: 210px;
    }

    .n-logo {
        font-size: 120px;
    }

    .card-one {
        left: 5px;
    }

    .card-two {
        right: 5px;
    }

    .floating-pill {
        right: 15px;
    }
}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}


/* =====================================================
   FINAL OVERFLOW PROTECTION
===================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

section,
header,
footer,
main {
    max-width: 100%;
}

.service-viewer {
    box-sizing: border-box;
    max-width: 1250px;
    width: 100%;
}

.viewer-image {
    max-width: 100%;
    overflow: hidden;
}

.viewer-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}