.about-main {
    padding: 20px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-section h2 {
    margin-bottom: 18px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: 28px;
    align-items: start;
}

.about-intro-wrap::after {
    content: "";
    clear: both;
    display: table;
}

.about-intro-wrap > p:first-of-type {
    margin-top: 0;
}

.about-text {
    font-size: 0.88em;
    line-height: 1.7;
}

.about-text p {
    margin: 0 0 1em;
}

.about-text a {
    color: #000000;
    text-decoration: underline;
}

.about-text a:hover {
    text-decoration: none;
}

.about-text a.no-underline {
    text-decoration: none;
}

.oskar-hover {
    position: relative;
    text-decoration: underline;
    text-decoration-style: dashed;
    cursor: pointer;
}

.oskar-popup {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: auto;
    border: 1px solid #dddddd;
    background: #ffffff;
    padding: 4px;
    margin-bottom: 8px;
    z-index: 10;
    pointer-events: none;
}

.oskar-hover:hover .oskar-popup {
    display: block;
}

.about-action-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.action-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #dddddd;
    background: #ffffff;
    text-decoration: none;
    color: #000000;
    font-family: var(--font-mono);
    font-size: 0.82em;
    font-weight: bold;
    transition: background 0.2s, border-color 0.2s;
}

.action-box:hover {
    background: #f0f0ec;
    border-color: #000000;
}

.action-box svg {
    opacity: 0.6;
}

.action-box:hover svg {
    opacity: 1;
}

.research-statement {
    font-size: 0.92em;
    line-height: 1.7;
}

.research-statement h3 {
    font-size: 1em;
    font-weight: bold;
    margin: 1.8em 0 0.6em;
    font-family: var(--font-mono);
}

.research-statement p {
    margin: 0 0 1em;
}

.research-statement a {
    color: #000000;
    text-decoration: underline;
}

.research-statement a:hover {
    text-decoration: none;
}

.research-statement ol {
    padding-left: 1.5em;
    margin: 0 0 1em;
}

.research-statement li {
    margin-bottom: 0.5em;
}

.people-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.2em;
    font-size: 0.92em;
}

.people-table td {
    padding: 6px 10px;
    vertical-align: top;
    border-bottom: 1px solid #e8e8e4;
}

.people-table tr:last-child td {
    border-bottom: none;
}

.people-table td:first-child {
    white-space: nowrap;
    font-weight: 500;
    width: 1%;
    padding-right: 16px;
}

.people-table a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #bbb;
    text-underline-offset: 2px;
}

.people-table a:hover {
    text-decoration-color: #000;
}

.pub-note {
    margin: 0 0 16px;
    font-size: 0.82em;
    color: #555555;
}

.pub-note a {
    color: #000000;
    text-decoration: underline;
}

.pub-note a:hover {
    text-decoration: none;
}

.pub-updated {
    color: #666666;
    font-size: 0.92em;
}

.pub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.pub-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #dddddd;
    background: #ffffff;
}

.pub-year {
    font-size: 0.78em;
    color: #666666;
    font-family: var(--font-mono);
}

.pub-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pub-title {
    margin: 0;
    font-size: 0.9em;
    font-weight: 600;
    color: #000000;
}

.pub-title a {
    color: #000000;
    text-decoration: none;
}

.pub-title a:hover {
    text-decoration: underline;
}

.pub-authors {
    margin: 0;
    font-size: 0.78em;
    color: #444444;
}

.pub-venue {
    margin: 0;
    font-size: 0.78em;
    color: #555555;
}

.pub-bottom {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
}

.pub-bottom .pub-venue {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pub-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    flex-shrink: 0;
}

.pub-tags a {
    text-decoration: none;
    color: inherit;
}

