/* =========================================================
   LOGIXZONE — FINAL DESIGN SYSTEM
========================================================= */

:root {
    --bg: #f3f2ee;
    --ink: #111111;
    --muted: #77736c;
    --soft: #5c5953;
    --line: rgba(17, 17, 17, 0.13);
    --purple: #8b42ff;

    --page-x: clamp(20px, 4vw, 64px);

    --header-h: 64px;
    --header-top: 16px;

    --radius: 18px;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--ink);

    font-family: "Manrope", sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

section {
    scroll-margin-top: 100px;
}


/* =========================================================
   FLOATING NAVBAR
========================================================= */

.site-header {
    position: fixed;

    top: var(--header-top);
    left: 50%;

    width: calc(100% - 36px);
    max-width: 1480px;

    height: var(--header-h);

    transform: translateX(-50%);

    z-index: 300;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 10px 0 21px;

    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: var(--radius);

    background: rgba(243, 242, 238, 0.38);

    backdrop-filter: blur(20px) saturate(115%);
    -webkit-backdrop-filter: blur(20px) saturate(115%);

    box-shadow:
        0 10px 35px rgba(17, 17, 17, 0.055);

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 400px;
    height: auto;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* =========================================================
   AVAILABILITY
========================================================= */

.availability {
    display: flex;
    align-items: center;
    gap: 8px;

    font-family: "DM Mono", monospace;
    font-size: 16px;
    line-height: 1;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--ink);

    white-space: nowrap;
}

.availability-dot {
    width: 6px;
    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--purple);

    box-shadow:
        0 0 0 3px rgba(139, 66, 255, 0.08);
}


/* =========================================================
   MENU BUTTON
========================================================= */

.menu-toggle {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 0;

    border: 1px solid rgba(17, 17, 17, 0.13);
    border-radius: 50%;

    background: rgba(243, 242, 238, 0.35);

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.48);
    border-color: rgba(17, 17, 17, 0.25);
}

.menu-toggle:active {
    transform: scale(0.94);
}

.menu-toggle span {
    display: block;

    width: 15px;
    height: 1.5px;

    background: var(--ink);

    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}


/* =========================================================
   OPEN ICON
========================================================= */

.menu-toggle.active span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle.active span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}


/* =========================================================
   FULLSCREEN MENU
========================================================= */

.site-menu {
    position: fixed;
    inset: 0;

    z-index: 250;

    background: rgba(243, 242, 238, 0.975);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.site-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-inner {
    width: 100%;
    height: 100%;

    padding:
        calc(var(--header-h) + var(--header-top) + 34px)
        var(--page-x)
        35px;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   MENU TOP
========================================================= */

.menu-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--line);

    font-family: "DM Mono", monospace;
    font-size: 9px;

    letter-spacing: 0.09em;
    text-transform: uppercase;

    color: var(--muted);
}


/* =========================================================
   MENU LINKS
========================================================= */

.menu-links {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 4px;
}

.menu-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;

    width: 100%;

    padding: 7px 0;

    border-bottom: 1px solid transparent;

    transition:
        color 0.2s ease,
        padding-left 0.25s ease;
}

.menu-link-name {
    font-size: clamp(2.8rem, 6vw, 6rem);

    line-height: 0.9;

    font-weight: 700;

    letter-spacing: -0.065em;
}

.menu-link-number {
    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.08em;

    color: var(--muted);
}

.menu-link:hover {
    color: var(--purple);
    padding-left: 8px;
}


/* =========================================================
   MENU BOTTOM
========================================================= */

.menu-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid var(--line);

    font-family: "DM Mono", monospace;
    font-size: 9px;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--muted);
}


/* =========================================================
   MAIN
========================================================= */

main {
    width: 100%;
}


/* =========================================================
   HERO + TEAM
========================================================= */

