:root {
    /* Engineering Elegance Palette */
    --bg-body: #0E1116;
    --bg-surface: #151A21;
    --bg-card: #1C2330;
    --bg-card-hover: #232C3C;

    --border-dim: #2A3342;
    --border-highlight: #3A465A;

    --text-primary: #E6EAF0;
    --text-secondary: #A9B1C2;
    --text-muted: #7A8499;

    /* Professional Accents */
    --accent-primary: #E6EAF0;
    --accent-brand: #4C8DFF;
    --accent-brand-hover: #6AA0FF;
    --accent-brand-active: #3B73D9;
    --accent-focus: rgba(76, 141, 255, 0.4);
    --accent-glow: rgba(76, 141, 255, 0.2);

    --success: #3FB27F;
    --warning: #E5B567;
    --danger: #E06C75;
    --info: #5FAFFF;

    --nav-bg: rgba(14, 17, 22, 0.85);
    --grid-line: rgba(42, 51, 66, 0.35);
    --surface-highlight: rgba(255, 255, 255, 0.04);
    --bg-terminal: #0B0F14;

    --font-sans: 'Space Grotesk', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --font-label: 'Space Grotesk', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-small: 'Space Grotesk', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-quote: 'Oxanium', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

html {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
    --bg-body: #F6F8FB;
    --bg-surface: #FFFFFF;
    --bg-card: #EEF2F7;
    --bg-card-hover: #E5EAF1;
    --border-dim: #D5DDE8;
    --border-highlight: #C4CDD9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #7A8499;
    --accent-primary: #0F172A;
    --accent-brand: #4C8DFF;
    --accent-brand-hover: #6AA0FF;
    --accent-brand-active: #3B73D9;
    --accent-focus: rgba(76, 141, 255, 0.35);
    --accent-glow: rgba(76, 141, 255, 0.18);
    --nav-bg: rgba(246, 248, 251, 0.9);
    --grid-line: rgba(42, 51, 66, 0.12);
    --surface-highlight: rgba(15, 23, 42, 0.04);
    --bg-terminal: #0F172A;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Ambient Background */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dim);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border-dim);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-focus);
}

.theme-icon {
    width: 18px;
    height: 18px;
}

html[data-theme="dark"] .theme-icon-sun {
    display: none;
}

html[data-theme="light"] .theme-icon-moon {
    display: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-small);
    transition: color 0.15s;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-dim);
    box-shadow: inset 0 1px 0 var(--surface-highlight);
    background-image: radial-gradient(120px 60px at 20% 20%, rgba(76, 141, 255, 0.18), transparent 70%);
    padding: 0 16px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-small);
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta,
.status-badge {
    height: 32px;
    line-height: 1;
    align-items: center;
}

.nav-cta:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
    background-image: radial-gradient(140px 70px at 20% 20%, rgba(76, 141, 255, 0.28), transparent 70%);
}

.nav-cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.2);
}

/* Typography Utilities */
h1,
h2,
h3 {
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-family: var(--font-label);
}

.section-label {
    font-family: var(--font-small);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    display: block;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
    border-top: 1px solid var(--border-dim);
}

section:first-of-type {
    border-top: none;
    padding-top: 180px;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    font-family: var(--font-quote);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.cite a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 4px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 1px;
    font-family: var(--font-quote);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.cite a:hover {
    color: var(--text-secondary);
}

.motto {
    color: var(--text-primary);
    font-family: var(--font-small);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.signal {
    display: inline-block;
    margin: 6px 12px 6px 0;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--border-dim);
    color: var(--text-secondary);
    font-family: var(--font-quote);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signal-line {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--border-dim);
    color: var(--text-secondary);
    font-family: var(--font-quote);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.signal-strong {
    color: var(--text-primary);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-dim);
    box-shadow: inset 0 1px 0 var(--surface-highlight);
    background-image: radial-gradient(140px 70px at 20% 20%, rgba(76, 141, 255, 0.2), transparent 70%);
}

.btn-primary:hover {
    background: var(--bg-card-hover);
    background-image: radial-gradient(160px 80px at 20% 20%, rgba(76, 141, 255, 0.3), transparent 70%);
}

.btn-primary:active {
    background: var(--bg-card);
}

.btn-outline {
    background: var(--bg-card);
    border-color: var(--border-dim);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-focus);
}

.hero-image {
    position: relative;
}

.avatar-frame {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    box-shadow: inset 0 1px 0 var(--surface-highlight);
}

.avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.avatar-frame:hover img {
    filter: grayscale(0%);
}

/* ========================================
           Organic "Open to Opportunities" Badge
           Liquid Glass + Diffused Glow Aesthetic
           Position: Bottom-Right, curves UPWARD
           ======================================== */
.status-badge-organic {
    position: absolute;
    bottom: -25px;
    right: -45px;
    width: 240px;
    height: 90px;
    z-index: 2;
    pointer-events: none;
    isolation: isolate;
}

/* Traveling glow ellipse (SVG-based, animated via animateMotion) */
/* Opacity is fully controlled by SVG animate, do not set here */
.traveling-glow {
    pointer-events: none;
}

/* SVG ring container */
.status-ring {
    position: relative;
    width: 100%;
    height: 100%;
}

.status-ring-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Ring path animation */
.ring-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 0;
}

.ring-outer {
    animation: ringGlow 3s ease-in-out infinite;
}

.ring-inner {
    animation: ringGlow 3s ease-in-out infinite 0.5s;
}

