/* =========================================================
                    RAY STUDIO ABOUT PAGE
========================================================= */


/* =========================================================
                    GLOBAL
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: #f8f2ea;

    color: #4b3328;

    font-family:
        "Poppins",
        sans-serif;

}


.about-page {

    width: 100%;

    overflow: hidden;

}


.eyebrow {

    color: #a8743a;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;

}



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

.about-hero {

    min-height: 720px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 75% 35%,
            rgba(255, 255, 255, 0.8),
            transparent 32%
        ),

        linear-gradient(
            135deg,
            #f8f2ea 0%,
            #f4eadc 55%,
            #fbf7f0 100%
        );

}


.about-hero::before {

    content: "";

    width: 430px;

    height: 430px;

    position: absolute;

    top: -220px;

    left: -140px;

    border:

        1px solid
        rgba(168, 116, 58, 0.20);

    border-radius: 50%;

}


.about-hero::after {

    content: "";

    width: 550px;

    height: 550px;

    position: absolute;

    right: -340px;

    bottom: -260px;

    border:

        1px solid
        rgba(168, 116, 58, 0.18);

    border-radius: 50%;

}



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

.about-hero-content {

    width: min(
        720px,
        85%
    );

    margin-left: 10%;

    position: relative;

    z-index: 5;

}


.about-hero-content h1 {

    max-width: 700px;

    margin-top: 18px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: clamp(
        58px,
        7vw,
        105px
    );

    font-weight: 500;

    line-height: 0.9;

    letter-spacing: -2px;

}


.about-hero-content h1 em {

    display: block;

    color: #a8743a;

    font-weight: 500;

}


.hero-description {

    max-width: 530px;

    margin-top: 34px;

    color: #6e5a50;

    font-size: 14px;

    font-weight: 300;

    line-height: 2;

}


.hero-signature {

    margin-top: 35px;

    display: flex;

    align-items: center;

    gap: 14px;

}


.hero-signature span {

    width: 55px;

    height: 1px;

    display: block;

    background: #a8743a;

}


.hero-signature p {

    color: #4b3328;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3px;

}



/* =========================================================
                    FLOWING THREAD
========================================================= */

.hero-thread {

    width: 110%;

    height: 500px;

    position: absolute;

    top: 10px;

    left: -5%;

    z-index: 1;

    pointer-events: none;

}


.hero-thread path {

    fill: none;

    stroke: #a8743a;

    stroke-width: 1.4;

    stroke-dasharray: 12 10;

    opacity: 0.48;

    animation:
        threadMove
        18s
        linear
        infinite;

}


@keyframes threadMove {

    from {

        stroke-dashoffset: 0;

    }

    to {

        stroke-dashoffset: -220;

    }

}



/* =========================================================
                    NEEDLE
========================================================= */

.needle-decoration {

    width: 150px;

    height: 35px;

    position: absolute;

    top: 160px;

    right: 11%;

    z-index: 3;

    transform:
        rotate(-32deg);

}


.needle-body {

    width: 135px;

    height: 2px;

    position: absolute;

    top: 16px;

    left: 0;

    border-radius: 50%;

    background:

        linear-gradient(
            90deg,
            transparent 0%,
            #6e5a50 12%,
            #4b3328 100%
        );

}


.needle-body::after {

    content: "";

    position: absolute;

    right: -7px;

    top: -3px;

    border-top:
        4px solid transparent;

    border-bottom:
        4px solid transparent;

    border-left:
        10px solid #4b3328;

}


.needle-eye {

    width: 17px;

    height: 8px;

    position: absolute;

    left: 2px;

    top: 13px;

    border:

        1.5px solid
        #6e5a50;

    border-radius: 50%;

}



/* =========================================================
                    URDU LETTERS
========================================================= */

.urdu-letter {

    position: absolute;

    z-index: 2;

    color:
        rgba(75, 51, 40, 0.09);

    font-family:
        "Noto Nastaliq Urdu",
        serif;

    line-height: 1;

    user-select: none;

}


.urdu-one {

    top: 14%;

    left: 49%;

    font-size: 90px;

    transform:
        rotate(7deg);

}


.urdu-two {

    top: 64%;

    left: 7%;

    font-size: 120px;

    color:
        rgba(168, 116, 58, 0.09);

}