.hero-team-row {
    width: 100%;

    display: flex;
    align-items: stretch;

    padding-top:
        calc(
            var(--header-h) +
            var(--header-top) +
            24px
        );

    border-bottom: 1px solid var(--line);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    flex: 1 1 50%;

    min-width: 0;

    min-height: calc(100svh - 105px);

    padding:
        clamp(55px, 7vh, 90px)
        var(--page-x)
        clamp(45px, 6vh, 70px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-right: 1px solid var(--line);
}

.hero-main {
    max-width: 780px;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
    display: flex;
    align-items: center;

    gap: 11px;

    margin:
        0 0
        clamp(34px, 5vh, 58px);

    font-family: "DM Mono", monospace;

    font-size: 15px;

    line-height: 1.3;

    letter-spacing: 0.11em;

    text-transform: uppercase;

    color: var(--ink);
}

.eyebrow::before {
    content: "";

    width: 24px;
    height: 1px;

    flex-shrink: 0;

    background: var(--purple);
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero h1 {
    margin: 0;

    max-width: 760px;

    font-size: clamp(3.1rem, 5.2vw, 6rem);

    line-height: 0.91;

    font-weight: 800;

    letter-spacing: -0.068em;
}

.hero h1 span {
    color: var(--purple);
}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-top: 55px;
}

.hero-intro {
    max-width: 390px;
}

.hero-intro p {
    margin: 0;

    font-size: clamp(13px, 1vw, 15px);

    line-height: 1.7;

    color: var(--soft);
}


/* =========================================================
   SCROLL LINK
========================================================= */

.scroll-link {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding-bottom: 3px;

    font-family: "DM Mono", monospace;

    font-size: 15px;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    color: var(--muted);

    border-bottom: 1px solid transparent;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.scroll-link:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.scroll-arrow {
    font-size: 14px;
    color: var(--purple);
}


/* =========================================================
   TEAM
========================================================= */

.team-section {
    flex: 1 1 50%;

    min-width: 0;

    min-height: calc(100svh - 105px);

    padding:
        40px
        var(--page-x)
        40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* =========================================================
   TEAM HEADING
========================================================= */

.section-heading {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 17px;
    margin-bottom: 25px;

    border-bottom: 1px solid var(--line);

    font-family: "DM Mono", monospace;

    font-size: 15px;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--ink);
}


/* =========================================================
   TEAM FRAME
========================================================= */

.team-frame {
    position: relative;

    width: 100%;

    max-width: 680px;

    margin-inline: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: visible;
}


/* =========================================================
   TEAM IMAGE
========================================================= */

.team-image {
    display: block;

    width: 100%;

    height: auto;

    max-height: min(60vh, 570px);

    margin-inline: auto;

    object-fit: contain;
    object-position: center;
}


/* =========================================================
   TEAM CAPTION
========================================================= */

.team-caption {
    position: static;

    width: calc(100% - 34px);

    margin: 14px auto 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 14px;

    background: rgba(17, 17, 17, 0.72);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.08);

    color: #fff;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    line-height: 1.2;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.team-caption span:last-child {
    color: rgba(255, 255, 255, 0.5);
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding:
        clamp(90px, 12vw, 170px)
        var(--page-x);

    display: grid;

    grid-template-columns:
        minmax(120px, 0.3fr)
        minmax(0, 1fr);

    gap: clamp(30px, 6vw, 100px);

    border-bottom: 1px solid var(--line);
}

.about-index {
    font-family: "DM Mono", monospace;

    font-size: 15px;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--ink);
}

.about-content {
    min-width: 0;

    max-width: 1000px;
}

.about-content h2 {
    margin: 0;

    font-size: clamp(2.7rem, 5.2vw, 5.8rem);

    line-height: 0.93;

    font-weight: 800;

    letter-spacing: -0.065em;
}

.about-content h2 span {
    color: var(--purple);
}

.about-copy {
    display: grid;

    grid-template-columns:
        minmax(100px, 0.5fr)
        minmax(0, 1fr);

    gap: 40px;

    margin-top: 55px;
}

.about-copy p {
    max-width: 620px;

    margin: 0 0 18px;

    font-size: clamp(14px, 1.25vw, 17px);

    line-height: 1.75;

    color: var(--soft);
}

.about-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding:
        clamp(90px, 12vw, 160px)
        var(--page-x);

    border-bottom: 1px solid var(--line);
}

