:root {
    --accent-color: #d4432f;
    --accent-hover: #E8503A;
    --text-primary: #000;
    --text-secondary: #4f4f4f;
    --text-muted: #666;
    --bg-color: #ffffff;
    --border-color: #e0e0e0;

    --heading-font: 'Acumin', -apple-system, BlinkMacSystemFont, sans-serif;
    --body-font: 'Poppins';
}

.site-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    width: 100%;
}


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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1.4em;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.6rem;
}

h6 {
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

html {
    height: 100%;
    width: 100%;
}

body {
    font-family: var(--body-font);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-color);
}

a {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .3rem;
}

a:hover {
    color: var(--accent-hover);
}

.button {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 400;
    width: fit-content;
}

.button:hover {
    color: var(--accent-hover);
}

.button:hover i {
    transform: rotate(-45deg);
}

.button.large {
    font-size: 1.8rem;
}

.button.text {
    border-bottom: 1px solid var(--accent-color);
    text-decoration: none;
}

.button.text:hover {
    border-bottom: 1px solid var(--accent-hover);
}

.button i {
    display: inline-block;
    transition: transform 0.2s ease;
}

li {
    list-style-type: none;
}

.paragraph-small {
    font-size: 0.85rem;
    font-weight: 300;
}

footer {
    margin: 32px 0;
}

.container {
    display: flex;
    flex-flow: column nowrap;
    gap: 48px;
    max-width: 2560px;
    margin: 3vw;
}

.app-bar {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    gap: 24px;
}

.navigation a {
    color: var(--text-primary);
    text-decoration: none;
}

.navigation {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    gap: 24px;
}

.navigation a:hover {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .3rem;
}

.section {
    display: flex;
    flex-flow: column nowrap;
    gap: 48px;
}

.section.compact {
    gap: 24px;
}

.icon-button,
.icon-button:hover {
    color: var(--text-primary);
}

.chip {
    border: 1px solid var(--text-primary);
    border-radius: 15px;
    font-size: .9rem;
    height: 30px;
    list-style-type: none;
    padding: 2px 8px;
}

.flex-row {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    gap: 8px;
}

header {
    width: 100%;
}

.hero-text {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.4em;
}

.resume-link {
    display: inline-block;
    font-size: 2.2rem;
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 400;
}

.resume-link:hover {
    color: var(--accent-hover);
}

.content {
    display: grid;
    grid-template-columns: 40% auto;
    grid-gap: 128px;
}

.left-column {
    display: flex;
    flex-flow: column nowrap;
    gap: 64px;
}

.site-title {
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: 1.8rem;
}

.highlights-list,
.highlights-list li {
    list-style: none;
}

.ideas-list {
    display: flex;
    flex-flow: column nowrap;
    gap: 16px;
    list-style: none;
}

.image-container img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.image-credit {
    font-size: 0.6rem;
    font-weight: 300;
    color: var(--text-muted);
    text-align: end;
}

.image-credit a {
    color: inherit;
}

@media (max-width: 768px) {
    .container {
        display: flex;
        flex-flow: column nowrap;
        gap: 48px;
        margin: 6vw;
    }

    .content {
        display: flex;
        flex-flow: column nowrap;
        gap: 48px;
    }
}

.socials {
    align-items: flex-end;
    display: flex;
    flex-flow: row nowrap;
    gap: 16px;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
    flex-shrink: 0;
}

a:hover .open-in-new-icon {
    transform: rotate(-45deg);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    padding: 4px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .navigation,
    .socials {
        display: none;
    }

    .app-bar.menu-open .navigation,
    .app-bar.menu-open .socials {
        display: flex;
    }

    .app-bar:last-child {
        position: relative;
    }

    .app-bar.menu-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-color);
        z-index: 100;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
    }

    .app-bar.menu-open .hamburger {
        position: absolute;
        top: 6vw;
        right: 6vw;
    }

    .app-bar.menu-open .navigation {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .app-bar.menu-open .navigation a {
        font-size: 1.5rem;
    }

    .app-bar.menu-open .socials {
        gap: 24px;
    }

    .app-bar.menu-open .socials .icon-button {
        font-size: 1.5rem;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 3vw;
    right: 3vw;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.scroll-to-top:hover {
    background-color: var(--accent-hover);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 6vw;
        right: 6vw;
    }
}