.urdu-three {

    right: 8%;

    bottom: 11%;

    font-size: 140px;

}


.urdu-four {

    right: 35%;

    bottom: 3%;

    font-size: 80px;

    color:
        rgba(168, 116, 58, 0.10);

}



/* =========================================================
                    SEWING MACHINE ART
========================================================= */

.machine-art {

    width: 290px;

    position: absolute;

    right: 5%;

    bottom: 45px;

    z-index: 2;

    color: #6e5a50;

    opacity: 0.20;

}


.machine-art svg {

    width: 100%;

    display: block;

}


.machine-art path,
.machine-art circle {

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;

}



/* =========================================================
                    OUR STORY
========================================================= */

.story-section {

    max-width: 1250px;

    margin: 0 auto;

    padding:
        130px 35px;

    display: grid;

    grid-template-columns:
        100px
        1fr
        1fr;

    gap: 60px;

    align-items: start;

}


.story-number {

    color:
        rgba(168, 116, 58, 0.40);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 60px;

    line-height: 1;

}


.story-heading h2 {

    max-width: 440px;

    margin-top: 13px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 52px;

    font-weight: 500;

    line-height: 1.05;

}


.story-copy {

    padding-top: 27px;

}


.story-copy p {

    margin-bottom: 22px;

    color: #6e5a50;

    font-size: 13px;

    font-weight: 300;

    line-height: 2;

}



/* =========================================================
                    THREAD DIVIDER
========================================================= */

.thread-divider {

    max-width: 900px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

}


.thread-line {

    flex: 1;

    height: 1px;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(168, 116, 58, 0.4),
            transparent
        );

}


.thread-spool {

    width: 35px;

    height: 45px;

    padding: 8px 5px;

    position: relative;

    border-top:
        4px solid #a8743a;

    border-bottom:
        4px solid #a8743a;

}


.thread-spool span {

    height: 2px;

    margin: 4px 0;

    display: block;

    background:
        rgba(75, 51, 40, 0.55);

}



/* =========================================================
                    VALUES SECTION
========================================================= */

.values-section {

    max-width: 1250px;

    margin: 0 auto;

    padding:
        120px
        35px
        140px;

}


.values-intro {

    max-width: 600px;

    margin-bottom: 55px;

}


.values-intro h2 {

    margin-top: 10px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 58px;

    font-weight: 500;

}


.values-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}


.value-card {

    min-height: 310px;

    padding:
        38px
        32px;

    position: relative;

    overflow: hidden;

    border:

        1px solid
        rgba(75, 51, 40, 0.11);

    background:

        rgba(
            255,
            255,
            255,
            0.46
        );

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;

}


.value-card::after {

    content: "";

    width: 120px;

    height: 120px;

    position: absolute;

    right: -70px;

    bottom: -70px;

    border:

        1px solid
        rgba(168, 116, 58, 0.20);

    border-radius: 50%;

}


.value-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(168, 116, 58, 0.42);

    background: #fffdf9;

}


.value-index {

    display: block;

    margin-bottom: 75px;

    color: #a8743a;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 18px;

}


.value-card h3 {

    margin-bottom: 13px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 31px;

    font-weight: 600;

}


.value-card p {

    color: #6e5a50;

    font-size: 12px;

    font-weight: 300;

    line-height: 1.9;

}



/* =========================================================
                    BRAND STATEMENT
========================================================= */

.brand-statement {

    min-height: 520px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    color: #f8f2ea;

    background: #4b3328;

}


.brand-statement::before {

    content: "";

    width: 500px;

    height: 500px;

    position: absolute;

    left: -300px;

    top: -280px;

    border:

        1px solid
        rgba(248, 242, 234, 0.09);

    border-radius: 50%;

}


.brand-statement-inner {

    width:
        min(800px, 85%);

    position: relative;

    z-index: 2;

    text-align: center;

}


.brand-statement .eyebrow {

    color: #c79657;

}


.brand-statement h2 {

    margin-top: 18px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: clamp(
        48px,
        6vw,
        78px
    );

    font-weight: 500;

    line-height: 1.05;

}


