/* Personal content shares the existing 960px responsive breakpoint. */
.personal-site .x-intro h1.v-text {
    font-family: var(--body);
    font-weight: 200;
    letter-spacing: -.035em;
    line-height: 1.1;
}
.personal-site .x-sidebar .v-brand {
    font-family: 'Playwrite GB J',Georgia,'Times New Roman',serif;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.5;
}
.personal-site .x-intro p + p,
.personal-site .x-about p + p { margin-top: 20px; }
.personal-site .x-intro p,
.personal-site .x-about p {/* max-width: 68ch; */}
.personal-site .rule-label { align-items: baseline; padding: 24px 0; }
.personal-site .rule-label h2 { margin: 0; font-size: clamp(24px,2.8vw,36px); }
.personal-site .rule-label > span { color: #62685e; font-size: 11px; text-align: right; max-width: 25ch; }
.personal-site a:focus-visible,
.personal-site button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.personal-site .content-section + .content-section { margin-top: 64px; }

/* One padded native link per row: title/subtext, optional year, and arrow. */
.personal-site .x-project {
    grid-template-columns: minmax(0,1fr) 54px 24px;
    gap: 20px;
    padding: 28px 24px;
}
.personal-site .x-project .v-title {
    font-size: 25px;
    letter-spacing: -.025em;
    overflow-wrap: normal;
}
.personal-site .x-project .v-desc,
.personal-site .section-intro,
.personal-site .project-status { color: #62685e; }
.personal-site .section-intro { font-size: 14px; margin-bottom: 8px; }
.personal-site .project-status { font-size: 12px; white-space: nowrap; }
.personal-site .upcoming-project .x-project {
    grid-template-columns: minmax(0,1fr) auto;
    background: none;
}
.personal-site .text-link,
.personal-site .social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: color .16s ease-out,background-color .16s ease-out;
}
.personal-site .text-link { margin-top: 20px; font-size: 14px; }
.personal-site .text-link:hover,
.personal-site .social-links a:hover { color: var(--accent); }
.personal-site .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    margin-top: 28px;
    font-size: 14px;
}
.personal-site .site-colophon {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 48px;
    color: #62685e;
    font-size: 11px;
}
.personal-site .site-colophon { padding-bottom: env(safe-area-inset-bottom); }
.personal-site .email-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
}
.personal-site .email-row .email { min-width: 0; }
.personal-site .email-row .copy-email {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0 6px;
    min-height: 44px;
    border: 0;
    color: #62685e;
    font-size: 11px;
    background: none;
}
.personal-site .email-row .copy-email:hover { color: var(--ink); }
.personal-site .copy-email .ua-icon { width: 14px; height: 14px; }
.personal-site .copy-status:empty { display: none; }
.personal-site .copy-status:not(:empty) { display: block; margin-top: 8px; }
.personal-site .social-links .ua-icon { width: 14px; height: 14px; }
.personal-site .made-in {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.personal-site .made-in .ua-heart2 {
    width: 14px;
    height: 14px;
    color: var(--accent);
    animation: footer-heartbeat 3.6s ease-in-out infinite;
    animation-play-state: paused;
    transform-origin: center;
}
.personal-site .made-in .ua-heart2.is-in-view { animation-play-state: running; }
.personal-site .made-in .ua-heart2 svg {
    fill: currentColor;
    stroke: none;
}
/* useAnimations heart2 scale sequence, softened and spaced for a quiet loop. */
@keyframes footer-heartbeat {
    0%, 60%, 100% { transform: scale(1); }
    10% { transform: scale(.96); }
    22% { transform: scale(1.12); }
    34% { transform: scale(.98); }
    44% { transform: scale(1.06); }
}
@media (prefers-reduced-motion:reduce) {
    .personal-site .made-in .ua-heart2 { animation: none; }
    .personal-site a,
    .personal-site button { transition: none; }
}
.personal-site .profile-story { max-width: 68ch; }
.personal-site .profile-story p { font-size: 18px; line-height: 1.8; }
.personal-site .profile-story p + p { margin-top: 24px; }
.personal-site .profile-story + .x-footer { margin-top: 64px; }

/* Shared link states, with row links keeping their larger click target. */
.personal-site {
    --link-underline-offset: 5px;
    --link-icon-size: 14px;
    --link-hover-background: #24292308;
}
.personal-site :is(.text-link,.social-links a) {
    text-underline-offset: var(--link-underline-offset);
    text-decoration-thickness: 1px;
}
.personal-site :is(.text-link,.social-links a,.email):is(:hover,:focus-visible) {
    color: var(--accent);
}
.personal-site :is(.text-link,.social-links a) .ua-icon {
    width: var(--link-icon-size);
    height: var(--link-icon-size);
}
.personal-site a.x-project:is(:hover,:focus-visible),
.personal-site #skills a.x-project:is(:hover,:focus-visible) {
    background-color: var(--link-hover-background);
}
.personal-site a.x-project:is(:hover,:focus-visible) .x-arrow {
    color: inherit;
}
.personal-site .email-row .copy-email:is(:hover,:focus-visible) { color: var(--accent); }
.personal-site .x-sidebar nav.section-progress-nav a {
    position: relative;
    padding-left: 16px;
    color: #62685e;
}
.personal-site .x-sidebar nav.section-progress-nav a::before,
.personal-site .x-sidebar nav.section-progress-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    height: auto;
    border-radius: 2px;
    background: var(--line);
    pointer-events: none;
}
.personal-site .x-sidebar nav.section-progress-nav a::after {
    background: var(--ink);
    transform: scaleY(var(--section-progress,0));
    transform-origin: top;
    transition: transform .16s linear;
}
.personal-site .x-sidebar nav.section-progress-nav a:is(.is-complete,[aria-current="location"]) {
    color: var(--ink);
}
.personal-site .x-sidebar nav.section-progress-nav a[aria-current="location"] { font-weight: 500; }
.personal-site .x-sidebar nav.section-progress-nav a:is(:hover,:focus-visible) { color: var(--accent); }
@media (prefers-reduced-motion:reduce) {
    .personal-site .x-sidebar nav.section-progress-nav a::after { transition: none; }
}

