@font-face {
    font-family: "Vectrex";
    src:
        url("fonts/VectrexWeb-Regular.woff2") format("woff2"),
        url("fonts/VectrexWeb-Regular.woff") format("woff");
    font-display: swap;
}

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

html {
    overflow-x: hidden;
}

body {
    background: #ffffff;
    color: #1f1f1f;
    font-family: "Vectrex", sans-serif;
    font-size: 12px;
    line-height: 1.45;

    min-height: 100dvh;
    overflow-x: hidden;
}

main {
    max-width: 480px;
    padding: 40px;
}

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

    font-size: 24px;
    font-weight: 400;
    line-height: 1;

    margin-bottom: 28px;
}

.site-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2CFD8D;
    flex: 0 0 auto;
}

ul {
    list-style: none;
}

li {
    margin-bottom: 4px;
}

.disciplines {
    margin-bottom: 28px;
}

section {
    border-top: 1px solid #e0e0dc;
    padding-top: 10px;
    margin-bottom: 28px;
}

h2 {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #777;
    margin-bottom: 12px;
}

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

.work a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.work a:hover {
    opacity: 0.65;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(20, 20, 20, 0.94);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .18s ease,
        visibility .18s ease;
}

.video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.video-close {
    position: fixed;
    top: 24px;
    right: 24px;
    border: 0;
    background: none;
    color: #f4f4f2;
    font: inherit;
    cursor: pointer;
}

.video-frame {
    width: min(90vw, 1100px);
    aspect-ratio: 16 / 9;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    main {
        padding: 32px;
    }

    .video-modal {
        padding: 20px;
    }

    .video-close {
        top: 18px;
        right: 18px;
    }

    .video-frame {
        width: 100%;
    }
}