﻿:root {
    --background: radial-gradient(circle at 20% -10%, rgba(89, 214, 255, 0.18), transparent 52%), radial-gradient(circle at 80% -5%, rgba(251, 166, 67, 0.18), transparent 50%), #020817;
    --surface: rgba(8, 15, 31, 0.9);
    --surface-muted: rgba(10, 18, 36, 0.75);
    --accent: #f0b429;
    --accent-dark: #f59e0b;
    --text: #f9fafb;
    --text-muted: #9aa6c4;
    --border: rgba(255, 255, 255, 0.08);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 24px 48px rgba(2, 8, 23, 0.45);
    --max-width: 1100px;
    --parallax-hero: 0;
    --motion-duration: 0.85s;
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --reveal-distance: 28px;
}

[data-theme="light"] {
    --background: radial-gradient(circle at 25% -10%, rgba(240, 180, 41, 0.18), transparent 55%), radial-gradient(circle at 80% 5%, rgba(89, 214, 255, 0.12), transparent 60%), #f6f4ef;
    --surface: #ffffff;
    --surface-muted: #faf7f1;
    --accent: #f0b429;
    --accent-dark: #d99607;
    --text: #1a1b1f;
    --text-muted: #4f5565;
    --border: rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 24px 48px rgba(20, 23, 38, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: var(--background);
    z-index: -2;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page {
    min-height: 100vh;
}

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--pale {
    background: var(--surface-muted);
}

.section__header {
    max-width: 620px;
}

.section__header.center {
    margin: 0 auto 3rem;
    text-align: center;
}

.section__lede {
    margin-top: 0.75rem;
    color: var(--text-muted);
}

h1, h2, h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    margin: 0;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(2.1rem, 3.2vw, 3rem);
}

h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 520px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(240, 180, 41, 0.16);
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn--primary {
    background: var(--accent);
    color: #1d1d1d;
    box-shadow: 0 18px 34px rgba(240, 180, 41, 0.3);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    transform: translateY(-2px);
    background: var(--accent-dark);
}

.btn--ghost {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    padding: 0.7rem 1.3rem;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: var(--accent);
}

.btn--sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
}

.theme-toggle {
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--text);
}

.theme-toggle__icon {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, var(--accent) 0%, var(--accent-dark) 65%, transparent 66%);
    box-shadow: 0 0 8px rgba(240, 180, 41, 0.4);
}

