body {
    font-family: "Architype Renner", sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: ArchitypeRenner;
    src: url("fonts/ArchitypeRenner.otf");
}
@font-face {
    font-family: ArchitypeRenner;
    font-weight: bold;
    src: url("fonts/ArchitypeRenner-Bold.otf");
}
h1 {
    color: #00ccd6;
    margin-top: 0;
}
.boldp {
    font-weight: bold;
}
a:link,
a:visited {
    color: #00ccd6;
    text-decoration: none;
}
a:hover,
a:active {
    color: #efefef;
}
@media (prefers-color-scheme: dark) {
    body {
        background-color: #333;
        color: #efefef;
    }
    .menu-item a:hover,
    .active-menu-item a:hover {
        color: #333;
    }
    .active-menu-item a {
        color: #333;
    }
    a:hover,
    a:active {
        color: #efefef;
    }
    .company-name {
        color: #efefef;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #F8F3ED;
        color: #333;
    }
    .menu-item a:hover,
    .active-menu-item a:hover {
        color: #F8F3ED;
    }
    .active-menu-item a {
        color: #F8F3ED;
    }
    a:hover,
    a:active {
        color: #333;
    }
    .company-name {
        color: #333;
    }
    .muted-tech {
        text-
    }
}

.container {
    display: flex;
    flex-direction: row;
    max-width: 950px;
    margin: 3rem auto;
    gap: 3.5rem;
    padding: 0 1.5rem;
}
.main {
    flex: 1;
}
.menu {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 3rem;
    align-self: flex-start;
    min-width: 140px;
}
.menu-item,
.active-menu-item {
    transition: 0.3s;
}
.active-menu-item {
    border: 1px solid #00ccd6;
    background-color: #00ccd6;
}
.home-item {
    border: 1px solid #00ccd6;
    background-color: transparent;
}
.menu-item a,
.active-menu-item a {
    display: inline-block;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    padding-left: 0.4rem;
    box-sizing: border-box;
    transition: 0.3s;
    width: 100%;
    height: 100%;
}
.menu-item a:hover,
.active-menu-item a:hover {
    background-color: #00ccd6;
}
.home-a {
    display: inline-block;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    padding-left: 0.4rem;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}
.timeline {
    position: relative;
    margin: 2.5rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid #00ccd6;
}
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: calc(-1.5rem - 7px);
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #00ccd6;
}
.timeline-meta {
    margin-bottom: 0.25rem;
}
.timeline-date {
    font-size: 0.9rem;
    font-weight: bold;
    color: #00ccd6;
}
.role-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
}
.company-name {
    margin: 0.1rem 0 0.75rem 0;
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.8;
}
.timeline-content p {
    margin-top: 0.5rem;
    line-height: 1.5;
}
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}
ul.topnav li {
    float: left;
}
ul.topnav li a {
    display: inline-block;
    color: #efefef;
    text-align: center;
    padding: 14px 16px;
    transition: 0.3s;
}
ul.topnav li a:hover {
    background-color: #00ccd6;
    color: #333;
}
ul.topnav li.icon {
    display: none;
}
@media screen and (max-width: 600px) {
    .container {
        flex-direction: column;
        margin: 0 auto;
        gap: 1rem;
        padding: 0;
    }
    .menu {
        position: sticky;
        top: 0;
        z-index: 1000;
        flex-direction: row;
        width: 100%;
        padding: 0.25rem;
        min-width: 0;
        box-sizing: border-box;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    @media (prefers-color-scheme: dark) {
        .menu {
            background-color: rgba(51, 51, 51, 0.85);
            border-bottom: 1px solid rgba(239, 239, 239, 0.1);
        }
    }
    @media (prefers-color-scheme: light) {
        .menu {
            background-color: rgba(248, 243, 237, 0.85);
            border-bottom: 1px solid rgba(51, 51, 51, 0.1);
        }
    }
    .main h1,
    .timeline-item {
        scroll-margin-top: 4rem;
    }
    .menu-item,
    .active-menu-item {
        flex: 1;
        text-align: center;
    }
    .home-a,
    .home-item {
        text-align: left;
    }
    .menu-item a,
    .active-menu-item a {
        padding: 0.6rem 0.2rem;
        font-size: 0.95rem;
    }
    .main {
        padding: 0 1.5rem 0rem 1.5rem;
    }
    .timeline {
        margin-left: 0.25rem;
    }
    ul.topnav li:not(:first-child) {
        display: none;
    }
    ul.topnav li.icon {
        float: right;
        display: inline-block;
    }
}
a {
    white-space: nowrap;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.main {
    animation: fadeIn 0.25s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .main {
        animation: none;
    }
}
.muted-title {
    font-weight: 100;
}


.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: 2px 8px;
    margin: 0 2px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border-radius: 9999px;
    background-color: rgba(0, 204, 214, 0.12);
    color: #00848a;
    border: 1px solid rgba(0, 204, 214, 0.3);
}
/* Layout wrapper */
.profile-layout {
    display: flex;
    flex-direction: column; /* Puts image on top for mobile layout */
    gap: 1.5rem;
}

/* Individual headshot styling */
.profile-headshot {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 140px; /* Slightly more compact on mobile */
    border-radius: 50%;
    align-self: flex-start; /* Keeps it from stretching vertically */
}

/* Desktop shift: Screens wider than tablet */
@media (min-width: 768px) {
    .profile-layout {
        flex-direction: row; /* Snaps text left, image right */
        justify-content: space-between;
        align-items: flex-start;
        gap: 3rem; /* Generous breathing room between text and photo */
    }

    .main-content {
        flex: 1; /* Lets the text expand to fill the left side naturally */
    }

    .profile-headshot {
        max-width: 180px; /* Scales up beautifully for desktop views */
        /* Optional: keeps it perfectly pinned to the right side */
        flex-shrink: 0;
    }
}
