/* =====================================================
   VEYRA
   Main stylesheet
===================================================== */

:root {

    --bg: #f7f7f5;
    --white: #ffffff;
    --black: #111111;

    --text: #181818;
    --muted: #70706b;
    --light-muted: #a0a09a;

    --line: #deded8;

    --dark-bg: #111111;
    --dark-line: #2c2c2c;

    --max-width: 1180px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}


/* ================= RESET ================= */

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


html {
    scroll-behavior: smooth;
}


body {

    background: var(--bg);

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Inter",
        "Segoe UI",
        sans-serif;

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


.container {

    width:
        min(
            var(--max-width),
            calc(100% - 48px)
        );

    margin-inline: auto;
}


.section {
    padding: 130px 0;
}


/* ================= HEADER ================= */

.header {

    position: fixed;

    top: 0;

    left: 50%;

    transform: translateX(-50%);

    width:
        min(
            1280px,
            calc(100% - 32px)
        );

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 100;

    padding: 0 14px;

    transition:
        background .35s ease,
        backdrop-filter .35s ease,
        box-shadow .35s ease;
}


.header.scrolled {

    background:
        rgba(247, 247, 245, .82);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, .05);

    border-radius:
        0 0 20px 20px;
}


.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: .14em;
}


.logo-mark {

    width: 31px;

    height: 31px;

    border: 1.5px solid currentColor;

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 12px;

    letter-spacing: 0;
}


.nav {

    display: flex;

    gap: 34px;

    color: var(--muted);

    font-size: 13px;
}


.nav a {

    transition:
        color .2s ease;
}


.nav a:hover {
    color: var(--black);
}


.header-contact {

    font-size: 13px;

    font-weight: 600;

    border-bottom: 1px solid var(--black);

    padding-bottom: 3px;
}


.header-contact span {
    margin-left: 5px;
}


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

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    position: relative;

    padding:
        150px
        max(24px, calc((100vw - var(--max-width)) / 2))
        120px;
}


.hero-content {
    max-width: 1050px;
}


.eyebrow {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .16em;

    color: var(--muted);

    font-weight: 700;

    margin-bottom: 27px;
}


.hero h1 {

    font-size:
        clamp(
            58px,
            8.5vw,
            112px
        );

    line-height: .93;

    letter-spacing: -.075em;

    font-weight: 700;
}


.hero h1 span {

    display: block;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    letter-spacing: -.065em;
}


.hero-description {

    max-width: 620px;

    margin-top: 38px;

    color: var(--muted);

    font-size: 20px;

    line-height: 1.6;
}


.hero-actions {

    display: flex;

    align-items: center;

    gap: 28px;

    margin-top: 42px;
}


/* ================= BUTTON ================= */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 22px;

    padding: 15px 21px;

    border-radius: 999px;

    border: none;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform .25s var(--ease),
        background .25s ease;
}


.button:hover {

    transform:
        translateY(-3px);
}


.button-dark {

    color: white;

    background: var(--black);
}


.button-dark:hover {
    background: #2a2a2a;
}


.button span {
    font-size: 17px;
}


.simple-link {

    font-size: 13px;

    font-weight: 600;

    border-bottom: 1px solid #aaa;

    padding-bottom: 4px;
}


.simple-link span {
    margin-left: 7px;
}


.hero-scroll {

    position: absolute;

    bottom: 38px;

    left:
        max(
            24px,
            calc((100vw - var(--max-width)) / 2)
        );

    display: flex;

    align-items: center;

    gap: 12px;

    color: #999;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .14em;
}


.hero-scroll span {

    width: 27px;

    height: 1px;

    background: #aaa;
}


/* ================= LABEL ================= */

.section-label {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 38px;

    color: var(--muted);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .15em;
}


.section-label span {
    color: #999;
}


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

.about {

    background: #e9e9e4;
}


.about-grid {

    display: grid;

    grid-template-columns:
        1fr
        2.3fr;

    gap: 60px;
}


.about-content {
    max-width: 800px;
}


.about-content h2 {

    font-size:
        clamp(
            44px,
            5.4vw,
            74px
        );

    line-height: 1;

    letter-spacing: -.065em;

    margin-bottom: 40px;
}


.about-content h2 em {

    display: block;

    font-family: Georgia, serif;

    font-weight: 400;
}


.about-content p {

    max-width: 680px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 17px;
}


/* ================= SECTION HEADING ================= */

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;

    margin-bottom: 65px;
}


.section-heading h2 {

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

    line-height: .97;

    letter-spacing: -.065em;
}


.section-heading h2 em {

    font-family: Georgia, serif;

    font-weight: 400;
}