.pub-tags a .tag-paper { color: #2a9d8f; }
.pub-tags a .tag-link { color: #e76f51; }
.pub-tags a .tag-code { color: #24292f; }
.pub-tags a .tag-tweet { color: #1da1f2; }

.pub-tags span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    border: 1px dashed currentColor;
    line-height: 1;
}

.pub-tags span:hover {
    background: rgba(0, 0, 0, 0.03);
}

.pub-tags .arxiv-logo {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.about-portrait-wrapper {
    float: right;
    width: 280px;
    margin-left: 25px;
    margin-bottom: 15px;
}

.about-portrait-wrapper .ca-caption {
    margin: 6px 0 0;
    text-align: right;
}

.about-portrait-wrapper .ca-container {
    width: 280px;
    max-width: 280px;
    margin: 0;
}

.about-portrait-wrapper .ca-container canvas {
    width: 280px;
    height: 380px;
}

.ca-about-portrait {
    border: 1px solid #dddddd;
}

.activity-graph {
    margin: 0;
    padding: 16px;
    border: 1px solid #dddddd;
    background: #ffffff;
}

.activity-graph img {
    width: 100%;
    height: auto;
    display: block;
}

.activity-graph-full {
    width: 100%;
}

.repo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.repo-card {
    border: 1px solid #dddddd;
    padding: 12px 14px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.repo-card.is-loading {
    color: #777777;
    font-size: 0.82em;
    font-family: var(--font-mono);
}

.repo-title {
    font-size: 0.95em;
    font-weight: bold;
    margin: 0;
}

.repo-title a {
    color: #000000;
    text-decoration: underline;
}

.repo-title a:hover {
    text-decoration: none;
}

.repo-desc {
    margin: 0;
    font-size: 0.82em;
    line-height: 1.5;
    color: #444444;
}

.repo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.72em;
    color: #666666;
    font-family: var(--font-mono);
}

.repo-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.repo-link {
    font-size: 0.75em;
    text-decoration: underline;
    color: #000000;
    align-self: flex-start;
}

.repo-link:hover {
    text-decoration: none;
}

@media (max-width: 600px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .about-portrait-wrapper {
        float: none;
        width: auto;
        margin: 0 auto 20px;
    }
}

/* Personal intro box styling (similar to news boxes) */
.personal-intro-box {
    border: 1px solid #000000;
    padding: 20px;
    position: relative;
    background-color: #000000;
    color: #FFFFFF;
    font-family: var(--font-mono);
    z-index: 1;
    margin-bottom: 2em;
}

.personal-intro-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    border: 1px solid #000000;
    top: 4px;
    left: 4px;
    z-index: -1;
}

.personal-intro-box .box-content {
    color: #000000;
    font-size: 0.9em;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .pub-item {
        grid-template-columns: 1fr;
    }

    .repo-grid {
        grid-template-columns: 1fr;
    }

    .golden-ratio-container {
        float: none;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 16px;
    }

    .fish-school-container {
        float: none;
        width: 100%;
        max-width: 220px;
        margin: 0 auto 16px;
    }
}

/* Fish School Animation Section */
.sakana-section {
    overflow: hidden;
}

.fish-school-container {
    float: left;
    width: 220px;
    margin-right: 20px;
    margin-bottom: 8px;
}

.fish-school-canvas {
    width: 100%;
    height: auto;
    display: block;
    background: #f8f8f6;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.fish-school-caption {
    text-align: right;
    font-size: 0.68em;
    color: #999999;
    margin: 4px 0 0;
    font-family: var(--font-mono);
    font-style: italic;
}

/* Golden Ratio Animation Section */
.drives-section {
    overflow: hidden;
}

.drives-text {
    margin: 0;
}

.drives-text p {
    margin: 0;
}

.golden-ratio-container {
    float: right;
    width: 250px;
    margin-left: 20px;
    margin-bottom: 0;
}

.golden-ratio-svg {
    width: 100%;
    height: auto;
    display: block;
    background: #f8f8f6;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.golden-ratio-caption {
    text-align: right;
    font-size: 0.68em;
    color: #999999;
    margin: 4px 0 0;
    font-family: var(--font-mono);
    font-style: italic;
}

/* Grid lines animation */
.grid-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 1.5s ease-out forwards;
}

.grid-line:nth-child(1) { animation-delay: 0.2s; }
.grid-line:nth-child(2) { animation-delay: 0.3s; }
.grid-line:nth-child(3) { animation-delay: 0.4s; }
.grid-line:nth-child(4) { animation-delay: 0.5s; }
.grid-line:nth-child(5) { animation-delay: 0.6s; }
.grid-line:nth-child(6) { animation-delay: 0.7s; }

/* Outer rectangle animation */
.outer-rect {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawLine 2s ease-out 0.1s forwards;
}

/* Diagonal lines animation */
.diag-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLine 1.8s ease-out forwards;
}

.diag-line:nth-child(1) { animation-delay: 0.8s; }
.diag-line:nth-child(2) { animation-delay: 0.9s; }
.diag-line:nth-child(3) { animation-delay: 1.0s; }
.diag-line:nth-child(4) { animation-delay: 1.1s; }

/* Spiral arcs animation - the main attraction */
.spiral-arc {
    stroke-dasharray: 250;
    stroke-dashoffset: 250;
    animation: drawSpiral 1.2s ease-in-out forwards;
}

.arc-1 { animation-delay: 1.2s; }
.arc-2 { animation-delay: 1.5s; }
.arc-3 { animation-delay: 1.8s; }
.arc-4 { animation-delay: 2.1s; }
.arc-5 { animation-delay: 2.4s; }
.arc-6 { animation-delay: 2.7s; }
.arc-7 { animation-delay: 3.0s; }
.arc-8 { animation-delay: 3.3s; }
.arc-9 { animation-delay: 3.6s; }
.arc-10 { animation-delay: 3.9s; }

/* Ellipse arcs animation */
.ellipse-arc {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawLine 2.5s ease-out forwards;
}

.ellipse-arc:nth-child(1) { animation-delay: 4.2s; }
.ellipse-arc:nth-child(2) { animation-delay: 4.5s; }

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawSpiral {
    to {
        stroke-dashoffset: 0;
    }
}

/* Subtle pulse on hover */
.golden-ratio-container:hover .spiral-arc {
    animation: pulse 2s ease-in-out infinite;
    stroke-dashoffset: 0;
}

@keyframes pulse {
    0%, 100% { stroke-width: 1.2; opacity: 1; }
    50% { stroke-width: 1.8; opacity: 0.8; }
}
