:root {
    color-scheme: dark;
    --page: #242328;
    --panel: #26252b;
    --line: rgba(224, 224, 230, 0.2);
    --line-strong: rgba(224, 224, 230, 0.28);
    --text: #f3f2f6;
    --muted: #a7a4ad;
    --purple: #9e5bd7;
    --orange: #d08c56;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px) 35px 28px / 99px 102px,
        var(--page);
    color: var(--text);
    font-family: "Courier New", Courier, monospace;
    line-height: 1.55;
}

.stage {
    position: relative;
    width: min(100%, 676px);
    display: grid;
    align-items: stretch;
    padding: 30px;
}

.stage::before,
.stage::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.stage::before {
    inset: 0;
    border: 1px solid var(--line-strong);
    border-radius: 45px;
}

.stage::after {
    inset: 31px;
    border: 1px solid var(--line-strong);
    border-radius: 30px;
}

.geometry {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 45px;
    pointer-events: none;
}

.geometry span {
    position: absolute;
    width: 860px;
    height: 1px;
    background: var(--line);
    transform-origin: center;
}

.geometry span:nth-child(1) {
    top: 20px;
    left: 28px;
    transform: rotate(13deg);
}

.geometry span:nth-child(2) {
    top: 175px;
    left: -205px;
    transform: rotate(106deg);
}

.geometry span:nth-child(3) {
    right: -260px;
    bottom: 142px;
    transform: rotate(160deg);
}

.geometry span:nth-child(4) {
    bottom: 245px;
    left: -310px;
    transform: rotate(13deg);
}

.geometry span:nth-child(5) {
    bottom: 122px;
    left: -55px;
    transform: rotate(101deg);
}

.profile {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    border-radius: 30px;
    background: var(--panel);
}

.intro {
    padding: 62px 61px 50px;
}

.avatar,
.profile img:first-of-type {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 0 32px;
    border: 4px solid #3c3b43;
    border-radius: 50%;
    background: #41404a;
    object-fit: cover;
}

.eyebrow,
.profile>p:first-of-type,
.intro>p:first-of-type {
    margin: 0 0 17px;
    color: var(--purple);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.48em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow span,
.profile>p:first-of-type span,
.intro>p:first-of-type span {
    color: var(--orange);
}

h1 {
    margin: 0 0 13px;
    color: var(--text);
    font-size: clamp(2.45rem, 6.5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.18;
}

blockquote {
    max-width: 552px;
    margin: 0 0 43px;
    padding: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

blockquote p {
    margin: 0;
}

.email-button,
.profile a[href^="mailto:"],
.intro a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 163px;
    min-height: 55px;
    border-radius: 999px;
    background: linear-gradient(100deg, #d08c56 0%, #ad69a9 58%, #9456d8 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: filter 160ms ease, transform 160ms ease;
}

.email-button:hover,
.email-button:focus-visible,
.profile a[href^="mailto:"]:hover,
.profile a[href^="mailto:"]:focus-visible,
.intro a[href^="mailto:"]:hover,
.intro a[href^="mailto:"]:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-1px);
    outline: none;
}

.email-button svg,
.profile a[href^="mailto:"] svg,
.intro a[href^="mailto:"] svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer {
    min-height: 60px;
    padding: 10px 61px;
    border-top: 1px solid var(--line-strong);
}

.linkedin,
.footer a[href*="linkedin"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #fff;
    text-decoration: none;
}

.linkedin svg,
.footer a[href*="linkedin"] svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

@media (max-width: 720px) {
    body {
        padding: 12px;
    }

    .stage {
        min-height: calc(100vh - 24px);
        padding: 16px;
    }

    .stage::after {
        inset: 16px;
    }

    .profile {
        border-radius: 24px;
    }

    .intro {
        padding: 48px 32px 42px;
    }

    .footer {
        min-height: 60px;
        padding: 10px 24px;
    }

    .eyebrow {
        font-size: 13px;
        letter-spacing: 0.34em;
    }

    h1 {
        font-size: clamp(2rem, 11vw, 2.45rem);
    }
}

@media (max-width: 430px) {
    .intro {
        padding: 42px 24px 36px;
    }

    .avatar {
        width: 86px;
        height: 86px;
    }

    .eyebrow {
        letter-spacing: 0.23em;
    }

    blockquote {
        font-size: 12px;
    }
}