/* Quiet supporting content: two columns on desktop, smaller than essay rows. */
.personal-site #skills {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 24px;
    margin-top: 24px;
}
.personal-site #skills > .rule-label {
    grid-column: 1 / -1;
    padding: 16px 0 8px;
    border-color: var(--line);
}
.personal-site #skills .rule-label h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    color: #62685e;
}
.personal-site #skills > .x-row {
    min-width: 0;
    border: 0;
}
.personal-site #skills .x-project {
    grid-template-columns: minmax(0,1fr) 16px;
    gap: 12px;
    padding: 12px;
    min-height: 68px;
    height: 100%;
    background: none;
}
.personal-site #skills .x-year { display: none; }
.personal-site #skills .v-title {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.3;
}
.personal-site #skills .v-desc {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 4px;
    white-space: normal;
}
.personal-site #skills .x-arrow { color: #62685e; }
.personal-site #skills .x-arrow .ua-icon { width: 16px; height: 16px; }

@media (max-width:960px) {
    .personal-site .x-intro h1.v-text { font-size: 32px; }
    .personal-site .x-sidebar:not(.case-sidebar) .v-brand {
        display: block;
        width: 100%;
        font-size: var(--brand-fit-size,8.5vw);
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.5;
        white-space: nowrap;
    }
    .personal-site .x-sidebar .brand-name { display: inline-block; white-space: nowrap; }
    .personal-site .x-sidebar .v-brand br { display: none; }
    .personal-site .x-sidebar:not(.case-sidebar) > nav { display: none; }
    .personal-site .x-sidebar:not(.case-sidebar) > p { display: none; }
    .personal-site .x-sidebar:not(.case-sidebar) nav { flex-wrap: wrap; gap: 0 20px; }
    .personal-site .x-project {
        grid-template-columns: minmax(0,1fr) auto 24px;
        gap: 12px;
        padding: 24px 16px;
    }
    .personal-site .x-year { display: block; }
    .personal-site .x-year:empty { display: none; }
    .personal-site .x-project:has(.x-year:empty) { grid-template-columns: minmax(0,1fr) 24px; }
    .personal-site .upcoming-project .x-project { grid-template-columns: minmax(0,1fr) auto; }
    .personal-site .x-project .v-title { font-size: 23px; }
    .personal-site .content-section + .content-section { margin-top: 40px; }
    .personal-site .profile-story p { font-size: 16px; }
    .personal-site.about-page .x-intro h1 { max-width: 100%; font-size: clamp(36px,9vw,48px); }
}

@media (max-width:600px) {
    .personal-site #skills { grid-template-columns: minmax(0,1fr); }
    .personal-site .x-project .v-desc { white-space: normal; }
    .personal-site .x-intro h1 { max-width: 100%; }
    .personal-site .x-project .v-title { font-size: clamp(21px,5.5vw,25px); }
    .personal-site .email { font-size: clamp(17px,4.6vw,20px); }
}

