@font-face {
    font-family: "JetBrains Sans";
    src: url("fonts/JetBrainsSans-Regular.woff2");
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("fonts/JetBrainsMono-Regular.woff2");
}

:root {
    font-family: "JetBrains Sans", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.87);
    background-color: #000000;
    text-align: center;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 320px;
    min-height: 100vh;
    align-items: center;

    background-repeat: no-repeat;
    background-size: contain;
}

h1 {
    font-size: 29px;
    line-height: 39px;
    font-weight: 300;
}

.title {
    margin-bottom: 40px;
}

#app {
    max-width: 1280px;
}

.logo {
    margin-top: 45px;
    margin-left: 20%;
    align-self: flex-start;
}

img {
    max-width: 100%;
    height: auto;
}

.counter {
    font-family: "JetBrains Mono", Inter, system-ui, sans-serif;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 60px;
    color: rgba(255, 255, 255, 1);
}

.counter-interaction {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 0;
    width: 470px;
    justify-content: space-between;
}

.counter-interaction button {
    width: 48%;
    height: 47%;
    align-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 120px;
    font-size: 68px;
    text-align: center;
}

.counter-interaction button:nth-child(2n+1) {
    margin-right: 14px;
}

.counter-interaction button:disabled {
    color: rgba(255, 255, 255, 0.5);
    background-image: none;
    border-color: inherit;
}

.counter-info {
    width: 360px;
    height: 345px;
    margin-right: 27px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(25, 25, 28, 0.5);
    border-radius: 29px;
}

.counter-text {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 24px;
    margin-top: 60px;
    margin-bottom: 28px;

}

