@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap");


:root {
    --bg: #070809;
    --text: #e8e9e6;
    --muted: #70747a;
    --dim: #363a3e;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #b7ff4a;
}


/* --------------------------------
   RESET
-------------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


/* --------------------------------
   GRID
-------------------------------- */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            to right,
            var(--line) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            var(--line) 1px,
            transparent 1px
        );

    background-size: 72px 72px;
    opacity: 0.3;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            transparent 90%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            transparent 90%
        );
}


/* --------------------------------
   NOISE
-------------------------------- */

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.025;
    z-index: 20;

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}


/* --------------------------------
   SITE
-------------------------------- */

.site {
    width: min(
        calc(100% - 64px),
        1240px
    );

    margin: 0 auto;
}


/* --------------------------------
   HEADER
-------------------------------- */

.header {
    height: 96px;

    display: flex;
    align-items: center;
    justify-content: space-between;

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


/* --------------------------------
   BRAND GROUP
-------------------------------- */

.brand-group {
    height: 42px;

    display: flex;
    align-items: stretch;
}


/* --------------------------------
   BRAND
-------------------------------- */

.brand {
    height: 42px;

    display: flex;
    align-items: center;

    padding-right: 24px;

    color: var(--text);
    text-decoration: none;

    font-family: "DM Mono", monospace;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.brand span {
    color: var(--accent);
}

.brand:hover {
    color: var(--accent);
}


/* --------------------------------
   IDENTITY
-------------------------------- */

.identity {
    min-height: 42px;

    padding-left: 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 5px;

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

.identity-name {
    color: var(--text);

    font-family: "DM Mono", monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.2;

    white-space: nowrap;
}

.identity-alias {
    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
    line-height: 1.2;

    white-space: nowrap;
}


/* --------------------------------
   NAVIGATION
-------------------------------- */

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--muted);
    text-decoration: none;

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;

    transition: color 0.2s ease;
}

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


/* --------------------------------
   SYSTEM STATUS
-------------------------------- */

.status {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.08em;

    white-space: nowrap;
}

.status-dot {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 12px rgba(183, 255, 74, 0.55);

    animation: blink 2s infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}


/* --------------------------------
   GENERAL
-------------------------------- */

.section {
    padding: 120px 0;
    border-top: 1px solid var(--line);
}

.eyebrow {
    display: flex;
    gap: 18px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
}

.eyebrow span {
    color: var(--accent);
}


/* --------------------------------
   HERO
-------------------------------- */

.hero {
    padding: 105px 0 100px;
}

.hero-grid {
    margin-top: 60px;

    display: grid;
    grid-template-columns: 1.5fr 0.75fr;

    gap: 100px;

    align-items: end;
}

.hero-title {
    min-width: 0;
}

.name {
    display: flex;
    flex-direction: column;

    gap: 5px;
    margin-bottom: 28px;

    color: var(--text);

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.09em;
}

.name span {
    color: var(--muted);
}


/* --------------------------------
   H1
-------------------------------- */

h1 {
    font-size: clamp(
        70px,
        10vw,
        145px
    );

    line-height: 0.83;

    font-weight: 500;

    letter-spacing: -0.075em;
}

h1 span {
    color: var(--muted);
}


/* --------------------------------
   HERO COPY
-------------------------------- */

.hero-copy {
    max-width: 390px;

    padding-bottom: 6px;

    font-family: "DM Mono", monospace;
    font-size: 11px;
    line-height: 1.8;
}

.hero-copy .lead {
    margin-bottom: 20px;

    color: var(--text);

    font-size: 12px;
}

.primary-link {
    display: inline-flex;
    gap: 15px;

    margin-top: 28px;
    padding-bottom: 8px;

    color: var(--text);
    text-decoration: none;

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

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.primary-link span {
    color: var(--accent);
}

.primary-link:hover {
    color: var(--accent);
    gap: 21px;
}


/* --------------------------------
   HERO DOMAINS
-------------------------------- */

.hero-domains {
    margin-top: 105px;

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

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

.hero-domains div {
    min-height: 88px;

    padding: 18px 15px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

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

    color: #a5a8ac;

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.06em;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.hero-domains div:first-child {
    border-left: 1px solid var(--line);
}

.hero-domains div:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.025);
}

.hero-domains span {
    color: var(--dim);
    font-size: 8px;
}


/* --------------------------------
   SECTION HEADER
-------------------------------- */

.section-header {
    margin-bottom: 55px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;
}

.section-header > p {
    max-width: 360px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1.7;
}


/* --------------------------------
   SERVICES
-------------------------------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

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

.service-card {
    min-height: 390px;

    padding: 25px;

    display: flex;
    flex-direction: column;

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

    transition: background 0.25s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.02);
}

.service-number {
    color: var(--dim);

    font-family: "DM Mono", monospace;
    font-size: 9px;
}

.service-card h2 {
    margin-top: 70px;

    color: var(--text);

    font-size: 32px;
    font-weight: 500;

    letter-spacing: -0.04em;
}

.service-card > p {
    max-width: 430px;

    margin-top: 16px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1.8;
}

.service-list {
    margin-top: 25px;

    display: flex;
    flex-direction: column;

    gap: 7px;

    color: #999da1;

    font-family: "DM Mono", monospace;
    font-size: 8px;
}

.service-list span::before {
    content: "→";

    margin-right: 8px;

    color: var(--dim);
}

.from {
    margin-top: auto;
    padding-top: 30px;

    color: var(--accent);

    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
}


/* --------------------------------
   PRICING NOTE
-------------------------------- */

.pricing-note {
    margin-top: 25px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 9px;
    line-height: 1.7;
}

.pricing-note span {
    color: var(--accent);
}

.pricing-note a {
    margin-left: 8px;

    color: var(--text);
    text-decoration: none;

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

.pricing-note a:hover {
    color: var(--accent);
    border-color: var(--accent);
}


/* --------------------------------
   PROJECTS
-------------------------------- */

.project {
    display: grid;
    grid-template-columns: 80px 1fr auto;

    gap: 30px;

    padding: 45px 0;

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

.project:last-child {
    border-bottom: 1px solid var(--line);
}

.project-index {
    color: var(--dim);

    font-family: "DM Mono", monospace;
    font-size: 9px;
}

.project-label {
    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.08em;
}

.project-main h2 {
    margin-top: 20px;

    font-size: clamp(
        45px,
        7vw,
        90px
    );

    line-height: 0.85;

    font-weight: 500;

    letter-spacing: -0.065em;
}

.project-main h2 span {
    color: var(--muted);
}

.project-main p {
    max-width: 570px;

    margin-top: 25px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1.8;
}

.project-tags {
    margin-top: 25px;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.project-tags span {
    padding: 6px 9px;

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

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 7px;
    letter-spacing: 0.06em;
}

.project-status {
    align-self: start;

    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.06em;
}

.project-status span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--accent);
}


/* --------------------------------
   ABOUT
-------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 100px;
}

.about-grid h2 {
    font-size: clamp(
        45px,
        6vw,
        80px
    );

    line-height: 0.9;

    font-weight: 500;

    letter-spacing: -0.065em;
}

.about-grid h2 span {
    color: var(--muted);
}

.about-copy {
    max-width: 470px;

    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1.9;
}

.about-copy p {
    color: var(--muted);
}

.about-copy p:first-child {
    color: var(--text);
}

.about-copy p + p {
    margin-top: 20px;
}


/* --------------------------------
   FUTURE
-------------------------------- */

.future-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

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

.future-grid div {
    min-height: 120px;

    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

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

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 9px;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.future-grid div:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.future-grid span {
    color: var(--dim);
}

.future-note {
    max-width: 600px;

    margin-top: 20px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 9px;
    line-height: 1.7;
}


/* --------------------------------
   CONTACT
-------------------------------- */

.contact {
    padding-bottom: 150px;
}

.contact-grid {
    margin-top: 70px;

    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

    gap: 100px;

    align-items: end;
}

.contact-grid h2 {
    font-size: clamp(
        60px,
        9vw,
        125px
    );

    line-height: 0.83;

    font-weight: 500;

    letter-spacing: -0.075em;
}

.contact-grid h2 span {
    color: var(--muted);
}

.contact-grid p {
    max-width: 360px;

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1.8;
}

.contact-link {
    display: inline-block;

    margin-top: 30px;
    padding-bottom: 8px;

    color: var(--text);
    text-decoration: none;

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

    font-family: "DM Mono", monospace;
    font-size: 11px;

    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--accent);
}


/* --------------------------------
   FOOTER
-------------------------------- */

.footer {
    min-height: 82px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

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

    color: var(--muted);

    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.06em;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer a {
    color: var(--muted);

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--accent);
}

.footer > div:last-child {
    justify-self: end;
    color: var(--dim);
}


/* --------------------------------
   TABLET
-------------------------------- */

@media (max-width: 900px) {

    .nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-copy {
        max-width: 500px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}


/* --------------------------------
   MOBILE
-------------------------------- */

@media (max-width: 700px) {

    .site {
        width: calc(100% - 40px);
    }

    .header {
        height: 76px;
    }

    .status {
        display: none;
    }

    .hero {
        padding: 75px 0;
    }

    .hero-grid {
        margin-top: 50px;
    }

    h1 {
        font-size: clamp(
            58px,
            17vw,
            100px
        );
    }

    .hero-domains {
        margin-top: 70px;

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

    .hero-domains div:nth-child(2n) {
        border-right: 0;
    }

    .hero-domains div:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .section {
        padding: 85px 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 350px;
    }

    .project {
        grid-template-columns: 35px 1fr;
        gap: 15px;
    }

    .project-status {
        grid-column: 2;
        margin-top: 25px;
    }

    .future-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding-bottom: 100px;
    }

    .contact-grid {
        margin-top: 50px;
    }

    .footer {
        display: flex;
        flex-wrap: wrap;

        gap: 20px;

        padding: 25px 0;
    }

    .footer-links {
        width: 100%;

        order: 3;

        flex-wrap: wrap;

        gap: 20px;
    }

    .footer > div:last-child {
        margin-left: auto;
    }
}


/* --------------------------------
   SMALL MOBILE
-------------------------------- */

@media (max-width: 450px) {

    .hero-domains {
        grid-template-columns: 1fr;
    }

    .hero-domains div,
    .hero-domains div:nth-child(2n) {
        border-right: 1px solid var(--line);
    }

    .hero-domains div + div {
        border-top: 1px solid var(--line);
    }

    .service-card h2 {
        margin-top: 55px;
    }

    .project-main h2 {
        font-size: 47px;
    }

    .about-grid h2 {
        font-size: 48px;
    }

    .contact-grid h2 {
        font-size: 65px;
    }
}