:root {
    --c-bg: #0a0a0b;
    --c-panel: #0e0e10;
    --c-line: rgba(255, 255, 255, 0.08);
    --c-line-strong: rgba(255, 255, 255, 0.18);
    --c-red: #c42c2c;
    --c-red-bright: #ff4141;
    --c-text: #f2f0ee;
    --c-text-dim: #8a8a8f;
    --c-text-dimmer: #4d4d52;
    --f-display: 'Chakra Petch', sans-serif;
    --f-body: 'Inter', sans-serif;
    --f-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--f-body);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.hud {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hud-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--c-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.3;
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 0%, transparent 75%);
}

.hud-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(196, 44, 44, 0.05), transparent);
    animation: scan 9s linear infinite;
}

@keyframes scan {
    0% { top: -140px; }
    100% { top: 2400px; }
}

.hud-corner {
    position: fixed;
    width: 26px;
    height: 26px;
    border-color: rgba(196, 44, 44, 0.35);
    border-style: solid;
    border-width: 0;
}

.hud-corner--tl { top: 24px; left: 24px; border-top-width: 2px; border-right-width: 2px; }
.hud-corner--tr { top: 24px; right: 24px; border-top-width: 2px; border-left-width: 2px; }
.hud-corner--bl { bottom: 24px; left: 24px; border-bottom-width: 2px; border-right-width: 2px; }
.hud-corner--br { bottom: 24px; right: 24px; border-bottom-width: 2px; border-left-width: 2px; }

.header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0.92), rgba(10, 10, 11, 0));
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.is-scrolled {
    background: rgba(10, 10, 11, 0.9);
    border-bottom-color: var(--c-line);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    text-decoration: none;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
}

.logo-bracket {
    color: var(--c-red);
}

.logo-text {
    color: var(--c-text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--c-text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    padding: 0.4rem 0.1rem;
    transition: color 0.25s ease;
}

.nav-links a span {
    position: relative;
}

.nav-links a span::before,
.nav-links a span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 5px;
    height: 1px;
    background: var(--c-red);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-links a span::before { left: -14px; transform: translate(-4px, -50%); }
.nav-links a span::after { right: -14px; transform: translate(4px, -50%); }

.nav-links a:hover {
    color: var(--c-text);
}

.nav-links a:hover span::before,
.nav-links a:hover span::after {
    opacity: 1;
    transform: translate(0, -50%);
}

.container {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-graphic {
    width: 168px;
    height: 168px;
    display: block;
    margin: 0 auto 1.5rem;
}

.hero-graphic-ring {
    transform-origin: 100px 100px;
    animation: rotate 26s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--c-text-dim);
    margin-bottom: 1.75rem;
    justify-content: center;
    width: 100%;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--c-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--c-red-bright);
    animation: pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero-title {
    font-family: var(--f-display);
    font-size: 4.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--c-text);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.hero-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--c-red);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1s steps(8);
}

.hero:hover .hero-title::after {
    clip-path: inset(0 0 0 0);
}

.hero-role {
    font-family: var(--f-body);
    font-size: 1.15rem;
    color: var(--c-text-dim);
    margin-bottom: 0.5rem;
}

.sep {
    color: var(--c-red);
    margin: 0 0.4rem;
}

.hero-alias {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--c-text-dimmer);
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--c-bg);
    background: var(--c-red);
    padding: 0.85rem 2rem;
    text-decoration: none;
    border: 1px solid var(--c-red);
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    background: var(--c-red-bright);
    border-color: var(--c-red-bright);
    box-shadow: 0 0 20px rgba(255, 65, 65, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-line-strong);
}

.btn--ghost:hover {
    background: rgba(196, 44, 44, 0.08);
    border-color: var(--c-red);
    color: var(--c-text);
    box-shadow: none;
}

.section {
    padding: 2rem 0;
}

.panel {
    position: relative;
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    padding: 3rem 3rem;
}

.panel.will-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.panel-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: var(--c-red);
    border-style: solid;
    border-width: 0;
}

.panel-corner--tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.panel-corner--tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.panel-corner--bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.panel-corner--br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

.panel-eyebrow {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--c-red);
    margin-bottom: 1.25rem;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.section-icon {
    width: 26px;
    height: 26px;
    color: var(--c-red);
    flex-shrink: 0;
}

.section-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1.55rem;
    color: var(--c-text);
    letter-spacing: 0.02em;
}

.section-text {
    font-family: var(--f-body);
    font-size: 1rem;
    color: var(--c-text-dim);
    line-height: 1.85;
    max-width: 620px;
}

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--c-text-dim);
    border: 1px solid var(--c-line-strong);
    padding: 0.45rem 0.9rem;
    letter-spacing: 0.02em;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.tag:hover {
    border-color: var(--c-red);
    color: var(--c-text);
}

.skill-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--f-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-line);
    padding-bottom: 0.75rem;
}

.skill-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--c-red);
    flex-shrink: 0;
}

.footer {
    border-top: 1px solid var(--c-line);
    padding: 1.5rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    font-family: var(--f-mono);
    color: var(--c-text-dimmer);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--c-line-strong);
    background: transparent;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.social-icon {
    width: 14px;
    height: 14px;
    fill: var(--c-text-dim);
    transition: fill 0.25s ease;
}

.social-link:hover {
    border-color: var(--c-red);
    background: rgba(196, 44, 44, 0.08);
}

.social-link:hover .social-icon {
    fill: var(--c-red-bright);
}

@media (max-width: 768px) {
    .nav {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

    .hero-graphic {
        width: 128px;
        height: 128px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .panel {
        padding: 2.25rem 1.75rem;
    }

    .hud-corner {
        width: 18px;
        height: 18px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .panel-eyebrow {
        font-size: 0.62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hud-scan,
    .dot,
    .hero-graphic-ring {
        animation: none;
    }

    .hero-title::after,
    .panel.will-reveal {
        transition: none;
    }
}