.section-description {

    max-width: 300px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


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

.project-card {

    display: grid;

    grid-template-columns:
        1.05fr
        .95fr;

    min-height: 610px;

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}


.project-info {

    display: grid;

    grid-template-columns:
        60px
        1fr;
}


.project-number {

    padding-top: 48px;

    font-size: 11px;

    color: #999;

    letter-spacing: .08em;
}


.project-details {

    padding:
        48px
        50px
        55px
        0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.project-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.project-meta span {

    border: 1px solid var(--line);

    border-radius: 999px;

    padding: 7px 10px;

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .12em;
}


.project-details h3 {

    font-size:
        clamp(
            48px,
            5.2vw,
            72px
        );

    line-height: .93;

    letter-spacing: -.075em;

    margin-top: 32px;
}


.project-details > p {

    max-width: 480px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}


.project-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 28px;
}


.project-tags span {

    padding: 7px 10px;

    border-radius: 999px;

    background: #ededeb;

    color: #777;

    font-size: 9px;
}


/* ================= DISTRIBUTION ================= */

.distribution {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 30px;

    padding: 17px 0;

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}


.distribution > div {

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.distribution-label {

    color: #999;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .12em;
}


.distribution strong {

    font-size: 17px;

    letter-spacing: -.02em;
}


.distribution-status {

    color: #5c765f;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .12em;
}


.project-buttons {

    display: flex;

    align-items: center;

    gap: 24px;

    margin-top: 30px;
}


/* ================= PROJECT VISUAL ================= */

.project-visual {

    position: relative;

    overflow: hidden;

    min-height: 610px;

    background: #151515;

    color: white;

    display: flex;

    align-items: flex-end;

    padding: 48px;
}


.visual-orbit {

    position: absolute;

    border: 1px solid #383838;

    border-radius: 50%;

    transition:
        transform 1s var(--ease);
}


.orbit-one {

    width: 450px;

    height: 450px;

    top: -190px;

    right: -130px;
}


.orbit-two {

    width: 650px;

    height: 650px;

    top: -290px;

    right: -230px;

    border-color: #292929;
}


.orbit-three {

    width: 850px;

    height: 850px;

    top: -390px;

    right: -340px;

    border-color: #242424;
}


.visual-logo {

    position: absolute;

    top: 48px;

    left: 48px;

    width: 68px;

    height: 68px;

    display: grid;

    place-items: center;

    border: 1px solid #777;

    border-radius: 20px;

    font-size: 24px;
}


.visual-title {

    position: relative;

    z-index: 2;

    font-size:
        clamp(
            50px,
            5.5vw,
            82px
        );

    font-weight: 800;

    letter-spacing: -.09em;
}


.project-visual p {

    position: absolute;

    left: 50px;

    bottom: 20px;

    color: #888;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .1em;
}


/* ================= SMALL PROJECTS ================= */

.project-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1px;

    background: var(--line);
}


.small-project {

    min-height: 270px;

    padding: 32px;

    display: grid;

    grid-template-columns:
        40px
        1fr
        25px;

    gap: 20px;

    background: var(--bg);

    transition:
        background .25s ease;
}


.small-project:hover {
    background: white;
}


.small-label {

    color: #999;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .13em;
}


.small-project h3 {

    font-size: 31px;

    letter-spacing: -.05em;

    margin: 14px 0 12px;
}


.small-project p {

    max-width: 410px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


.project-arrow {

    text-align: right;

    font-size: 20px;
}


/* ================= GROWING ================= */

.growing {

    background: var(--dark-bg);

    color: white;
}


.dark-label {
    color: #777;
}


.growing-content {

    max-width: 1100px;

    margin-top: 55px;
}


.growing-content h2 {

    font-size:
        clamp(
            60px,
            9vw,
            125px
        );

    line-height: .9;

    letter-spacing: -.08em;
}


.growing-content h2 span {

    display: block;

    color: #444;

    font-family: Georgia, serif;

    font-weight: 400;
}


.growing-content p {

    max-width: 580px;

    color: #92928c;

    font-size: 17px;

    line-height: 1.75;

    margin-top: 55px;

    margin-left: 30%;
}


/* ================= STUDIO ================= */

.studio {
    background: white;
}


.studio-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;
}


.studio-badge {

    border: 1px solid var(--line);

    border-radius: 999px;

    padding: 8px 11px;

    color: #777;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .12em;
}


.studio-intro {

    display: grid;

    grid-template-columns:
        1.2fr
        1fr;

    gap: 80px;

    margin:
        30px 0
        90px;
}


.studio-intro h2 {

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

    line-height: .95;

    letter-spacing: -.07em;
}


.studio-intro h2 em {

    display: block;

    font-family: Georgia, serif;

    font-weight: 400;
}


.studio-intro > p {

    max-width: 480px;

    align-self: end;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;
}


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

.services {

    border-top: 1px solid var(--line);
}


.service {

    display: grid;

    grid-template-columns:
        60px
        1fr
        25px;

    gap: 25px;

    padding: 36px 0;

    border-bottom: 1px solid var(--line);

    transition:
        padding .3s var(--ease);
}


.service:hover {

    padding-left: 15px;

    padding-right: 15px;
}


.service > span:first-child {

    color: #999;

    font-size: 10px;
}


.service h3 {

    font-size: 27px;

    letter-spacing: -.045em;

    margin-bottom: 8px;
}


.service p {

    max-width: 650px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


.service-arrow {

    text-align: right;

    font-size: 19px;
}


.studio-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    margin-top: 55px;
}


.studio-bottom p {

    color: var(--muted);

    font-size: 14px;
}


/* ================= CONTACT ================= */

.contact {

    background: #e9e9e4;
}


.contact-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 100px;
}