@keyframes ringGlow {

    0%,
    100% {
        opacity: 0.85;
        filter: drop-shadow(0 0 4px rgba(63, 178, 127, 0.4));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(63, 178, 127, 0.6));
    }
}

/* Text styling - high contrast */
.status-text {
    fill: #5AE89C;
    font-family: var(--font-small);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Pulsing indicator dot - left of "OPEN" text, with gap */
.status-pulse {
    position: absolute;
    bottom: 18px;
    left: 6px;
    width: 7px;
    height: 7px;
    background: #5AE89C;
    border-radius: 50%;
    box-shadow:
        0 0 5px #5AE89C,
        0 0 10px rgba(90, 232, 156, 0.5),
        0 0 16px rgba(90, 232, 156, 0.25);
    /* Same 7s cycle as traveling glow for perfect sync */
    animation: pulseDot 7s ease-in-out infinite;
}

.status-pulse::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(90, 232, 156, 0.4);
    /* Ripple expands at 27% when glow starts moving */
    animation: pulseRing 7s ease-out infinite;
}

/* Dot pulses brighter when glow departs (27%) */
@keyframes pulseDot {

    0%,
    20% {
        transform: scale(1);
        opacity: 0.8;
    }

    27% {
        transform: scale(1.3);
        opacity: 1;
    }

    35%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Ripple expands outward when glow departs (27%) */
@keyframes pulseRing {

    0%,
    25% {
        transform: scale(1);
        opacity: 0;
    }

    27% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(2.5);
        opacity: 0;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Light theme adjustments */

html[data-theme="light"] .status-text {
    fill: #1d8f5c;
}

html[data-theme="light"] .status-pulse {
    background: #28a868;
    box-shadow:
        0 0 6px #28a868,
        0 0 12px rgba(40, 168, 104, 0.5);
}

@keyframes pulse {
    50% {
        opacity: 0.5;
    }
}

/* Projects Grid (Bento/Card style) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    box-shadow: inset 0 1px 0 var(--surface-highlight);
}

/* Spotlight Effect Container */
.card-inner {
    z-index: 10;
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.project-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.tech-tag {
    font-family: var(--font-small);
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
}

/* Skills (Categorized Logo Grid) */
.stack-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 32px;
    position: relative;
}

.stack-category {
    position: relative;
    overflow: hidden;
}

.stack-category h3 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 8px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 16px;
    position: relative;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    cursor: default;
    position: relative;
    --lit: 0;
    box-shadow: inset 0 1px 0 var(--surface-highlight);
}

.tech-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, calc(0.08 * var(--lit))),
            rgba(237, 237, 237, calc(0.04 * var(--lit))),
            transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.tech-item.lit::before {
    opacity: 1;
}

.tech-item.lit {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px -8px rgba(255, 255, 255, 0.08);
}

.tech-item:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.tech-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    filter: grayscale(100%) opacity(0.7);
}

.tech-item.lit .tech-icon-wrapper,
.tech-item:hover .tech-icon-wrapper {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.tech-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.5s ease;
}

.tech-item.lit .tech-label,
.tech-item:hover .tech-label {
    color: var(--text-primary);
}

/* Light beam overlay for stack section */
#stack {
    position: relative;
    overflow: hidden;
}

.light-beam {
    position: absolute;
    top: -20%;
    left: -300px;
    width: 180px;
    height: 140%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.01) 20%,
            rgba(255, 255, 255, 0.04) 40%,
            rgba(237, 237, 237, 0.06) 50%,
            rgba(255, 255, 255, 0.04) 60%,
            rgba(255, 255, 255, 0.01) 80%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
    transform: skewX(-18deg);
    animation: beamSweep 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes beamSweep {
    0% {
        left: -300px;
        opacity: 0;
    }

    5% {
        opacity: 0.6;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    95% {
        opacity: 0.6;
    }

    100% {
        left: calc(100% + 300px);
        opacity: 0;
    }
}

/* Homelab (Terminal Vibe) */
.homelab-container {
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    background: var(--bg-terminal);
    padding: 24px;
    font-family: var(--font-mono);
    box-shadow: inset 0 1px 0 var(--surface-highlight);
}

.homelab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.status-indicator {
    color: var(--success);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: background 0.15s;
}

.service-row:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.service-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-dim);
}

.service-dot.up {
    background: var(--success);
    box-shadow: 0 0 5px var(--success);
}

.service-dot.down {
    background: var(--danger);
}

/* Contact Section */
.contact-section {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--surface-highlight) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 48px;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 var(--surface-highlight);
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.02));
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    color: var(--text-primary);
}

.contact-card.primary {
    background: var(--bg-card);
    border-color: var(--border-dim);
    color: var(--text-secondary);
}

.contact-card.primary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
}

.contact-icon {
    width: 32px;
    height: 32px;
    opacity: 0.8;
    transition: all 0.3s;
}

.contact-card:hover .contact-icon {
    opacity: 1;
    transform: scale(1.1);
}

.contact-card.primary .contact-icon {
    color: var(--text-secondary);
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-hint {
    font-family: var(--font-small);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -4px;
}

.contact-card.primary .contact-hint {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-dim);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}

footer a:hover {
    color: var(--text-primary);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .avatar-frame {
        margin: 0 auto;
        width: 280px;
        height: 280px;
    }

    .status-arc {
        position: relative;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        margin-bottom: 12px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    footer {
        flex-direction: column;
        gap: 20px;
    }
}