:root
{
    --bg: #0a0a0a;
    --surface: #121212;
    --line: #29262d;
    --ink: #f5f2f7;
    --muted: #a6a0ad;
    --purple: #b985f4;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
}
body
{
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.7 "Segoe UI", Arial, sans-serif;
}
a
{
    color: inherit;
    text-decoration: none;
}
button, input, textarea, select
{
    font: inherit;
}
button
{
    cursor: pointer;
}
:focus-visible
{
    outline: 2px solid #d5b1ff;
    outline-offset: 5px;
}
.wrap
{
    width: min(1072px, calc(100% - 96px));
    margin-inline: auto;
}
header
{
    position: sticky;
    z-index: 20;
    top: 0;
    background: #0a0a0aee;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
nav
{
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand
{
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -.05em;
}
.brand span
{
    margin-left: 6px;
    font-size: 10px;
    vertical-align: top;
    color: var(--purple);
}
#nav
{
    display: flex;
    gap: 30px;
    font-size: 12px;
    color: var(--muted);
}
#menu
{
    display: none;
}
.button, .ghost
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: var(--purple);
    color: #20102f;
    font-size: 12px;
    font-weight: 700;
}
.ghost
{
    background: none;
    border-color: #3a343f;
    color: var(--ink);
}
section
{
    padding-block: 95px;
    scroll-margin-top: 85px;
}
.hero
{
    text-align: center;
    padding-top: 70px;
    padding-bottom: 0;
    position: relative;
}
.badge, .eyebrow, .mono, .hero-bottom, .chips
{
    font-family: Consolas, monospace;
    font-size: 10px;
    letter-spacing: .09em;
}
.badge
{
    color: #c898ff;
    border: 1px solid #b985f433;
    background: #b985f40b;
    padding: 6px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    margin: 0 0 30px;
}
.badge span
{
    width: 5px;
    height: 5px;
    background: var(--purple);
    border-radius: 100%;
}
h1
{
    font-size: clamp(42px, 6.7vw, 82px);
    line-height: 1.03;
    letter-spacing: -.065em;
    margin: 0 0 25px;
    font-weight: 750;
}
h1 span
{
    color: #939097;
}
.intro
{
    font-size: 14px;
    color: var(--muted);
}
.actions
{
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}
#cv-status
{
    font-size: 11px;
    min-height: 18px;
}
.sculpture
{
    width: 360px;
    height: 275px;
    object-fit: contain;
    display: block;
    margin: -20px auto 10px;
    filter: drop-shadow(0 0 45px #a855f74a);
    animation: float 6s ease-in-out infinite;
}
@keyframes float
{
    50%
    {
        transform: translateY(-12px) rotate(3deg);
    }
}
.hero-bottom
{
    border-block: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 20px;
    color: #9c939f;
    font-size: 8px;
}
h2
{
    font-size: clamp(34px, 4.7vw, 56px);
    line-height: 1.1;
    letter-spacing: -.055em;
    margin: 0 0 30px;
    font-weight: 700;
}
h2 span
{
    color: var(--purple);
}
.eyebrow
{
    color: var(--purple);
    margin-bottom: 25px;
}
.section-head
{
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: end;
}
.filters
{
    display: flex;
    gap: 5px;
    margin-bottom: 32px;
}
.filters button
{
    background: none;
    color: var(--muted);
    font-size: 11px;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 25px;
}
.filters [aria-pressed="true"]
{
    border-color: #685375;
    color: #e6d3ff;
    background: #b985f412;
}
.work-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.project
{
    min-width: 0;
}
.project:first-child
{
    grid-column: 1 / -1;
}
.project button
{
    width: 100%;
    text-align: left;
    color: var(--ink);
    background: none;
    border: 0;
    padding: 0;
}
.project-visual
{
    background: var(--tint);
    aspect-ratio: 1.55;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #ffffff15;
    border-radius: 10px;
    transition: box-shadow .2s, border-color .2s;
}
.project:first-child .project-visual
{
    aspect-ratio: 2.4;
}
.project button:hover .project-visual
{
    border-color: var(--purple);
    box-shadow: 0 0 40px #a855f726;
}
.mock-ui
{
    width: 78%;
    aspect-ratio: 1.65;
    border-radius: 9px;
    background: #f3f0f8;
    color: #27212e;
    padding: 16px;
    position: relative;
    box-shadow: 0 20px 70px #00000055;
    transform: rotate(-4deg) translateY(8%);
}
.mock-ui b
{
    font-size: 13px;
    letter-spacing: -.04em;
}
.ui-tabs
{
    margin-top: 12px;
    font: 8px Consolas, monospace;
    color: #867b92;
    border-block: 1px solid #ddd6e4;
    padding: 8px 0;
}
.ui-content
{
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 10px;
    height: 55%;
    margin-top: 15px;
}
.ui-content div
{
    border-radius: 5px;
    background: var(--block);
    min-height: 40px;
    display: grid;
    place-items: center;
    font: 32px Georgia, serif;
    color: #ffffffd0;
}
.ui-content div:last-child
{
    background: repeating-linear-gradient(90deg, transparent 0 15%, #af88cf88 16% 23%), linear-gradient(0deg, #e0d4ed, #f8f6fb);
}
.project-caption
{
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 16px;
    align-items: start;
}
.project h3
{
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}
.project small
{
    color: var(--muted);
    font: 9px/2 Consolas, monospace;
}
.project-caption > span
{
    color: var(--purple);
    font-size: 24px;
}
.fine, #project-count
{
    color: var(--muted);
    font-size: 11px;
}
.about
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
    border-top: 1px solid var(--line);
}
.about p:not(.eyebrow), .contact p:not(.eyebrow)
{
    color: var(--muted);
    font-size: 14px;
}
.chips
{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 30px;
    font-size: 8px;
}
.chips span
{
    border: 1px solid var(--line);
    padding: 6px 10px;
    border-radius: 4px;
}
.desk
{
    background: #16121c;
    height: 420px;
    border-radius: 10px;
    position: relative;
    display: grid;
    place-content: center;
}
.screen
{
    width: 310px;
    height: 200px;
    background: #27212f;
    border: 8px solid #09080a;
    border-radius: 10px;
    box-shadow: 0 10px 70px #975be344;
    position: relative;
    padding: 25px;
}
.screen span
{
    font-size: 27px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -.05em;
}
.screen-block
{
    float: right;
    border-radius: 50%;
    height: 75px;
    width: 75px;
    border: 18px solid #9573ba;
    margin-top: 25px;
}
.desk-line
{
    height: 5px;
    background: #3c3145;
    margin-top: 30px;
}
.desk > p
{
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font: 8px Consolas, monospace;
}
.tool-card
{
    position: absolute;
    bottom: 45px;
    right: -15px;
    background: #27212f;
    border: 1px solid #574365;
    padding: 20px;
    border-radius: 8px;
    font: 11px/2 Consolas, monospace;
}
.surface
{
    background: var(--surface);
}
.service-grid, .principles
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.service-grid article
{
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 8px;
}
.service-grid article:hover
{
    border-color: var(--purple);
    box-shadow: 0 0 40px #a855f715;
}
.service-grid .mono
{
    font-size: 8px;
    color: var(--purple);
}
h3
{
    font-size: 19px;
    letter-spacing: -.025em;
}
.service-grid p, .principles p
{
    color: var(--muted);
    font-size: 13px;
}
.service-grid strong
{
    display: block;
    font-size: 12px;
    margin-top: 30px;
}
.service-grid button
{
    color: var(--purple);
    background: none;
    border: 0;
    padding: 12px 0 0;
    font-size: 11px;
}
.tools
{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-block: 1px solid var(--line);
    padding-block: 35px;
    color: #c1b6c8;
    font-size: 15px;
    font-weight: 600;
    margin-top: 40px;
}
.principles article
{
    border-top: 2px solid #b985f477;
    padding-top: 25px;
}
.principles b
{
    color: var(--purple);
    font: 12px Consolas, monospace;
}
.contact
{
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 110px;
}
.contact h2
{
    font-size: 65px;
}
form
{
    display: grid;
    gap: 17px;
}
label
{
    font-size: 11px;
    color: #c7bdce;
}
input, select, textarea
{
    width: 100%;
    min-width: 0;
    border: 1px solid #36303e;
    border-radius: 6px;
    background: #121015;
    color: var(--ink);
    padding: 12px;
    margin-top: 6px;
}
textarea
{
    resize: vertical;
}
#status
{
    font-size: 12px;
    margin: 0;
}
footer
{
    border-top: 1px solid var(--line);
    padding-block: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
footer p, footer > a, footer > span
{
    color: var(--muted);
    font-size: 9px;
}
dialog
{
    width: min(720px, calc(100% - 32px));
    max-height: 85vh;
    background: #16121b;
    border: 1px solid #685375;
    color: var(--ink);
    padding: 45px;
    border-radius: 12px;
}
dialog::backdrop
{
    background: #000c;
}
dialog p
{
    color: #b9b0c2;
    font-size: 14px;
}
.close
{
    float: right;
    background: none;
    color: white;
    border: 1px solid #685375;
    border-radius: 5px;
    padding: 7px 12px;
    font-size: 11px;
}
#cursor-glow
{
    position: fixed;
    width: 240px;
    height: 240px;
    border-radius: 100%;
    background: radial-gradient(circle, #b985f410, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
}
@media (max-width: 720px)
{
    .wrap
    {
        width: calc(100% - 40px);
    }
    nav
    {
        min-height: 75px;
        gap: 10px;
    }
    nav .button
    {
        font-size: 10px;
        padding: 9px 13px;
    }
    #menu
    {
        display: block;
        color: #ccc;
        background: none;
        border: 0;
        margin-left: auto;
        font-size: 11px;
    }
    #nav
    {
        display: none;
        position: absolute;
        inset: 75px 0 auto;
        background: #16121b;
        padding: 25px;
        flex-direction: column;
    }
    #nav.open
    {
        display: flex;
    }
    section
    {
        padding-block: 65px;
    }
    .hero
    {
        padding-top: 60px;
    }
    h1
    {
        font-size: 43px;
    }
    .hero .badge
    {
        font-size: 7px;
    }
    .intro
    {
        font-size: 13px;
    }
    .intro br
    {
        display: none;
    }
    .actions .button, .actions .ghost
    {
        padding-inline: 14px;
        font-size: 10px;
    }
    .sculpture
    {
        width: 280px;
        height: 255px;
    }
    .hero-bottom
    {
        justify-content: center;
        font-size: 7px;
    }
    .hero-bottom span:first-child, .hero-bottom span:last-child
    {
        display: none;
    }
    .section-head
    {
        display: block;
    }
    .work-grid, .about, .service-grid, .principles, .contact
    {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .project:first-child .project-visual
    {
        aspect-ratio: 1.55;
    }
    .project:first-child
    {
        grid-column: auto;
    }
    .desk
    {
        height: 350px;
    }
    .screen
    {
        width: 280px;
    }
    .tool-card
    {
        right: 12px;
    }
    .tools
    {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        font-size: 13px;
    }
    .contact h2
    {
        font-size: 53px;
    }
    footer
    {
        flex-wrap: wrap;
    }
    dialog
    {
        padding: 25px;
    }
}
@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }
    *
    {
        animation: none !important;
        transition: none !important;
    }
}
