/* =========================================================
   OFISTUDIO
   Global Styles
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --bg: #080808;
    --bg-soft: #0d0d0d;

    --panel: #111111;
    --panel-light: #171717;

    --text: #f7f7f5;
    --text-soft: #d1d1cc;
    --muted: #9d9d98;

    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.20);

    --accent: #d8ff43;
    --accent-dark: #b8db30;

    --light: #f1efe9;
    --dark: #0b0b0b;

    --success: #b7e36d;
    --danger: #ff8585;

    --max-width: 1200px;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --header-height: 74px;

    --transition:
        180ms ease;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 25px);
}


body {

    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;
    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

}


body.menu-open {
    overflow: hidden;
}


img {

    display: block;

    max-width: 100%;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
select,
textarea {

    font: inherit;

}


button,
a {

    -webkit-tap-highlight-color: transparent;

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-link {

    position: fixed;

    top: 12px;
    left: 12px;

    z-index: 9999;

    padding: 12px 18px;

    background: var(--accent);
    color: #111;

    border-radius: 8px;

    font-weight: 800;

    transform: translateY(-150%);

    transition: transform var(--transition);

}


.skip-link:focus {

    transform: translateY(0);

}


:focus-visible {

    outline: 2px solid var(--accent);
    outline-offset: 4px;

}


/* =========================================================
   LAYOUT
========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin-inline: auto;

}


.narrow {

    width: min(760px, 100%);

}


.section {

    padding:
        clamp(75px, 9vw, 120px)
        0;

}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
p {

    margin-top: 0;

}


h1,
h2,
h3 {

    text-wrap: balance;

}


p {

    text-wrap: pretty;

}


.eyebrow,
.section-kicker {

    margin-bottom: 18px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;

}


.eyebrow.dark {

    color: #343434;

}


.lead {

    color: var(--muted);

    font-size:
        clamp(18px, 2vw, 21px);

}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 22px;

    border:
        1px solid
        var(--line);

    border-radius: 999px;

    font-weight: 750;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);

}


.btn:hover {

    transform: translateY(-2px);

}


.btn-accent {

    background: var(--accent);
    color: #101010;

    border-color: var(--accent);

}


.btn-accent:hover {

    background: var(--accent-dark);

    border-color:
        var(--accent-dark);

}


.btn-ghost {

    background:
        rgba(255, 255, 255, 0.05);

}


.btn-ghost:hover {

    background:
        rgba(255, 255, 255, 0.10);

}


.btn-small {

    min-height: 40px;

    padding:
        0 17px;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    height:
        var(--header-height);

    background:
        rgba(8, 8, 8, 0.88);

    border-bottom:
        1px solid var(--line);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

}


.nav-wrap {

    height: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display: inline-flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;

}


.brand-mark {

    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.38);

    border-radius: 50%;

    color: var(--accent);

    font-size: 16px;
    font-weight: 850;

}


.brand-content {

    display: flex;

    flex-direction: column;

    line-height: 1;

}


.brand-name {

    font-size: 14px;
    font-weight: 850;

    letter-spacing: 0.09em;

}


.brand-tagline {

    margin-top: 5px;

    color: #777773;

    font-size: 9px;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    gap: 27px;

    font-size: 14px;

}


.main-nav > a:not(.btn) {

    position: relative;

    color: #bdbdb8;

    transition:
        color var(--transition);

}


.main-nav > a:not(.btn):hover {

    color: #fff;

}


.main-nav > a.active {

    color: #fff;

}


.main-nav > a.active::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -12px;

    height: 2px;

    background:
        var(--accent);

    border-radius: 999px;

}


.nav-reserve {

    margin-left: 4px;

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    background: transparent;

    border: 0;

    cursor: pointer;

}


.menu-toggle span {

    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: #fff;

    transition:
        transform var(--transition),
        opacity var(--transition);

}


.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}


/* =========================================================
   COMMON PAGE HERO
========================================================= */

.page-hero {

    padding:
        clamp(90px, 11vw, 135px)
        0
        clamp(65px, 8vw, 95px);

    background:
        var(--bg-soft);

}


.page-hero h1 {

    max-width: 950px;

    margin-bottom: 26px;

    font-size:
        clamp(48px, 7vw, 90px);

    line-height: 0.96;

    letter-spacing:
        -0.055em;

}


.page-hero p {

    max-width: 750px;

    color: var(--muted);

    font-size:
        clamp(18px, 2vw, 21px);

}


/* =========================================================
   COMMON CONTENT
========================================================= */

.content-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        clamp(40px, 7vw, 80px);

    align-items: center;

}


.content-grid img {

    width: 100%;

    max-height: 650px;

    object-fit: cover;

    border-radius:
        var(--radius-lg);

}


.content-grid h2 {

    margin-bottom: 24px;

    font-size:
        clamp(38px, 5vw, 64px);

    line-height: 1;

    letter-spacing:
        -0.045em;

}


/* =========================================================
   LISTS
========================================================= */

.list-clean {

    margin: 30px 0;

    padding: 0;

    list-style: none;

}


