/* Classic: the earlier floating navigation, quiet grid, pill controls and work cards. */
:root { --canvas: #f6f7f3; --surface: #fff; --soft: #edefe8; --ink: #171a16; --muted: #53594f; --quiet: #687160; --line: #dce0d6; --accent: #a94210; --accent-soft: #f8e9e0; --grid-line: #171a1605; }
[data-theme="dark"] { --canvas: #080a08; --surface: #111410; --soft: #181d16; --ink: #f5f7ef; --muted: #c1c9b9; --quiet: #98a58e; --line: #2b3425; --accent: #ffa775; --accent-soft: #30221b; --grid-line: #f5f7ef05; }
body { background-color: var(--canvas); background-image: linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px); background-size: 42px 42px; }
.navbar { top: 12px; margin: 12px auto 0; width: min(1160px,calc(100% - 64px)); background: transparent; border: 0; }
.navbar .nav-inner { width: 100%; max-width: none; padding: 8px 14px 8px 20px; min-height: 68px; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 40px; box-shadow: 0 12px 32px #0001; }
.nav-logo { font-size: 17px; }
.nav-logo img { width: 30px; height: 30px; }
.nav-menu { gap: 1px; padding: 3px; background: var(--soft); border-radius: 30px; }
.nav-link { min-height: 38px; border: 0; padding: 8px 11px; border-radius: 24px; font-size: 12px; }
.nav-link.active { background: var(--surface); box-shadow: 0 2px 8px #0001; }
.nav-actions { gap: 3px; }
.language-switch { padding: 2px; border: 0; border-radius: 24px; background: var(--soft); }
.language-switch a { padding: 8px; }
.language-switch .active { background: var(--surface); border-radius: 24px; }
.theme-toggle, .nav-toggle { border-radius: 50%; background: var(--soft); }
.btn { border-radius: 28px; }
.btn-primary:hover { color: var(--canvas); }
.btn-secondary { background: var(--surface); }
.section-badge { width: fit-content; display: inline-flex; gap: 7px; padding: 6px 10px; background: var(--soft); border: 1px solid var(--line); border-radius: 24px; font-size: 10px; }
.identity-section { padding-top: 64px; }
.identity-topline { justify-content: flex-start; gap: 28px; }
.identity-person img { filter: none; width: 68px; height: 68px; border-radius: 22px; border: 2px solid var(--surface); box-shadow: 0 4px 20px #0001; }
.identity-person { font-size: 13px; }
.availability { padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 30px; color: var(--muted); }
.identity-title { font-size: 76px; font-weight: 750; line-height: 1.08; margin-block: 30px 24px; }
.identity-title .name-muted { color: var(--quiet); }
.identity-arrow { width: 62px; height: 62px; font-size: 25px; background: var(--surface); }
.identity-role { font-size: 15px; }
.identity-description { max-width: 630px; }
.hero-actions { gap: 10px; }
.hero-actions .text-link { padding-inline: 20px; }
.identity-caption { margin-top: 32px; }
.home-work { border-top: 0; padding-top: 65px; }
.editorial-heading h2 { font-size: 34px; }
.work-controls { border: 0; padding-bottom: 6px; }
.work-filter-row { gap: 6px; }
.work-filter-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 24px; }
.work-view-toggle { padding: 3px; background: var(--soft); border: 1px solid var(--line); border-radius: 28px; }
.work-view-btn { border-radius: 50%; }
.work-result-count { margin-top: 12px; }
.portfolio-index-grid { gap: 24px; }
.portfolio-index-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--surface); box-shadow: 0 9px 30px #00000008; transition: transform 220ms,box-shadow 220ms; }
.portfolio-index-card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px #0001; }
.portfolio-index-media { border: 0; aspect-ratio: 1.8; }
.portfolio-index-content { padding: 18px 8px 8px; }
.portfolio-index-content h2 { font-size: 23px; }
.work-tags span, .detail-tech-row span, .about-tags span, .skill-context-chip { border: 1px solid var(--line); border-radius: 22px; }
.practice-section { background: var(--soft); }
.practice-list article > i { color: var(--accent); }
.recognition-list { display: grid; gap: 10px; }
.recognition-item { padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.final-cta { background: var(--ink); color: var(--canvas); }
.final-cta h2, .final-cta p, .final-cta a { color: var(--canvas); }
.final-cta .section-badge { background: transparent; color: var(--canvas); border-color: currentColor; }
.final-cta .cta-arrow { border-color: currentColor; }
.final-cta .cta-arrow:hover { color: var(--ink); background: var(--canvas); }
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.about-hero, .portfolio-index-hero, .skills-hero, .notes-hero, .contact-hero { padding-top: 68px; }
.about-hero h1, .portfolio-index-hero h1, .skills-hero h1, .notes-hero h1, .contact-hero h1 { font-size: 44px; font-weight: 750; }
.about-layout { gap: 58px; }
.about-profile-card > img { filter: none; }
.about-profile-card { padding-bottom: 20px; }
.about-achievement-list { display: grid; gap: 12px; }
.about-achievement-card { padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.skill-matrix-card, .education-card, .note-card { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.note-card { padding: 12px; }
.note-content { padding: 22px 10px 8px; }
.note-content h2 { font-size: 23px; }
.experience-card { padding: 30px 0; }
.contact-intake-card { box-shadow: 0 12px 38px #00000008; }
.detail-visual-card { padding: 16px; background: var(--surface); }
.detail-window-bar { display: flex; gap: 6px; align-items: center; padding: 0 0 15px; }
.detail-window-bar span { width: 7px; height: 7px; background: var(--quiet); border-radius: 50%; }
.detail-window-bar strong { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--muted); }
.detail-hero h1 { font-size: 44px; }
.detail-fact-card { padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
@media (max-width:1050px) { .navbar { width: calc(100% - 32px); } .nav-link { padding-inline: 8px; font-size: 11px; } .nav-logo > span { display: none; } }
@media (max-width:760px) {
    .navbar { width: calc(100% - 24px); top: 8px; margin-top: 8px; }
    .navbar .nav-inner { min-height: 64px; padding: 6px 10px 6px 16px; }
    .nav-logo > span { display: block; }
    .nav-menu { top: 72px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 14px; }
    .nav-link { min-height: 44px; font-size: 15px; border-radius: 4px; }
    .nav-link.active { background: var(--soft); box-shadow: none; }
    .identity-section { padding-top: 36px; }
    .identity-topline { gap: 16px; }
    .identity-title { font-size: 54px; }
    .identity-person img { width: 54px; height: 54px; border-radius: 18px; }
    .identity-bottom { display: block; }
    .identity-role { font-size: 13px; }
    .hero-actions { gap: 12px; }
    .hero-actions .text-link { padding-inline: 4px; }
    .home-work { padding-top: 40px; }
    .editorial-heading h2 { font-size: 29px; }
    .work-filter-btn { padding: 8px 12px; }
    .work-browser[data-view="gallery"] .portfolio-index-card { padding: 7px; }
    .work-browser[data-view="gallery"] .portfolio-index-content { padding: 12px 3px 5px; }
    .recognition-item { padding: 18px 14px; }
    .about-layout { gap: 30px; }
    .about-hero h1, .portfolio-index-hero h1, .skills-hero h1, .notes-hero h1, .contact-hero h1 { font-size: 36px; }
    .detail-fact-card { padding: 10px; }
    .detail-hero h1 { font-size: 34px; }
}
@media (max-width:390px) { .identity-title { font-size: 47px; } .navbar .nav-inner { gap: 5px; } .nav-logo { gap: 5px; font-size: 14px; } .nav-logo img { width: 24px; height: 24px; } }