.brand-statement-inner > p:last-child {

    margin-top: 25px;

    color:
        rgba(248, 242, 234, 0.67);

    font-size: 12px;

    font-weight: 300;

    letter-spacing: 1px;

}



/* =========================================================
                    SCISSORS
========================================================= */

.scissors-art {

    width: 190px;

    position: absolute;

    right: 5%;

    bottom: 10%;

    color: #c79657;

    opacity: 0.18;

    transform:
        rotate(-12deg);

}


.scissors-art svg {

    width: 100%;

}


.scissors-art path,
.scissors-art circle {

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;

}



/* =========================================================
                    FINAL ABOUT ENDING
========================================================= */

.about-ending {

    min-height: 540px;

    padding: 90px 30px;

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    text-align: center;

}


.ending-letter {

    position: absolute;

    top: -60px;

    right: 12%;

    color:
        rgba(168, 116, 58, 0.07);

    font-family:
        "Noto Nastaliq Urdu",
        serif;

    font-size: 280px;

}


.about-ending > p {

    margin-bottom: 10px;

    color: #a8743a;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;

}


.about-ending h2 {

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: clamp(
        48px,
        6vw,
        75px
    );

    font-weight: 500;

}


.ending-thread {

    width: min(
        530px,
        80%
    );

    height: 40px;

    margin-top: 40px;

    position: relative;

}


.ending-thread > span {

    width: 100%;

    height: 1px;

    position: absolute;

    top: 19px;

    left: 0;

    background:

        linear-gradient(
            90deg,
            transparent,
            #a8743a,
            transparent
        );

}


.ending-needle {

    width: 85px;

    height: 2px;

    position: absolute;

    top: 18px;

    left: 50%;

    background: #4b3328;

    transform:

        translateX(-50%)
        rotate(-8deg);

}


.ending-needle::after {

    content: "";

    width: 10px;

    height: 5px;

    position: absolute;

    left: -2px;

    top: -2px;

    border:

        1px solid
        #4b3328;

    border-radius: 50%;

}



/* =========================================================
                    TABLET
========================================================= */

@media screen and (max-width: 950px) {

    .about-hero {

        min-height: 650px;

    }


    .about-hero-content {

        margin-left: 7%;

    }


    .machine-art {

        width: 220px;

        right: -30px;

        opacity: 0.12;

    }


    .story-section {

        grid-template-columns:
            80px
            1fr;

    }


    .story-copy {

        grid-column:
            2 / 3;

        padding-top: 0;

    }


    .values-grid {

        grid-template-columns: 1fr;

    }


    .value-card {

        min-height: auto;

    }


    .value-index {

        margin-bottom: 40px;

    }

}



/* =========================================================
                    MOBILE
========================================================= */

@media screen and (max-width: 650px) {

    .about-hero {

        min-height: 620px;

    }


    .about-hero-content {

        width:
            calc(100% - 40px);

        margin:
            0 auto;

    }


    .about-hero-content h1 {

        font-size: 57px;

    }


    .hero-description {

        max-width: 90%;

        font-size: 12px;

    }


    .needle-decoration {

        width: 100px;

        top: 95px;

        right: -15px;

        opacity: 0.5;

    }


    .machine-art {

        width: 175px;

        bottom: 8px;

        right: -35px;

    }


    .urdu-one {

        display: none;

    }


    .urdu-two {

        left: -15px;

        bottom: 70px;

    }


    .story-section {

        padding:
            90px 22px;

        display: block;

    }


    .story-number {

        margin-bottom: 25px;

        font-size: 45px;

    }


    .story-heading h2 {

        font-size: 42px;

    }


    .story-copy {

        margin-top: 32px;

    }


    .thread-divider {

        width:
            calc(100% - 40px);

    }


    .values-section {

        padding:
            90px 20px
            110px;

    }


    .values-intro h2 {

        font-size: 45px;

    }


    .value-card {

        padding:
            30px
            25px;

    }


    .brand-statement {

        min-height: 470px;

    }


    .brand-statement h2 {

        font-size: 46px;

    }


    .scissors-art {

        width: 130px;

        right: -30px;

    }


    .about-ending {

        min-height: 430px;

    }


    .about-ending h2 {

        font-size: 45px;

    }


    .ending-letter {

        right: -30px;

        font-size: 210px;

    }

}