.about-box {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.about-box p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.experience-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.experience-item {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.experience-item h3 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.experience-item .role {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.experience-item .duration {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.experience-item p {
    line-height: 1.6;
}

.skill-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 800px;
    margin: 0 auto;
}

.skill-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid currentColor;
}

.projects {
    text-align: center;
}

.hero {
    position: relative;
}

.theme-menu {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    z-index: 2;
    color: inherit;
    font-size: 0.75rem;
    opacity: 0.68;
    transition: opacity 180ms ease;
}

.theme-menu:hover,
.theme-menu:focus-within {
    opacity: 1;
}

.theme-menu details {
    position: relative;
}

.theme-menu summary {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
    cursor: pointer;
}

.theme-menu summary::-webkit-details-marker {
    display: none;
}

.theme-chevron {
    width: 0.65rem;
    height: 0.65rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 180ms ease;
}

.theme-menu details[open] .theme-chevron {
    transform: rotate(180deg);
}

.theme-menu summary:focus-visible,
.theme-options button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.theme-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    display: grid;
    gap: 0.1rem;
    width: 10.5rem;
    max-height: min(70vh, 22rem);
    overflow-y: auto;
    padding: 0.35rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.97);
    color: #222;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.theme-options button {
    width: 100%;
    padding: 0.4rem 0.55rem;
    border: 0;
    border-radius: 0.2rem;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.theme-options button:hover,
.theme-options button[aria-pressed="true"] {
    background: rgba(89, 38, 174, 0.1);
}

.theme-options button[aria-pressed="true"] {
    font-weight: 700;
}

.workwith .icon-row i,
.workwith .icon-row svg,
.workwith .icon-row .simple-icon {
    width: 32px;
    height: 32px;
    font-size: 32px;
    line-height: 32px;
    vertical-align: middle;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.project-card {
    display: block;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
}

.reveal {
    opacity: 0;
}

.reveal.visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    html body .reveal,
    html body .reveal.visible {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
        transition: none !important;
    }
}

@media (max-width: 600px) {
    .theme-menu {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.7rem;
    }
}
