:root {
    --bg: #09090b;
    --panel: #111114;
    --panel2: #17171b;
    --line: #29292f;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #ff653d;
    --max: 1240px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Manrope, system-ui, sans-serif;
    overflow-x: hidden
}

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

.nav {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    background: rgba(9, 9, 11, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.logo {
    font: 700 25px 'DM Mono';
    letter-spacing: -2px
}

.logo span,
.contact-bg span,
em {
    color: var(--accent);
    font-style: normal
}

.nav nav {
    display: flex;
    gap: 30px;
    color: #c9c9cf;
    font-size: 14px
}

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

.nav-cta,
.btn {
    border: 1px solid var(--line);
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px
}

.nav-cta {
    background: #151519
}

.menu {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 25px
}

.hero {
    min-height: 900px;
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 30px;
    max-width: var(--max);
    margin: auto;
    padding: 150px 30px 100px
}

.hero-grid {
    position: absolute;
    inset: 78px 0 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    pointer-events: none
}

.hero-copy {
    position: relative;
    z-index: 2
}

.eyebrow,
.label {
    font: 500 11px 'DM Mono';
    letter-spacing: 2px;
    color: #a7a7af
}

.eyebrow i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #43e58b;
    box-shadow: 0 0 15px #43e58b;
    margin-right: 9px
}

.hero h1 {
    font-size: clamp(58px, 8vw, 112px);
    line-height: .92;
    letter-spacing: -6px;
    margin: 28px 0
}

.hero p {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 35px
}

.btn {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent)
}

.ghost {
    background: #121216
}

.hero-orb {
    width: min(420px, 80vw);
    aspect-ratio: 1;
    margin: auto;
    position: relative;
    display: grid;
    place-items: center
}

.orb-core {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #29292f, #09090b 65%);
    border: 1px solid #3b3b42;
    box-shadow: 0 0 80px rgba(255, 101, 61, .18), inset 0 0 60px #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg)
}

.orb-core span {
    font: 500 12px 'DM Mono';
    letter-spacing: 5px
}

.orb-core b {
    font-size: 55px;
    letter-spacing: -4px
}

.orb-ring {
    position: absolute;
    border: 1px solid rgba(255, 101, 61, .35);
    border-radius: 50%;
    inset: 12%;
    transform: rotate(30deg) skewX(-15deg);
    animation: spin 16s linear infinite
}

.r2 {
    inset: 0 18%;
    transform: rotate(-35deg);
    animation-duration: 11s;
    animation-direction: reverse;
    border-color: #666
}

.orb-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 25px var(--accent)
}

.d1 {
    top: 8%;
    right: 20%
}

.d2 {
    bottom: 15%;
    left: 8%;
    width: 6px;
    height: 6px
}

.scroll-note {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #666;
    font: 11px 'DM Mono';
    letter-spacing: 2px
}

.ticker {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: #0d0d10
}

.ticker-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 22px 0;
    font: 12px 'DM Mono';
    letter-spacing: 2px;
    animation: ticker 28s linear infinite
}

.ticker b {
    color: var(--accent)
}

.section {
    max-width: var(--max);
    margin: auto;
    padding: 150px 30px
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 60px
}

.section-head h2 {
    font-size: clamp(45px, 6vw, 82px);
    line-height: .95;
    letter-spacing: -4px;
    margin: 15px 0 0
}

.section-head>p {
    max-width: 430px;
    color: var(--muted);
    line-height: 1.8
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px
}

.project-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: .35s;
    display: flex;
    flex-direction: column
}

.project-card:first-child {
    grid-column: span 2
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: #494950
}

.project-visual {
    min-height: 340px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 20px;
    display: flex;
    align-items: end;
    background-color: #18181c
}

.project-card:first-child .project-visual {
    min-height: 480px
}

.visual-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    font: 11px 'DM Mono';
    color: #aaa
}

.visual-copy {
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(12px);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    width: min(500px, 90%)
}

.visual-copy small {
    display: block;
    color: #aaa;
    margin-bottom: 7px
}

.visual-copy strong {
    font-size: 26px
}

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px
}

.project-meta h3 {
    margin: 0 0 7px;
    font-size: 21px
}

.project-meta p {
    margin: 0;
    color: #888;
    font-size: 13px
}

.project-links {
    display: flex;
    gap: 8px
}