.counter-value {
    font-weight: 200;
    font-size: 170px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

button {
    font-family: "JetBrains Mono", Inter, system-ui, sans-serif;
    background-color: rgba(25, 25, 28, 0.5);
    cursor: pointer;
    color: rgba(255, 255, 255, 1);
}

button:hover {
    background-image: radial-gradient(
            farthest-corner at 77% 83%,
            rgba(1, 197, 245, 0.5) 2%,
            rgba(1, 126, 254, 0.5) 28%,
            rgba(25, 25, 28, 0) 70%
    );
    border: 1px solid rgba(76, 166, 255, 0.2);
    background-clip: padding-box;
}

.technologies {
    margin-bottom: 36px;
    align-self: center;
}

.technologies img {
    max-width: fit-content;
}


@media (max-width: 875px) {

    .logo {
        margin-top: 10px;
    }

    .title {
        margin-bottom: 30px;
    }

    .counter {
        flex-direction: column;
        padding: 0;
        margin-bottom: 0;
    }

    .counter-info {
        width: 100%;
        height: 300px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .counter-interaction {
        display: flex;
        flex-direction: row;
        height: auto;
        width: auto;
    }

    .counter-interaction button {
        width: 47%;
        height: 100px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Portfolio template */
:root {
    --ink: #1d2924;
    --muted: #68746d;
    --paper: #f5f6f1;
    --white: #fffefa;
    --line: #dce1d8;
    --green: #2e5144;
    --green-dark: #213b32;
    --lime: #d4ef89;
    --orange: #e6875c;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "JetBrains Sans", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-synthesis: none;
    font-weight: 400;
    text-align: left;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    display: block;
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    background-image: none;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

body, button, a {
    font-family: var(--sans);
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

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

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

.container {
    width: min(1120px, calc(100% - 64px));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(29, 41, 36, .1);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -.025em;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--green);
    font-family: var(--serif);
    font-size: 14px;
    font-style: italic;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
    color: #536159;
    font-size: 12px;
}

.primary-navigation a, .footer-inner a, .text-link {
    transition: color .18s ease;
}

.primary-navigation a:hover, .footer-inner a:hover, .text-link:hover {
    color: var(--orange);
}

.primary-navigation .nav-contact {
    padding: 11px 15px;
    border: 1px solid #cbd4c8;
    border-radius: 99px;
    color: var(--ink);
}

.nav-contact span, .text-link span {
    margin-left: 5px;
}

.menu-toggle {
    display: none;
}

.hero {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 72px;
    padding-top: 72px;
    padding-bottom: 82px;
}

.hero-copy {
    padding-top: 5px;
}

.eyebrow, .section-kicker, .work-type, .mini-label, .slot-label, .note-caption, .card-caption, .slot-stamp, .future-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 28px;
    color: var(--muted);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
}

.hero h1 {
    max-width: 650px;
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(50px, 6.7vw, 80px);
    font-weight: 400;
    letter-spacing: -.065em;
    line-height: .99;
}

.hero h1 span {
    color: var(--green);
    font-style: italic;
}

.hero-intro {
    max-width: 440px;
    margin: 25px 0 29px;
    color: #58665e;
    font-size: 15px;
    line-height: 1.8;
}

.identity-details {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin: 0;
}

.identity-details div {
    display: grid;
    gap: 7px;
}

.identity-details dt {
    color: #768178;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.identity-details dd {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 33px;
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 18px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.button-primary {
    color: var(--white);
    background: var(--green);
    transition: background .2s ease, transform .2s ease;
}

.button-primary:hover {
    transform: translateY(-2px);
    background: var(--green-dark);
}

.text-link {
    font-size: 11px;
    font-weight: 600;
}

.hero-card {
    position: relative;
    min-height: 405px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 24px;
    border-radius: 4px;
    color: var(--white);
    background: var(--green);
}

.hero-card::before, .hero-card::after {
    content: none;
}

.hero-card::before {
    position: absolute;
    z-index: 1;
    inset: 5px;
    border-radius: 1px;
    background: linear-gradient(180deg, rgba(13, 30, 22, .42), transparent 30%, transparent 63%, rgba(13, 30, 22, .55));
    content: "";
}

.hero-card-top, .hero-card-bottom {
    position: relative;
    z-index: 2;
}

.hero-card-top {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 254, 250, .72);
    font-size: 9px;
}

.card-label {
    letter-spacing: .08em;
    text-transform: uppercase;
}

.card-number {
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
}

.hero-headshot {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 5px solid var(--green);
    border-radius: 4px;
    object-fit: cover;
    object-position: center 30%;
}

.hero-card-bottom p {
    margin: 0 0 19px;
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.35;
}

.hero-card-bottom strong {
    color: var(--lime);
    font-weight: 400;
    font-style: italic;
}

.card-caption {
    color: rgba(255, 254, 250, .64);
    font-size: 8px;
}

.section {
    padding: 104px 0;
}

.about-section {
    background: #e9ede5;
}

.section-heading {
    margin-bottom: 42px;
}

.section-kicker {
    margin: 0 0 20px;
    color: #7b877c;
}

.section-heading h2, .resume-copy h2, .contact-inner h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 53px);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
    gap: 90px;
}

.about-lead {
    max-width: 600px;
    margin: 0;
    color: #4a5d52;
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.55;
}

.about-note {
    position: relative;
    padding: 4px 0 0 23px;
    border-left: 1px solid #bbc6b8;
}

.note-mark {
    color: var(--orange);
    font-size: 19px;
}

.about-note p {
    margin: 12px 0 22px;
    color: #5e6b62;
    font-size: 12px;
    line-height: 1.8;
}

.note-caption {
    color: #899389;
    font-size: 8px;
}

.portfolio-section {
    background: var(--paper);
}

.portfolio-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.portfolio-heading .section-kicker {
    margin-bottom: 17px;
}

.section-aside {
    max-width: 290px;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.work-card {
    margin-top: 18px;
    padding: 28px 30px 25px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
}

.work-card-heading {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: start;
    gap: 14px;
}

.work-index {
    padding-top: 2px;
    color: #99a49a;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
}

.work-type {
    margin: 0 0 9px;
    color: #8a958b;
    font-size: 8px;
}

.work-card h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 400;
    letter-spacing: -.035em;
}

.work-status {
    padding: 7px 9px;
    border-radius: 2px;
    color: #657369;
    background: #eff2ec;
    font-size: 9px;
}

.report-content {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    margin: 25px 0 0 46px;
}

.document-slot, .resume-slot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px dashed #c9d2c8;
    border-radius: 3px;
    color: var(--ink);
    background: #f8f9f5;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.document-slot:hover, .resume-slot:hover {
    transform: translateY(-2px);
    border-color: var(--green);
    background: var(--white);
}

.document-icon {
    display: grid;
    width: 39px;
    height: 45px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 2px;
    color: #fff;
    background: var(--green);
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    font-weight: 600;
}

.document-slot > div, .resume-slot > div {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.slot-label {
    color: #839087;
    font-size: 8px;
}

.document-slot strong, .resume-slot strong {
    font-size: 12px;
    font-weight: 600;
}

.slot-hint {
    color: #828d84;
    font-size: 9px;
    line-height: 1.5;
}

.slot-arrow {
    margin-left: auto;
    color: var(--green);
    font-size: 16px;
}

.contribution-note {
    padding: 4px 0 4px 18px;
    border-left: 2px solid var(--lime);
}

.mini-label {
    margin: 0 0 9px;
    color: #89948b;
    font-size: 8px;
}

.contribution-note > p:last-child {
    margin: 0;
    color: #5f6b63;
    font-size: 11px;
    line-height: 1.7;
}

.work-description {
    max-width: 720px;
    margin: 17px 0 22px 46px;
    color: #68746b;
    font-size: 11px;
    line-height: 1.7;
}

.asset-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-left: 46px;
}

.asset-figure {
    min-width: 0;
    margin: 0;
}

.asset-slot {
    position: relative;
    min-height: 212px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border: 1px dashed #bec8bd;
    background-color: #edf0e9;
    background-image: linear-gradient(rgba(67, 87, 71, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(67, 87, 71, .06) 1px, transparent 1px);
    background-size: 20px 20px;
}

.drawing-slot::before, .photo-slot::before {
    position: absolute;
    width: 128px;
    height: 82px;
    border: 1px solid rgba(46, 81, 68, .38);
    content: "";
}

.drawing-slot::after {
    position: absolute;
    width: 153px;
    height: 1px;
    background: rgba(46, 81, 68, .38);
    box-shadow: 0 78px 0 rgba(46, 81, 68, .38);
    content: "";
}

.photo-slot {
    background-color: #e9ede5;
}

.photo-slot::before {
    width: 103px;
    height: 114px;
    border-radius: 54% 46% 41% 59% / 48% 42% 58% 52%;
    transform: rotate(-12deg);
}

.project-asset {
    display: block;
    width: 100%;
    height: 212px;
    border: 1px solid #bec8bd;
}

.drawing-image {
    background: #edf0e9;
    object-fit: contain;
}

.photo-image {
    object-fit: cover;
}

.drawing-link {
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}

.drawing-link:hover {
    border-color: var(--green);
    background-color: #f8f9f5;
}

.drawing-link:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.drawing-link .slot-hint {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    text-align: center;
}

.slot-stamp, .slot-title {
    position: relative;
    z-index: 1;
}

.slot-stamp {
    align-self: flex-start;
    margin: 12px 0 0 14px;
    color: #748176;
    font-family: "JetBrains Mono", monospace;
    font-size: 7px;
}

.slot-title {
    margin-top: auto;
    margin-bottom: 14px;
    color: #56665a;
    font-family: var(--serif);
    font-size: 14px;
    font-style: italic;
    line-height: 1.3;
    text-align: center;
}

.asset-figure figcaption {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    color: #68756b;
    font-size: 9px;
}

.asset-figure figcaption span {
    color: #a0aaa0;
    font-family: "JetBrains Mono", monospace;
    font-size: 8px;
}

.project-caption {
    margin: 20px 0 0 46px;
    color: #657167;
    font-size: 9px;
}

.project-caption span:not(.caption-divider) {
    color: #909b91;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
}

.caption-divider {
    margin: 0 8px;
    color: #aab3a9;
}

.future-work {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    color: #657168;
    background: rgba(255, 254, 250, .56);
}

.future-mark {
    color: var(--orange);
    font-size: 20px;
}

.future-work p {
    flex: 1;
    margin: 0;
    font-size: 10px;
    line-height: 1.6;
}

.future-work strong {
    margin-right: 5px;
    color: var(--ink);
}

.future-label {
    color: #929d92;
    font-size: 8px;
}

.resume-section {
    padding: 80px 0;
    background: #e9ede5;
}

.resume-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.resume-copy h2 {
    margin-bottom: 17px;
}

.resume-copy > p:last-child {
    max-width: 370px;
    margin: 0;
    color: #637067;
    font-size: 11px;
    line-height: 1.8;
}

.resume-slot {
    min-height: 106px;
    padding: 20px 22px;
    border-color: #bec9bd;
    background: rgba(255, 254, 250, .65);
}

.contact-section {
    padding: 74px 0;
    color: var(--white);
    background: var(--green-dark);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr .8fr auto;
    align-items: end;
    gap: 32px;
}

.contact-inner .section-kicker {
    color: #a9b8ad;
}

.contact-inner h2 {
    font-size: 44px;
}

.contact-prompt {
    max-width: 280px;
    margin: 0;
    color: #c0cbc1;
    font-size: 10px;
    line-height: 1.8;
}

.contact-placeholder {
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255, 254, 250, .4);
    color: var(--lime);
    font-size: 10px;
}

.site-footer {
    padding: 22px 0;
    background: var(--green-dark);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 254, 250, .16);
    color: #b9c4ba;
    font-size: 9px;
}