.services-heading {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 65px;

    font-family: "DM Mono", monospace;

    font-size: 15px;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--ink);
}

.services-list {
    width: 100%;

    border-top: 1px solid var(--line);
}

.service {
    display: grid;

    grid-template-columns:
        80px
        minmax(0, 1fr)
        35px;

    align-items: center;

    gap: 25px;

    min-height: 150px;

    padding: 25px 0;

    border-bottom: 1px solid var(--line);

    transition:
        padding-left 0.25s ease,
        padding-right 0.25s ease;
}

.service:hover {
    padding-left: 8px;
    padding-right: 8px;
}

.service-index {
    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.08em;

    color: var(--muted);
}

.service-title h3 {
    margin: 0;

    font-size: clamp(1.7rem, 3vw, 3.2rem);

    line-height: 0.98;

    font-weight: 600;

    letter-spacing: -0.055em;
}

.service-arrow {
    justify-self: end;

    font-size: 20px;

    color: var(--purple);

    transition: transform 0.25s ease;
}

.service:hover .service-arrow {
    transform: translate(3px, -3px);
}


/* =========================================================
   COMING SOON
========================================================= */

.coming-section {
    min-height: 75vh;

    padding:
        clamp(85px, 11vw, 150px)
        var(--page-x);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);
}

.coming-header {
    display: flex;
    justify-content: space-between;

    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--ink);
}

.coming-main {
    margin-top: 70px;
    margin-bottom: 80px;
}

.coming-main .eyebrow {
    margin-bottom: 35px;
}

.coming-main h2 {
    max-width: 1000px;

    margin: 0;

    font-size: clamp(3.2rem, 7vw, 7.8rem);

    line-height: 0.89;

    font-weight: 800;

    letter-spacing: -0.075em;
}

.coming-main h2 span {
    color: var(--purple);
}

.coming-main p {
    max-width: 450px;

    margin: 35px 0 0;

    font-size: 15px;

    line-height: 1.7;

    color: var(--ink);
}


/* =========================================================
   DEVELOPMENT
========================================================= */

.development {
    width: 100%;

    max-width: 650px;
}

.development-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;

    font-family: "DM Mono", monospace;

    font-size: 15px;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    color: var(--muted);
}

.development-meta strong {
    font-weight: 400;
    color: var(--ink);
}

.progress-track {
    width: 100%;

    height: 2px;

    overflow: hidden;

    background: rgba(17, 17, 17, 0.12);
}

.progress-bar {
    width: 0;

    height: 100%;

    background: var(--purple);

    transition:
        width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-bar.loaded {
    width: 25%;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding:
        clamp(90px, 12vw, 160px)
        var(--page-x);

    border-bottom: 1px solid var(--line);
}

.contact-eyebrow {
    display: block;

    margin-bottom: 45px;

    font-family: "DM Mono", monospace;

    font-size: 15px;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--muted);
}

.contact-email {
    display: inline-block;

    max-width: 100%;

    font-size: clamp(2.3rem, 6vw, 7rem);

    line-height: 0.95;

    font-weight: 700;

    letter-spacing: -0.065em;

    overflow-wrap: normal;

    white-space: nowrap;

    border-bottom: 2px solid var(--ink);

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.contact-email:hover {
    color: var(--purple);
    border-color: var(--purple);
}

.contact-footer {
    margin-top: 70px;

    padding-top: 18px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    border-top: 1px solid var(--line);

    font-family: "DM Mono", monospace;

    font-size: 15px;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: var(--ink);
}

.contact-footer span:last-child {
    font-size: 18px;
    color: var(--purple);
}


/* =========================================================
   PREMIUM FOOTER
========================================================= */

.site-footer {
    position: relative;

    width: 100%;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 30px;

    padding:
        30px
        var(--page-x)
        max(30px, env(safe-area-inset-bottom));

    background: rgba(243, 242, 238, 0.75);

    font-family: "DM Mono", monospace;

    font-size: 15px;

    line-height: 1.4;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: black;
}

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;

    left: var(--page-x);
    right: var(--page-x);

    height: 1px;

    background: var(--line);
}

