:root {
    --bg: #1f1f1f;
    --accent: #f2a24b;
    --text: #f4f1ea;
    --muted: #c8c0b6;
    --line: #8b8b8b;
}

* {
    box-sizing: border-box;
    font-family: "IBM Plex Mono", monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

.page-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
    padding: 28px 34px 36px;
    position: relative;
}

.nav,
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 14px 28px;
    border: 2px solid var(--accent);
    border-radius: 999px;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    background: var(--accent);
    color: var(--bg);
}

.btn-dark {
    border-color: var(--bg);
    color: var(--bg);
}

.btn-dark:hover {
    background: var(--bg);
    color: var(--accent);
}

.desktop-cta {
    display: inline-flex;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 10002;
}

.menu-toggle span {
    position: absolute;
    left: 5px;
    width: 32px;
    height: 2px;
    background: var(--accent);
    transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span:first-child {
    top: 14px;
}

.menu-toggle span:last-child {
    top: 24px;
}

.menu-toggle.active span:first-child {
    top: 19px;
    transform: rotate(45deg);
}

.menu-toggle.active span:last-child {
    top: 19px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 20px 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-cta {
    width: 100%;
    max-width: 520px;
    min-height: 64px;
    font-size: 1.1rem;
}

.hero {
    padding: 80px 0 140px;
}

.hero h1 {
    margin: 90px 0 18px;
    color: var(--accent);
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 1.02;
    max-width: 1200px;
}

.hero p {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2.6rem);
    max-width: 760px;
    line-height: 1.35;
}

.split-section {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 40px;
    padding: 28px 0 50px;
    border-top: 1px solid var(--accent);
}

.section-label {
    font-size: 1rem;
    color: var(--accent);
    padding-top: 6px;
}

.about-copy {
    max-width: 980px;
    color: var(--accent);
    font-size: clamp(1.6rem, 2vw, 2.45rem);
    line-height: 1.35;
    margin: 0;
}

.services-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.services-top h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.2vw, 2.5rem);
}

.service-list {
    max-width: 650px;
}

.service-item {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    font-size: clamp(1.4rem, 1.8vw, 2rem);
}

.banner {
    background: var(--accent);
    color: var(--bg);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 40px 0 32px;
    position: relative;
    text-align: center;
    margin-top: 30px;
}

.banner-track {
    display: flex;
    width: max-content;
    animation: scrollBanner 14s linear infinite;
}

.banner-text {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    padding: 0 40px;
    white-space: nowrap;
    line-height: 0.95;
}

.banner:hover .banner-track {
    animation-play-state: paused;
}

.banner-btn {
    margin-top: 24px;
}

.newsletter {
    padding: 44px 0 24px;
    border-top: 1px solid var(--line);
}

.newsletter h3 {
    margin: 0 0 12px;
    font-size: 2rem;
}

.newsletter p {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.newsletter-form input {
    width: min(420px, 100%);
}

input,
textarea {
    width: 100%;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--accent);
    padding: 14px 16px;
    font: inherit;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #a89d90;
}

input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px var(--accent) inset;
}

.form-message {
    min-height: 24px;
    margin-top: 12px;
    color: var(--accent);
}

.contact-page {
    padding-top: 40px;
}

.contact-title {
    color: var(--accent);
    font-size: clamp(3rem, 8vw, 6.7rem);
    margin: 80px 0 28px;
}

.project-form {
    max-width: 760px;
    margin: 0 auto 70px;
}

.project-form label {
    display: block;
    margin: 0 0 10px;
    font-weight: 700;
}

.project-form > div,
.two-col {
    margin-bottom: 28px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.full-btn {
    width: 100%;
    margin-top: 10px;
}

.contact-newsletter {
    margin-top: 80px;
}

.footer {
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: clamp(1.2rem, 2vw, 1.9rem);
}

@keyframes scrollBanner {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 10003;
    }

    .mobile-menu {
        top: 78px;
    }

    .desktop-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .section-label {
        padding-top: 0;
        font-size: 0.95rem;
    }

    .services-top {
        display: block;
    }

    .services-top h2 {
        margin-bottom: 20px;
        font-size: 1.1rem;
    }

    .services-desktop-btn {
        display: none;
    }

    .hero {
        padding: 36px 0 54px;
    }

    .hero h1 {
        margin: 54px 0 14px;
        font-size: 2.5rem;
        line-height: 1.12;
        max-width: 100%;
    }

    .hero p {
        font-size: 1.05rem;
        line-height: 1.5;
        max-width: 300px;
    }

    .about-copy {
        font-size: 1.05rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .service-item {
        font-size: 1rem;
        padding: 20px 0;
    }

    .banner {
        padding: 24px 0 20px;
    }

    .banner-text {
        font-size: 3.4rem;
    }

    .page-shell {
        padding: 18px 16px 30px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .contact-title {
        margin: 50px 0 24px;
        font-size: 3.4rem;
    }

    .newsletter h3 {
        font-size: 1.3rem;
    }

    .newsletter p {
        font-size: 0.92rem;
    }

    .logo-img {
        width: 34px;
        height: 34px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .btn {
        min-width: 0;
    }
}