.list-clean li {

    display: flex;

    justify-content:
        space-between;

    gap: 20px;

    padding:
        13px 0;

    border-bottom:
        1px solid var(--line);

}


.list-clean li span:last-child {

    color: var(--muted);

    text-align: right;

}


/* =========================================================
   FORMS
========================================================= */

label {

    color: #c9c9c4;

    font-size: 13px;

}


input,
select,
textarea {

    width: 100%;

    padding:
        14px 15px;

    color: #fff;

    background:
        #080808;

    border:
        1px solid
        var(--line);

    border-radius:
        var(--radius-sm);

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);

}


input:focus,
select:focus,
textarea:focus {

    border-color:
        var(--accent);

    box-shadow:
        0 0 0 3px
        rgba(216, 255, 67, 0.08);

}


textarea {

    min-height: 150px;

    resize: vertical;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding:
        78px 0 28px;

    background:
        #060606;

    border-top:
        1px solid var(--line);

}


.footer-main {

    display: grid;

    grid-template-columns:
        1.55fr
        0.8fr
        0.8fr
        1fr;

    gap:
        clamp(35px, 6vw, 75px);

}


.footer-brand {

    margin-bottom: 25px;

}


.footer-description {

    max-width: 350px;

    color: var(--muted);

    font-size: 14px;

}


.footer-location {

    margin-top: 28px;

    color: #d5d5d0;

    font-size: 14px;

}


.footer-label {

    display: block;

    margin-bottom: 5px;

    color: #70706c;

    font-size: 10px;

    font-weight: 800;

    letter-spacing:
        0.13em;

    text-transform: uppercase;

}


.footer-column h2 {

    margin-bottom: 20px;

    color: #777773;

    font-size: 11px;

    letter-spacing:
        0.14em;

    text-transform: uppercase;

}


.footer-column nav {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.footer-column nav a {

    color: #b6b6b1;

    font-size: 14px;

    transition:
        color var(--transition);

}


.footer-column nav a:hover {

    color: var(--accent);

}


.footer-contact-item {

    display: block;

    margin-bottom: 18px;

    color: #d0d0cb;

    font-size: 14px;

}


.footer-contact-item:hover {

    color: var(--accent);

}


/* =========================================================
   FOOTER CTA
========================================================= */

.footer-cta {

    display: flex;

    align-items: center;
    justify-content:
        space-between;

    gap: 40px;

    margin-top: 65px;

    padding:
        32px 0;

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);

}


.footer-cta-label {

    color: var(--accent);

    font-size: 10px;

    font-weight: 800;

    letter-spacing:
        0.15em;

}


.footer-cta p {

    max-width: 600px;

    margin:
        8px 0 0;

    color: #b7b7b2;

    font-size: 15px;

}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    gap: 25px;

    margin-top: 26px;

    color: #62625e;

    font-size: 11px;

}


.footer-bottom-center {

    text-align: center;

}


.footer-bottom > div:last-child {

    text-align: right;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .footer-main {

        grid-template-columns:
            1.5fr 1fr 1fr;

    }


    .footer-contact {

        grid-column:
            1 / -1;

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 20px;

        padding-top: 30px;

        border-top:
            1px solid var(--line);

    }


    .footer-contact h2 {

        grid-column:
            1 / -1;

    }

}


@media (max-width: 850px) {

    :root {

        --header-height: 68px;

    }


    .container {

        width:
            min(
                calc(100% - 28px),
                var(--max-width)
            );

    }


    /* NAV */

    .menu-toggle {

        display: block;

    }


    .main-nav {

        position: fixed;

        top:
            var(--header-height);

        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding:
            16px 20px
            28px;

        background:
            rgba(8, 8, 8, 0.98);

        border-bottom:
            1px solid var(--line);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);

    }


    .main-nav.open {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);

    }


    .main-nav > a:not(.btn) {

        padding:
            16px 4px;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.07);

        font-size: 16px;

    }


    .main-nav > a.active::after {

        display: none;

    }


    .main-nav .btn {

        width: 100%;

        margin-top: 18px;

    }


    .content-grid {

        grid-template-columns:
            1fr;

    }


    /* FOOTER */

    .footer-main {

        grid-template-columns:
            1fr 1fr;

    }


    .footer-brand-column {

        grid-column:
            1 / -1;

    }


    .footer-contact {

        grid-template-columns:
            1fr 1fr;

    }


    .footer-cta {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .footer-bottom {

        grid-template-columns:
            1fr;

    }


    .footer-bottom-center,
    .footer-bottom > div:last-child {

        text-align: left;

    }

}


@media (max-width: 560px) {

    .brand-tagline {

        display: none;

    }


    .footer-main {

        grid-template-columns:
            1fr;

    }


    .footer-brand-column,
    .footer-contact {

        grid-column: auto;

    }


    .footer-contact {

        display: block;

    }


    .footer-column {

        padding-top: 25px;

        border-top:
            1px solid var(--line);

    }


    .footer-cta .btn {

        width: 100%;

    }


    .list-clean li {

        flex-direction: column;

        gap: 4px;

    }


    .list-clean li span:last-child {

        text-align: left;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion:
    reduce
) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

    }

}