[data-theme="light"] .theme-toggle__icon {
    background: radial-gradient(circle at 50% 50%, #fde68a 0%, #f59e0b 70%, transparent 71%);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.35);
}

.theme-toggle__label {
    font-size: 0.85rem;
}

[data-theme="light"] .theme-toggle {
    background: rgba(26, 27, 31, 0.05);
    border-color: rgba(26, 27, 31, 0.12);
    color: var(--text-muted);
}

[data-theme="light"] .theme-toggle__label {
    color: var(--text);
}

@media (max-width: 960px) {
    .theme-toggle {
        margin-left: 0.5rem;
    }
}

.btn--text {
    color: var(--accent-dark);
}

.btn--text:hover,
.btn--text:focus-visible {
    color: var(--accent);
}

.reveal {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    transition: opacity var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo__mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
}

.logo__text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.primary-nav {
    margin-left: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-muted);
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

.nav__links a {
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav__links a:hover,
[data-theme="light"] .nav__links a:focus-visible {
    background: rgba(26, 27, 31, 0.08);
}

/* Hero */
.hero {
    position: relative;
    padding-top: clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    --parallax-offset: var(--parallax-hero);
}

.hero::before {
    content: '';
    position: absolute;
    inset: -10% 40% 35% -5%;
    background: radial-gradient(circle at 40% 40%, rgba(240, 180, 41, 0.22), transparent 70%);
    transform: translate3d(0, calc(var(--parallax-offset) * -0.08px), 0);
    transition: transform 0.2s ease-out;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 10% 5% auto 38%;
    height: clamp(160px, 28vw, 320px);
    border-radius: 999px;
    background: radial-gradient(circle at 40% 35%, rgba(240, 180, 41, 0.18), transparent 65%);
    filter: blur(80px);
    opacity: 0.55;
    transform: translate3d(0, calc(var(--parallax-offset) * 0.05px), 0);
    transition: transform 0.2s ease-out;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.hero__visual {
    display: flex;
    justify-content: flex-end;
}




}

.hero__content {
    display: grid;
    gap: 1.6rem;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__metrics {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.hero__metrics dt {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.hero__metrics dd {
    margin: 0.4rem 0 0;
    color: var(--text-muted);
}

.portrait {
    position: relative;
    width: min(100%, 320px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.portrait img {
    width: 100%;
    height: auto;
    display: block;
}

.portrait__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 52% 20%, rgba(240, 180, 41, 0.26), transparent 70%);
    mix-blend-mode: screen;
    animation: glowPulse 10s ease-in-out infinite;
}

/* Grid blocks */
.grid {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid--caps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid--highlights {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--journey {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.card,
.highlight-card {
    background: var(--surface);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 18px 38px rgba(20, 23, 38, 0.08);
    color: var(--text-muted);
}

.card {
    display: grid;
    gap: 1rem;
}

.card h3,
.highlight-card h3 {
    color: var(--text);
}

.card .btn {
    justify-self: start;
}

.highlight-card__tools {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.highlight-card header {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: rgba(240, 180, 41, 0.14);
    color: var(--accent-dark);
}

.journey__timeline h2,
.journey__credentials h2 {
    margin-bottom: 1.5rem;
}

.journey__timeline ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.journey__timeline li {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(26, 27, 31, 0.08);
    color: var(--text-muted);
}

.journey__timeline strong {
    color: var(--text);
}

.credential-list {
    display: grid;
    gap: 1rem;
}

.cred {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.2rem 1.4rem;
    box-shadow: 0 12px 24px rgba(20, 23, 38, 0.06);
}

.cred h3 {
    font-size: 1.05rem;
}

.cred p,
.education p {
    margin: 0.4rem 0 0;
    color: var(--text-muted);
}

.education {
    margin-top: 1.5rem;
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(20, 23, 38, 0.06);
}

/* Contact */
.section--contact {
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.contact {
    display: grid;
    justify-items: center;
}

.contact__content {
    max-width: 520px;
    text-align: center;
    display: grid;
    gap: 1.3rem;
}

.contact__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.contact__item {
    list-style: none;
}

.contact__chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(148, 163, 184, 0.12);
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 14px 26px rgba(2, 8, 23, 0.4);
    transition: transform 0.45s var(--motion-ease), box-shadow 0.45s var(--motion-ease), border-color 0.45s var(--motion-ease), background 0.45s var(--motion-ease);
}

[data-theme="light"] .contact__chip {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 22px rgba(20, 23, 38, 0.12);
}

.contact__chip::after {
    content: attr(data-label);
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, 6px);
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: rgba(2, 8, 23, 0.92);
    color: var(--text);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(2, 8, 23, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--motion-ease), transform 0.35s var(--motion-ease);
    z-index: 12;
}

.contact__chip::before {
    content: '';
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    width: 14px;
    height: 14px;
    background: rgba(2, 8, 23, 0.92);
    transform: translate(-50%, 12px) rotate(45deg);
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--motion-ease), transform 0.35s var(--motion-ease);
    box-shadow: 0 14px 28px rgba(2, 8, 23, 0.45);
    z-index: 11;
}

[data-theme="light"] .contact__chip::after,
[data-theme="light"] .contact__chip::before {
    background: rgba(255, 255, 255, 0.96);
    color: #1a1b1f;
    box-shadow: 0 14px 30px rgba(20, 23, 38, 0.15);
}

[data-theme="light"] .contact__chip::after {
    color: #1a1b1f;
}

.contact__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact__icon svg {
    width: 22px;
    height: 22px;
}

.contact__chip:hover,
.contact__chip:focus-visible {
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(240, 180, 41, 0.7), rgba(56, 189, 248, 0.7));
    border-color: rgba(240, 180, 41, 0.55);
    box-shadow: 0 20px 38px rgba(2, 8, 23, 0.55);
}

[data-theme="light"] .contact__chip:hover,
[data-theme="light"] .contact__chip:focus-visible {
    box-shadow: 0 16px 34px rgba(20, 23, 38, 0.18);
}

.contact__chip:hover::after,
.contact__chip:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.contact__chip:hover::before,
.contact__chip:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 4px) rotate(45deg);
}

.agent-bubble {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.agent-bubble__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(2, 8, 23, 0.7);
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(2, 8, 23, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-theme="light"] .agent-bubble__toggle {
    background: rgba(255, 255, 255, 0.88);
    color: #1a1b1f;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 32px rgba(20, 23, 38, 0.12);
}

.agent-bubble__toggle:hover,
.agent-bubble__toggle:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.agent-bubble__label {
    font-size: 0.85rem;
}

.agent-bubble__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.25);
    font-weight: 700;
    font-size: 0.78rem;
}

[data-theme="light"] .agent-bubble__icon {
    background: rgba(15, 23, 42, 0.08);
    color: #1a1b1f;
}

.agent-bubble__hint {
    max-width: 220px;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.85rem;
    box-shadow: var(--shadow-soft);
}

.agent-bubble.is-open .agent-bubble__hint,
.agent-bubble.greeted .agent-bubble__hint {
    display: none;
}

.agent-chat {
    width: min(360px, 92vw);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 24px 48px rgba(2, 8, 23, 0.5);
    overflow: hidden;
}

.agent-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: rgba(2, 8, 23, 0.65);
}

[data-theme="light"] .agent-chat__header {
    background: rgba(250, 247, 241, 0.9);
}

.agent-chat__title {
    margin: 0;
    font-weight: 600;
    color: var(--text);
}

.agent-chat__close {
    border: 1px solid var(--border);
    background: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.agent-chat__close:hover,
.agent-chat__close:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(240, 180, 41, 0.12);
}

.agent-chat__body {
    max-height: 280px;
    padding: 1rem 1.25rem;
    overflow-y: auto;
    display: grid;
    gap: 0.75rem;
}

.agent-chat__messages {
    display: grid;
    gap: 0.75rem;
}

.agent-chat__message {
    display: inline-flex;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.94rem;
    line-height: 1.4;
    color: var(--text);
}

.agent-chat__message--user {
    justify-self: end;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #101010;
}

.agent-chat__message--bot {
    justify-self: start;
    background: rgba(2, 8, 23, 0.75);
    border: 1px solid rgba(240, 180, 41, 0.22);
}

[data-theme="light"] .agent-chat__message--bot {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1b1f;
}

.agent-chat__message--typing {
    background: rgba(2, 8, 23, 0.55);
    border-style: dashed;
    opacity: 0.8;
}

[data-theme="light"] .agent-chat__message--typing {
    background: rgba(255, 255, 255, 0.82);
}

.agent-chat__typing {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 32px;
}

.agent-chat__typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: agentTyping 1.2s ease-in-out infinite;
}

.agent-chat__typing-dot:nth-child(2) {
    animation-delay: 0.18s;
}

.agent-chat__typing-dot:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes agentTyping {
    0%, 100% {
        opacity: 0.25;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.agent-chat__form {
    padding: 1rem 1.25rem 1.2rem;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 0.5rem;
}

.agent-chat__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.agent-chat__input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    align-items: flex-start;
}

.agent-chat__input-row textarea {
    width: 100%;
    resize: vertical;
    min-height: 52px;
    max-height: 120px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(2, 8, 23, 0.45);
    color: var(--text);
    padding: 0.6rem 0.75rem;
    font-family: inherit;
}

[data-theme="light"] .agent-chat__input-row textarea {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1b1f;
}

.agent-chat__send {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #111827;
    font-weight: 600;
    cursor: pointer;
}

.agent-chat__send:hover,
.agent-chat__send:focus-visible {
    transform: translateY(-1px);
}

.agent-chat__footnote {
    margin: 0;
    font-size: 0.72rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .agent-bubble {
        right: 1rem;
        bottom: 1rem;
    }

    .agent-chat {
        width: min(320px, 88vw);
    }
}

/* Footer */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1.8rem 0 2.4rem;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer__links {
    display: flex;
    gap: 1rem;
}

.footer__links a:hover {
    color: var(--accent-dark);
}

/* Motion enhancements */
.portrait,
.card,
.highlight-card,
.cred,
.education {
    transition: transform 0.6s var(--motion-ease), box-shadow 0.6s var(--motion-ease), border-color 0.6s var(--motion-ease);
}

.portrait:hover,
.portrait:focus-within,
.card:hover,
.card:focus-within,
.highlight-card:hover,
.highlight-card:focus-within,
.cred:hover,
.cred:focus-within,
.education:hover,
.education:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(20, 23, 38, 0.12);
    border-color: rgba(26, 27, 31, 0.12);
}

.hero__metrics div {
    transition: transform 0.4s var(--motion-ease);
}

.hero__metrics div:hover {
    transform: translateY(-3px);
}

@keyframes glowPulse {
    0% { transform: scale(1); opacity: 0.36; }
    50% { transform: scale(1.05); opacity: 0.6; }
    100% { transform: scale(1); opacity: 0.36; }
}

/* Parallax base */
[data-parallax] {
    position: relative;
    isolation: isolate;
    --parallax-offset: 0;
    overflow: hidden;
}

.section[data-parallax]::before {
    content: '';
    position: absolute;
    inset: -25% -15% 10%;
    background: radial-gradient(circle at 14% 18%, rgba(240, 180, 41, 0.12), transparent 60%),
                radial-gradient(circle at 80% 32%, rgba(26, 27, 31, 0.08), transparent 60%);
    opacity: 0.45;
    transform: translate3d(0, calc(var(--parallax-offset) * -0.12px), 0);
    transition: transform 0.2s ease-out;
    pointer-events: none;
    z-index: -1;
}

.section[data-parallax]::after {
    content: '';
    position: absolute;
    inset: 35% 24% -30%;
    background: radial-gradient(circle at 50% 50%, rgba(240, 180, 41, 0.12), transparent 70%);
    filter: blur(80px);
    opacity: 0.35;
    transform: translate3d(0, calc(var(--parallax-offset) * 0.08px), 0);
    transition: transform 0.2s ease-out;
    pointer-events: none;
    z-index: -1;
}

/* Responsive */
@media (max-width: 960px) {
    .nav-toggle {
        display: flex;
    }

    .nav__links {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        width: min(320px, 90vw);
        flex-direction: column;
        gap: 0.8rem;
        padding: 1.4rem;
        border-radius: var(--radius-md);
        background: var(--surface);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-soft);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav__links.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .header__inner {
        position: relative;
    }

    .btn--ghost {
        display: none;
    }
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 680px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__visual {
        justify-content: center;
    }

    .hero__metrics {
        text-align: left;
    }

    .grid--caps,
    .grid--highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: clamp(2.2rem, 8vw, 2.7rem);
    }

    .btn {
        width: 100%;
    }

    .hero__cta {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal,
    .reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
    }

    [data-parallax]::before,
    [data-parallax]::after,
    .hero::before,
    .hero::after {
        transform: none !important;
    }
}