.contact-intro h2 {

    font-size:
        clamp(
            50px,
            6vw,
            80px
        );

    line-height: .95;

    letter-spacing: -.07em;
}


.contact-intro h2 em {

    display: block;

    font-family: Georgia, serif;

    font-weight: 400;
}


.contact-intro > p {

    max-width: 500px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.7;
}


/* ================= EMAIL ================= */

.email-block {

    margin-top: 45px;

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.email-block > span {

    color: #999;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .14em;
}


.email-block a {

    width: fit-content;

    font-size: 18px;

    font-weight: 600;

    border-bottom: 1px solid #999;

    padding-bottom: 5px;
}


.email-block a span {
    margin-left: 7px;
}


/* ================= FORM ================= */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 25px;
}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.form-group label {

    color: #777;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .13em;

    font-weight: 700;
}


.form-group input,
.form-group textarea,
.form-group select {

    width: 100%;

    border: none;

    border-bottom: 1px solid #c4c4be;

    background: transparent;

    outline: none;

    padding: 11px 0;

    color: var(--text);
}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-color: var(--black);
}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #9d9d97;
}


.form-group textarea {
    resize: vertical;
}


.submit-button {

    align-self: flex-start;

    margin-top: 5px;
}


.form-note {

    margin-top: -10px;

    color: #999;

    font-size: 10px;
}


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

.footer {

    background: var(--black);

    color: white;

    padding-top: 45px;

    padding-bottom: 25px;
}


.footer-main {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 55px;

    border-bottom: 1px solid var(--dark-line);
}


.footer-logo .logo-mark {
    border-color: white;
}


.footer-main p {

    color: #777;

    font-size: 11px;
}


.footer-bottom {

    padding-top: 22px;

    display: flex;

    justify-content: space-between;

    color: #666;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .12em;
}


.footer-bottom a {
    color: #999;
}


/* ================= REVEAL ================= */

.reveal {

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .9s var(--ease),
        transform .9s var(--ease);
}


.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .nav {
        display: none;
    }


    .about-grid {

        grid-template-columns: 1fr;

        gap: 15px;
    }


    .section-heading {

        flex-direction: column;

        align-items: flex-start;
    }


    .project-card {

        grid-template-columns: 1fr;
    }


    .project-info {

        grid-template-columns:
            50px
            1fr;
    }


    .project-visual {
        min-height: 430px;
    }


    .studio-intro {

        grid-template-columns: 1fr;

        gap: 30px;
    }


    .contact-grid {

        grid-template-columns: 1fr;

        gap: 70px;
    }


    .growing-content p {

        margin-left: 0;
    }

}


@media (max-width: 650px) {

    .container {

        width:
            calc(100% - 32px);
    }


    .header {

        width:
            calc(100% - 20px);

        padding: 0 8px;
    }


    .header-contact {
        display: none;
    }


    .section {
        padding: 90px 0;
    }


    .hero {

        padding:
            130px 16px
            100px;
    }


    .hero h1 {

        font-size:
            clamp(
                53px,
                15vw,
                78px
            );
    }


    .hero-description {
        font-size: 17px;
    }


    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;
    }


    .hero-scroll {
        display: none;
    }


    .project-info {

        grid-template-columns:
            35px
            1fr;
    }


    .project-details {

        padding:
            40px
            20px
            45px
            0;
    }


    .project-visual {

        min-height: 360px;

        padding: 30px;
    }


    .visual-logo {

        top: 30px;

        left: 30px;
    }


    .project-grid {

        grid-template-columns: 1fr;
    }


    .small-project {
        min-height: 220px;
    }


    .project-buttons {

        flex-direction: column;

        align-items: flex-start;
    }


    .growing-content h2 {
        font-size: 58px;
    }


    .service {

        grid-template-columns:
            35px
            1fr
            20px;

        gap: 15px;
    }


    .studio-bottom {

        flex-direction: column;

        align-items: flex-start;
    }


    .contact-intro h2 {
        font-size: 56px;
    }


    .footer-main {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }


    .footer-bottom {

        flex-wrap: wrap;

        gap: 15px;
    }

}