.site-footer span:first-child {
    justify-self: start;
}

.site-footer span:nth-child(2) {
    justify-self: center;

    color: var(--ink);
}

.site-footer span:last-child {
    justify-self: end;

    text-align: right;
}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1050px) {

    :root {
        --page-x: 30px;
    }

    .site-header {
        width: calc(100% - 30px);
    }

    .hero h1 {
        font-size: clamp(3rem, 5.8vw, 5.2rem);
    }

    .hero-bottom {
        gap: 20px;
    }

    .service {
        grid-template-columns:
            55px
            minmax(0, 1fr)
            30px;
    }
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 820px) {

    :root {
        --page-x: 20px;

        --header-h: 58px;
        --header-top: 10px;
    }


    /* -----------------------------------------------------
       NAVBAR
    ----------------------------------------------------- */

    .site-header {
        top: 10px;

        width: calc(100% - 20px);

        height: 58px;

        padding:
            0
            8px
            0
            16px;

        border-radius: 15px;

        background: rgba(243, 242, 238, 0.42);

        backdrop-filter: blur(18px) saturate(115%);
        -webkit-backdrop-filter: blur(18px) saturate(115%);

        box-shadow:
            0 8px 28px rgba(17, 17, 17, 0.06);
    }


    /* BIGGER MOBILE LOGO */

    .brand img {
        width: 125px;
    }


    /* -----------------------------------------------------
       MOBILE AVAILABILITY
    ----------------------------------------------------- */

    .availability {
        display: flex;
        align-items: center;

        gap: 7px;

        font-family: "DM Mono", monospace;

        font-size: 8px;

        line-height: 1;

        letter-spacing: 0.055em;

        text-transform: uppercase;

        color: var(--ink);

        white-space: nowrap;
    }

    .availability-dot {
        width: 5px;
        height: 5px;

        flex-shrink: 0;

        border-radius: 50%;

        background: var(--purple);

        box-shadow:
            0 0 0 3px rgba(139, 66, 255, 0.08);
    }

    .header-actions {
        display: flex;
        align-items: center;

        gap: 10px;

        flex-shrink: 0;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }


    /* -----------------------------------------------------
       MENU
    ----------------------------------------------------- */

    .menu-inner {
        padding:
            calc(var(--header-h) + 55px)
            var(--page-x)
            max(28px, env(safe-area-inset-bottom));
    }

    .menu-top {
        font-size: 8px;
    }

    .menu-links {
        justify-content: center;
        gap: 7px;
    }

    .menu-link-name {
        font-size: clamp(2.5rem, 13vw, 4.2rem);
    }

    .menu-link-number {
        font-size: 8px;
    }

    .menu-bottom {
        font-size: 8px;
    }


    /* -----------------------------------------------------
       HERO + TEAM
    ----------------------------------------------------- */

    .hero-team-row {
        display: block;

        padding-top:
            calc(
                var(--header-h) +
                var(--header-top) +
                20px
            );
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .hero {
        width: 100%;

        min-height: auto;

        padding:
            55px
            var(--page-x)
            50px;

        border-right: 0;

        border-bottom: 1px solid var(--line);
    }

    .eyebrow {
        margin-bottom: 32px;
        font-size: 8px;
    }

    .hero h1 {
        max-width: 500px;

        font-size: clamp(2.75rem, 13.5vw, 4.7rem);

        line-height: 0.92;

        letter-spacing: -0.068em;
    }

    .hero-bottom {
        display: block;

        margin-top: 46px;
    }

    .hero-intro {
        max-width: 470px;
    }

    .hero-intro p {
        font-size: 13.5px;
        line-height: 1.72;
    }

    .scroll-link {
        margin-top: 25px;
    }


    /* -----------------------------------------------------
       TEAM
    ----------------------------------------------------- */

    .team-section {
        width: 100%;

        min-height: auto;

        padding:
            28px
            var(--page-x)
            70px;

        display: block;
    }

    .section-heading {
        margin-bottom: 24px;

        padding-bottom: 14px;

        font-size: 8px;
    }

    .team-frame {
        width: 100%;

        max-width: 650px;

        margin-inline: auto;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        overflow: visible;
    }

    .team-image {
        display: block;

        width: 100%;

        max-width: 650px;

        height: auto;

        max-height: none;

        margin-inline: auto;

        object-fit: contain;
        object-position: center;
    }

    .team-caption {
        position: static;

        width: calc(100% - 18px);

        margin: 12px auto 0;

        padding: 10px 12px;

        font-size: 7px;
    }


    /* -----------------------------------------------------
       ABOUT
    ----------------------------------------------------- */

    .about-section {
        display: block;

        padding:
            85px
            var(--page-x);
    }

    .about-content {
        margin-top: 34px;
    }

    .about-content h2 {
        font-size: clamp(2.45rem, 12vw, 4.5rem);

        line-height: 0.92;
    }

    .about-copy {
        display: block;

        margin-top: 38px;
    }

    .about-copy p {
        font-size: 14px;
        line-height: 1.72;
    }


    /* -----------------------------------------------------
       SERVICES
    ----------------------------------------------------- */

    .services-section {
        padding:
            85px
            var(--page-x);
    }

    .services-heading {
        margin-bottom: 48px;

        font-size: 8px;
    }

    .service {
        grid-template-columns:
            35px
            minmax(0, 1fr)
            25px;

        gap: 14px;

        min-height: 120px;

        padding: 25px 0;
    }

    .service:hover {
        padding-left: 0;
        padding-right: 0;
    }

    .service-title h3 {
        font-size: clamp(1.35rem, 7vw, 2rem);

        line-height: 1;
    }

    .service-index {
        font-size: 8px;
    }

    .service-arrow {
        font-size: 17px;
    }


    /* -----------------------------------------------------
       COMING SOON
    ----------------------------------------------------- */

    .coming-section {
        min-height: 72vh;

        padding:
            90px
            var(--page-x)
            75px;
    }

    .coming-header {
        font-size: 9px;
    }

    .coming-main {
        margin-top: 72px;
        margin-bottom: 72px;
    }

    .coming-main .eyebrow {
        margin-bottom: 32px;

        font-size: 9px;
    }

    .coming-main h2 {
        font-size: clamp(3.2rem, 15vw, 5.5rem);

        line-height: 0.88;

        letter-spacing: -0.075em;
    }

    .coming-main p {
        max-width: 420px;

        margin-top: 30px;

        font-size: 14px;

        line-height: 1.7;
    }

    .development {
        max-width: 100%;
    }

    .development-meta {
        font-size: 8px;
    }


    /* -----------------------------------------------------
       CONTACT
    ----------------------------------------------------- */

    .contact-section {
        padding:
            85px
            var(--page-x);
    }

    .contact-eyebrow {
        margin-bottom: 35px;

        font-size: 8px;
    }

    /*
       IMPORTANT:
       Email stays on ONE line.
       Font scales based on available width.
    */

    .contact-email {
        display: block;

        width: max-content;

        max-width: none;

        white-space: nowrap;

        font-size: clamp(
            1.55rem,
            8.2vw,
            4rem
        );

        line-height: 1;

        letter-spacing: -0.055em;

        border-bottom-width: 1px;
    }

    .contact-footer {
        margin-top: 55px;

        font-size: 8px;
    }


    /* -----------------------------------------------------
       MOBILE FOOTER
    ----------------------------------------------------- */

    .site-footer {
        min-height: 125px;

        display: grid;

        grid-template-columns: 1fr 1fr;

        grid-template-areas:
            "brand year"
            "copyright copyright";

        align-items: center;

        gap: 16px;

        padding:
            24px
            var(--page-x)
            max(24px, env(safe-area-inset-bottom));

        text-align: initial;

        font-size: 8px;

        letter-spacing: 0.07em;

        line-height: 1.4;
    }

    .site-footer::before {
        left: var(--page-x);
        right: var(--page-x);
    }

    .site-footer span:first-child {
        grid-area: brand;

        justify-self: start;

        text-align: left;
    }

    .site-footer span:nth-child(2) {
        grid-area: year;

        justify-self: end;

        text-align: right;

        order: initial;
    }

    .site-footer span:last-child {
        grid-area: copyright;

        justify-self: center;

        width: 100%;

        padding-top: 14px;

        border-top: 1px solid var(--line);

        text-align: center;

        color: var(--muted);
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 430px) {

    :root {
        --page-x: 18px;
    }


    /* -----------------------------------------------------
       NAV
    ----------------------------------------------------- */

    .site-header {
        top: 9px;

        width: calc(100% - 18px);

        height: 56px;

        border-radius: 14px;

        padding-left: 15px;
        padding-right: 7px;
    }

    .brand img {
        width: 116px;
    }

    .availability {
        font-size: 7px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .hero {
        padding-top: 50px;
        padding-bottom: 47px;
    }

    .hero h1 {
        font-size:
            clamp(
                2.65rem,
                14.2vw,
                4rem
            );
    }

    .hero-bottom {
        margin-top: 43px;
    }


    /* -----------------------------------------------------
       TEAM
    ----------------------------------------------------- */

    .team-section {
        padding-top: 24px;
        padding-bottom: 58px;
    }

    .team-frame {
        width: min(100%, 355px);

        margin-inline: auto;
    }

    .team-image {
        width: 100%;

        max-width: 355px;

        margin-inline: auto;
    }

    .team-caption {
        width: calc(100% - 14px);

        margin-top: 10px;

        padding: 10px 11px;

        font-size: 6.5px;
    }


    /* -----------------------------------------------------
       SERVICES
    ----------------------------------------------------- */

    .service {
        grid-template-columns:
            28px
            minmax(0, 1fr)
            20px;

        gap: 10px;
    }

    .service-title h3 {
        font-size: 1.28rem;
    }


    /* -----------------------------------------------------
       COMING
    ----------------------------------------------------- */

    .coming-section {
        min-height: 70vh;

        padding:
            82px
            var(--page-x)
            68px;
    }

    .coming-main {
        margin-top: 65px;
        margin-bottom: 65px;
    }

    .coming-main h2 {
        font-size:
            clamp(
                3rem,
                15.5vw,
                4.7rem
            );
    }

    .coming-main p {
        margin-top: 27px;

        font-size: 13px;
    }


    /* -----------------------------------------------------
       EMAIL
    ----------------------------------------------------- */

    .contact-email {
        /*
           430px and below:
           Scale email based on viewport so it remains
           completely visible on one line.
        */

        font-size: clamp(
            1.42rem,
            7.8vw,
            3.4rem
        );

        letter-spacing: -0.055em;
    }


    /* -----------------------------------------------------
       FOOTER
    ----------------------------------------------------- */

    .site-footer {
        min-height: 118px;

        padding:
            22px
            var(--page-x)
            max(22px, env(safe-area-inset-bottom));

        gap: 14px;

        font-size: 7.5px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    :root {
        --page-x: 16px;
    }


    /* NAV */

    .site-header {
        width: calc(100% - 16px);
    }

    .brand img {
        width: 108px;
    }

    .availability {
        font-size: 6.5px;

        gap: 5px;
    }

    .availability-dot {
        width: 4px;
        height: 4px;
    }

    .header-actions {
        gap: 7px;
    }


    /* HERO */

    .hero h1 {
        font-size: 2.5rem;
    }


    /* TEAM */

    .team-frame {
        width: min(100%, 325px);
    }

    .team-image {
        max-width: 325px;
    }

    .team-caption {
        width: calc(100% - 10px);

        padding: 9px 10px;

        font-size: 6px;
    }


    /* SERVICES */

    .service-title h3 {
        font-size: 1.18rem;
    }


    /* COMING */

    .coming-main h2 {
        font-size: 2.8rem;
    }


    /* EMAIL */

    .contact-email {
        font-size: 1.30rem;

        letter-spacing: -0.055em;
    }


    /* FOOTER */

    .site-footer {
        font-size: 7px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}