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

body {
    margin: 40px auto;
    padding: 0 28px;
    max-width: 860px;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #1a1a1a;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

.header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
}

.header-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name-group {
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.social {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
    padding-top: 1.5rem;
}

.social a {
    font-size: 1.2rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.15s;
}

.social a:hover { opacity: 0.5; }

.tab-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: absolute;
    bottom: 0;
    left: 0;
}

.tab-nav .slash { color: #d0d0d0; }

.tab-link {
    font-size: 1.05rem;
    color: #d0d0d0;
    cursor: pointer;
    transition: color 0.15s;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-weight: 400;
}

.tab-link:hover { color: #1a1a1a; }

.tab-link.active {
    color: #1a1a1a;
    font-weight: 700;
}

.headshot {
    width: 170px;
    height: 213px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

p { font-size: 1rem; }

p + p, p + ul, ul + p { margin-top: 0.9rem; }

a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0,0,0,0.25);
}

a:hover { text-decoration-color: #1a1a1a; }

ul {
    padding-left: 1rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 1rem;
}

ul li::before {
    content: '·';
    margin-left: -1rem;
    margin-right: 0.45rem;
    color: #888;
}

.project {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.project-title { line-height: 1.3; }

.project-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.project-img {
    width: 180px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
}

.project-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(0,0,0,0.08);
    margin-top: 0.9rem;
    margin-bottom: 1.75rem;
}

.project-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 560px) {
    body { margin: 40px auto; padding: 0 20px; font-size: 16px; }
    .header { flex-direction: column-reverse; gap: 1.25rem; margin-bottom: 1.5rem; }
    h1 { font-size: 1.7rem; }
    .headshot { width: 100px; height: 125px; }
    .tab-nav { position: static; margin-top: 0.5rem; }
    .project-row { flex-direction: column; align-items: flex-start; }
    .project-img { width: 100%; }
}