.footer-inner p {
    margin: 0;
}

.footer-reminder {
    color: #9dac9f;
}

.footer-inner a {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 40px, 560px);
    }

    .header-inner {
        min-height: 70px;
    }

    .brand-name {
        font-size: 12px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 9px 0 9px 10px;
        border: 0;
        color: var(--ink);
        background: transparent;
        font-size: 11px;
        cursor: pointer;
    }

    .menu-icon {
        display: grid;
        gap: 4px;
    }

    .menu-icon span {
        width: 16px;
        height: 1px;
        background: var(--ink);
    }

    .primary-navigation {
        position: absolute;
        top: 69px;
        right: 20px;
        left: 20px;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 10px 18px;
        border: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 12px 30px rgba(29, 41, 36, .1);
    }

    .primary-navigation.is-open {
        display: flex;
        flex-direction: column;
    }

    .primary-navigation a {
        padding: 13px 0;
        border-bottom: 1px solid #edf0e9;
    }

    .primary-navigation .nav-contact {
        align-self: flex-start;
        margin: 10px 0 4px;
        padding: 10px 13px;
        border: 1px solid #cbd4c8;
    }

    .hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 44px;
        padding-top: 67px;
        padding-bottom: 68px;
    }

    .hero h1 {
        font-size: clamp(52px, 13vw, 72px);
    }

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

    .section {
        padding: 75px 0;
    }

    .about-grid, .resume-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-lead {
        font-size: 20px;
    }

    .portfolio-heading {
        display: block;
        margin-bottom: 34px;
    }

    .section-aside {
        margin-top: 19px;
    }

    .work-card {
        padding: 22px 19px;
    }

    .work-card-heading {
        grid-template-columns: 25px 1fr;
        gap: 10px;
    }

    .work-status {
        grid-column: 2;
        justify-self: start;
        margin-top: 0;
    }

    .report-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-left: 35px;
    }

    .work-description, .asset-pair, .project-caption {
        margin-left: 35px;
    }

    .asset-pair {
        grid-template-columns: 1fr;
    }

    .asset-slot {
        min-height: 235px;
    }

    .future-work {
        align-items: flex-start;
        padding: 16px;
    }

    .future-label {
        padding-top: 5px;
    }

    .resume-section {
        padding: 70px 0;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 22px;
    }

    .contact-inner h2 {
        font-size: 39px;
    }

    .contact-placeholder {
        justify-self: start;
    }

    .footer-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .footer-reminder {
        order: 1;
        flex-basis: 100%;
        line-height: 1.6;
    }
}

@media (max-width: 390px) {
    .container {
        width: calc(100% - 32px);
    }

    .identity-details {
        gap: 20px;
    }

    .hero-actions {
        gap: 17px;
    }

    .work-card h3 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