.project-links a {
    font: 11px 'DM Mono';
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 99px;
    height: max-content
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.skill {
    min-height: 270px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.skill span {
    font: 11px 'DM Mono';
    color: var(--accent)
}

.skill h3 {
    font-size: 27px;
    margin: 55px 0 12px
}

.skill p,
.about-card p,
.post-card p {
    color: var(--muted);
    line-height: 1.8
}

.about-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 50px;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 60px;
    background: linear-gradient(135deg, #131317, #0b0b0d)
}

.about-number {
    font: 60px 'DM Mono';
    color: #444
}

.about-card h2 {
    font-size: clamp(42px, 5vw, 72px);
    letter-spacing: -4px;
    line-height: 1;
    margin: 20px 0 30px
}

.facts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px
}

.facts span {
    border: 1px solid var(--line);
    padding: 16px 20px;
    border-radius: 14px
}

.facts b,
.facts small {
    display: block
}

.facts small {
    color: #777;
    margin-top: 4px
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.post-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    transition: .3s
}

.post-card:hover {
    transform: translateY(-6px)
}

.post-image {
    height: 210px;
    border-radius: 14px;
    background: #18181c center/cover no-repeat;
    margin-bottom: 20px
}

.post-card small {
    color: var(--accent);
    font: 11px 'DM Mono'
}

.post-card h3 {
    font-size: 22px
}

.post-card span {
    font: 11px 'DM Mono';
    color: #bbb
}

.empty {
    grid-column: 1/-1;
    border: 1px dashed var(--line);
    padding: 40px;
    color: #777
}

.contact {
    position: relative;
    padding: 150px 6vw 30px;
    overflow: hidden;
    background: #101013;
    border-top: 1px solid var(--line)
}

.contact-bg {
    position: absolute;
    right: -2vw;
    top: 30px;
    font-size: clamp(120px, 19vw, 300px);
    line-height: .75;
    font-weight: 800;
    letter-spacing: -15px;
    color: #17171b;
    pointer-events: none
}

.contact-content {
    max-width: var(--max);
    margin: auto;
    position: relative
}

.contact h2 {
    font-size: clamp(55px, 8vw, 115px);
    letter-spacing: -7px;
    line-height: .9;
    margin: 25px 0 45px
}

.contact-form {
    max-width: 800px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

input,
textarea {
    width: 100%;
    background: #0b0b0e;
    border: 1px solid var(--line);
    color: #fff;
    padding: 17px;
    border-radius: 12px;
    outline: none;
    font: inherit;
    margin-bottom: 12px
}

input:focus,
textarea:focus {
    border-color: #666
}

.hp {
    position: absolute;
    left: -9999px
}

.form-status {
    font-size: 13px;
    margin-top: 10px
}

.socials {
    display: flex;
    gap: 25px;
    margin-top: 50px;
    color: #aaa;
    font: 12px 'DM Mono'
}

.contact footer {
    max-width: var(--max);
    margin: 110px auto 0;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    color: #666;
    font: 11px 'DM Mono'
}

.mail {
    display: none
}

.top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 10;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #17171b;
    color: #fff;
    display: none
}

.top.show {
    display: block
}

@keyframes spin {
    to {
        transform: rotate(390deg) skewX(-15deg)
    }
}

@keyframes ticker {
    to {
        transform: translateX(-50%)
    }
}

@media(max-width:900px) {

    .nav nav,
    .nav-cta {
        display: none
    }

    .menu {
        display: block
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 150px
    }

    .hero-orb {
        margin-top: 40px
    }

    .skill-grid {
        grid-template-columns: 1fr 1fr
    }

    .post-grid {
        grid-template-columns: 1fr 1fr
    }

    .project-card:first-child {
        grid-column: auto
    }

    .about-card {
        grid-template-columns: 1fr
    }

    .about-number {
        display: none
    }
}

@media(max-width:600px) {
    .hero {
        padding-inline: 20px
    }

    .hero h1 {
        font-size: 54px;
        letter-spacing: -4px
    }

    .hero p {
        font-size: 15px
    }

    .actions {
        flex-direction: column
    }

    .section {
        padding: 90px 20px
    }

    .section-head {
        display: block
    }

    .section-head h2 {
        font-size: 48px
    }

    .projects,
    .post-grid,
    .skill-grid,
    .form-row {
        grid-template-columns: 1fr
    }

    .project-visual,
    .project-card:first-child .project-visual {
        min-height: 300px
    }

    .contact {
        padding: 100px 20px 20px
    }

    .contact h2 {
        font-size: 58px
    }

    .contact-bg {
        font-size: 100px
    }

    .contact footer {
        display: block
    }

    .contact footer>* {
        display: block;
        margin-top: 10px
    }

    .about-card {
        padding: 30px
    }

    .socials {
        flex-wrap: wrap
    }
}