:root {
    --bg: #07080b;
    --bg-soft: #0d0f13;

    --panel: rgba(15, 17, 22, 0.78);
    --panel-strong: rgba(19, 21, 27, 0.88);
    --card: rgba(23, 25, 31, 0.72);

    --text: #f1f1f1;
    --muted: #9a9da5;
    --faint: #666a73;

    --accent: #ff7548;
    --accent-soft: rgba(255, 117, 72, 0.16);

    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.15);

    --max: 1050px;
    --radius: 14px;
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    min-height: 100vh;

    background: var(--bg);
    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;

    overflow-x: hidden;
}



body::before {
    content: "";

    position: fixed;
    inset: -18px;

    background:
        linear-gradient(
            rgba(5, 6, 9, 0.76),
            rgba(5, 6, 9, 0.90)
        ),
        url("background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: blur(2px);

    z-index: -2;
    pointer-events: none;
}



body::after {
    content: "";

    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(255, 117, 72, 0.08),
            transparent 30%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(7, 8, 11, 0.35) 70%,
            rgba(7, 8, 11, 0.75) 100%
        );

    z-index: -1;
    pointer-events: none;
}


a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
}

strong {
    color: var(--text);
}

img {
    max-width: 100%;
}

::selection {
    background: var(--accent);
    color: #111;
}


.container {
    width: min(90%, var(--max));
    margin: 0 auto;
}

.section {
    padding: 105px 0;
    scroll-margin-top: 70px;
}

.section-dark {
    background: rgba(7, 8, 11, 0.42);

    border-top: 1px solid rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}



.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(7, 8, 11, 0.72);

    border-bottom: 1px solid var(--line);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo {
    font-family: monospace;
    font-weight: 700;

    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    position: relative;

    color: var(--muted);
    font-size: 13px;

    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}



.hero {
    min-height: calc(100vh - 68px);

    display: flex;
    align-items: center;

    padding: 85px 0;
}

.hero-grid {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 65px;

    align-items: center;
}

.eyebrow,
.section-number {
    color: var(--accent);

    font-family: monospace;
    font-size: 12px;

    letter-spacing: 2px;
}

.hero h1 {
    margin: 13px 0 10px;

    font-size: clamp(52px, 8vw, 92px);

    line-height: 0.94;

    letter-spacing: -3px;
}

.hero h1 span {
    display: block;

    color: var(--accent);
}

.hero-alias {
    font-size: 18px;
    color: var(--muted);
}

.hero-alias strong {
    color: var(--text);
}

.hero-description {
    max-width: 560px;

    margin: 25px 0 30px;

    font-size: 18px;
}

.hero-buttons {
    display: flex;

    gap: 11px;

    flex-wrap: wrap;
}

.button {
    display: inline-block;

    padding: 11px 17px;

    border: 1px solid var(--line-strong);

    font-size: 13px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);

    border-color: var(--accent);
}

.button-primary {
    background: var(--accent);

    border-color: var(--accent);

    color: #111;

    font-weight: 700;
}

.button-primary:hover {
    background: #ff865e;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.025);
}

.scroll-hint {
    margin-top: 45px;

    color: var(--faint);

    font-family: monospace;
    font-size: 12px;
}

.hero-card {
    padding: 26px;

    background: var(--panel);

    border: 1px solid var(--line);

    border-radius: var(--radius);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.hero-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(255, 117, 72, 0.42);
}

.terminal-bar {
    display: flex;

    gap: 7px;

    margin-bottom: 20px;
}

.terminal-bar span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #4b4e55;
}

.terminal-bar span:first-child {
    background: var(--accent);
}

.terminal-content {
    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 13px;
}

.terminal-content p {
    margin-bottom: 5px;
}

.terminal-indent {
    padding-left: 18px;
}

.terminal-more {
    padding-left: 36px;
}

.terminal-purple {
    color: var(--accent);
}

.terminal-green {
    color: #a7d8a7;
}

.terminal-comment {
    margin-top: 15px;

    color: var(--faint) !important;
}


.stats-section {
    background: rgba(7, 8, 11, 0.55);

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.stat-card {
    padding: 28px 20px;

    text-align: center;

    border-right: 1px solid var(--line);
}

.stat-card:last-child {
    border-right: none;
}

.stat-card strong {
    display: block;

    color: var(--text);

    font-size: 28px;
}

.stat-card span {
    color: var(--faint);

    font-family: monospace;

    font-size: 11px;
}


.section-heading {
    margin-bottom: 48px;
}

.section-heading h2 {
    margin: 7px 0 10px;

    font-size: clamp(35px, 5vw, 50px);

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.section-heading.centered {
    text-align: center;
}



.about-grid {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap: 55px;

    align-items: start;
}

.about-text p {
    max-width: 700px;

    margin-bottom: 18px;
}

.about-text .lead {
    color: var(--text);

    font-size: 20px;
}

.quote-card {
    padding: 27px;

    background: var(--panel);

    border: 1px solid var(--line);

    border-left: 2px solid var(--accent);

    border-radius:
        0
        var(--radius)
        var(--radius)
        0;

    backdrop-filter: blur(12px);
}

.quote-mark {
    color: var(--accent);

    font-size: 35px;

    line-height: 1;
}

.quote-card blockquote {
    margin: 10px 0;

    color: var(--text);

    font-size: 17px;
}

.quote-card p {
    margin-top: 14px;

    font-family: monospace;

    font-size: 11px;
}


.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.skill-group {
    padding: 25px;

    background: var(--card);

    border: 1px solid var(--line);

    border-radius: var(--radius);

    backdrop-filter: blur(10px);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.skill-group:hover {
    transform: translateY(-4px);

    border-color:
        rgba(255, 117, 72, 0.35);
}

.skill-icon {
    margin-bottom: 17px;

    color: var(--accent);

    font-family: monospace;

    font-size: 20px;
}

.skill-group h3 {
    margin-bottom: 17px;
}

.skill-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.skill-tags span,
.project-tech span {
    padding: 5px 8px;

    color: #a9abb1;

    font-family: monospace;

    font-size: 11px;

    background:
        rgba(255, 255, 255, 0.025);

    border: 1px solid var(--line);

    border-radius: 5px;
}

.skill-tags span:hover,
.project-tech span:hover {
    color: var(--text);

    border-color:
        rgba(255, 117, 72, 0.35);
}


.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}

.project-card {
    padding: 28px;

    background: var(--card);

    border: 1px solid var(--line);

    border-radius: var(--radius);

    backdrop-filter: blur(10px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.project-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(255, 117, 72, 0.42);

    background: var(--panel-strong);
}

.featured-project {
    grid-column: span 2;
}

.project-top {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.project-number {
    color: var(--accent);

    font-family: monospace;
}

.project-status {
    color: var(--faint);

    font-family: monospace;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.project-card h3 {
    margin-bottom: 5px;

    font-size: 23px;
}

.project-tagline {
    margin-bottom: 15px;

    color: var(--accent);
}

.project-card p {
    margin-bottom: 15px;
}

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}



.experience-list {
    max-width: 900px;
}

.experience-card {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 22px;

    padding: 28px 0;

    border-bottom: 1px solid var(--line);
}

.experience-card:first-child {
    border-top: 1px solid var(--line);
}

.experience-marker {
    color: var(--accent);

    font-family: monospace;

    font-size: 13px;
}

.experience-label {
    color: var(--faint);

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 2px;
}

.experience-card h3 {
    margin: 5px 0 10px;
}



.achievement-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.achievement-card {
    min-height: 260px;

    padding: 27px;

    background: var(--card);

    border: 1px solid var(--line);

    border-radius: var(--radius);

    backdrop-filter: blur(10px);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.achievement-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(255, 117, 72, 0.35);
}

.achievement-number {
    color: var(--accent);

    font-family: monospace;
}

.achievement-card h3 {
    margin: 35px 0 5px;
}

.achievement-highlight {
    color: var(--accent);

    font-weight: 700;
}


.timeline {
    max-width: 800px;

    margin: auto;

    border-left:
        1px solid var(--line-strong);
}

.timeline-item {
    position: relative;

    padding:
        0
        0
        42px
        36px;
}

.timeline-dot {
    position: absolute;

    left: -5px;
    top: 5px;

    width: 9px;
    height: 9px;

    background: var(--accent);

    border-radius: 50%;

    box-shadow:
        0 0 0 5px
        rgba(255, 117, 72, 0.08);
}

.timeline-content > span {
    color: var(--faint);

    font-family: monospace;

    font-size: 11px;
}

.timeline-content h3 {
    margin: 5px 0;
}




.currently-grid {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 70px;
}

.currently-grid h2 {
    margin: 10px 0 20px;

    font-size:
        clamp(38px, 5vw, 55px);

    line-height: 1;
}

.current-list {
    list-style: none;

    border-top: 1px solid var(--line);
}

.current-list li {
    padding: 17px 0;

    border-bottom: 1px solid var(--line);

    color: var(--muted);
}

.current-list span {
    margin-right: 15px;

    color: var(--accent);

    font-family: monospace;
}



.philosophy-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background: var(--card);

    border: 1px solid var(--line);

    border-radius: var(--radius);

    overflow: hidden;
}

.philosophy-grid article {
    min-height: 190px;

    padding: 27px;

    border-right: 1px solid var(--line);
}

.philosophy-grid article:last-child {
    border-right: none;
}

.philosophy-grid span {
    color: var(--accent);

    font-family: monospace;
}

.philosophy-grid h3 {
    margin: 25px 0 8px;
}


.contact-section {
    padding: 110px 0;
}

.contact-box {
    max-width: 900px;

    margin: auto;

    padding: 65px 55px;

    background: var(--panel-strong);

    border: 1px solid var(--line-strong);

    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.22);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);
}

.contact-box h2 {
    margin: 15px 0 20px;

    font-size:
        clamp(40px, 6vw, 65px);

    line-height: 1;

    letter-spacing: -2px;
}

.contact-intro {
    max-width: 650px;

    margin: 8px auto;
}

.contact-links {
    width: 100%;

    max-width: 720px;

    display: flex;

    flex-direction: column;

    gap: 11px;

    margin: 45px auto 0;
}

.contact-card {
    width: 100%;

    min-height: 75px;

    display: grid;

    grid-template-columns:
        55px 1fr 30px;

    align-items: center;

    gap: 18px;

    padding: 14px 18px;

    background:
        rgba(10, 11, 14, 0.58);

    border: 1px solid var(--line);

    border-radius: 10px;

    text-align: left;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.contact-card:hover {
    transform: translateX(5px);

    background:
        rgba(24, 25, 30, 0.78);

    border-color:
        rgba(255, 117, 72, 0.5);
}

.contact-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #17181d;

    border: 1px solid var(--line);

    flex-shrink: 0;
}

.contact-icon img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.portfolio-icon {
    color: var(--accent);

    font-family: monospace;

    font-size: 16px;

    font-weight: 700;
}

.contact-info {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;
}

.contact-label {
    color: var(--faint);

    font-family: monospace;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.contact-info strong {
    color: var(--text);

    font-size: 16px;

    font-weight: 600;
}

.contact-info small {
    color: var(--faint);

    font-size: 12px;
}

.contact-arrow {
    color: var(--faint);

    font-size: 20px;

    text-align: center;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-card:hover .contact-arrow {
    color: var(--accent);

    transform:
        translate(2px, -2px);
}



.final-section {
    padding: 100px 0;

    text-align: center;
}

.final-symbol {
    margin-bottom: 15px;

    color: var(--accent);

    font-family: monospace;

    font-size: 28px;
}

.final-section h2 {
    margin-bottom: 10px;

    font-size:
        clamp(35px, 5vw, 55px);
}

.back-top {
    display: inline-block;

    margin-top: 25px;

    color: var(--muted);

    font-family: monospace;

    font-size: 12px;

    transition:
        color 0.2s ease;
}

.back-top:hover {
    color: var(--accent);
}



.site-footer {
    padding: 30px 0;

    background:
        rgba(5, 6, 8, 0.8);

    border-top: 1px solid var(--line);

    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-size: 11px;
}

.footer-content p {
    color: var(--faint);
}



.reveal {
    opacity: 0;

    transform:
        translateY(22px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}



#back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 90;

    width: 42px;
    height: 42px;

    display: none;

    align-items: center;
    justify-content: center;

    background:
        rgba(15, 17, 22, 0.85);

    color: var(--text);

    border: 1px solid var(--line);

    border-radius: 50%;

    cursor: pointer;

    backdrop-filter: blur(10px);
}

#back-to-top.show {
    display: flex;
}

#back-to-top:hover {
    color: var(--accent);

    border-color: var(--accent);
}


@media (max-width: 850px) {

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-grid,
    .about-grid,
    .currently-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;

        padding: 90px 0;
    }

    .hero-grid {
        gap: 45px;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr 1fr;
    }

    .philosophy-grid article:nth-child(2) {
        border-right: none;
    }

    .philosophy-grid article:nth-child(-n + 2) {
        border-bottom:
            1px solid var(--line);
    }
}


@media (max-width: 650px) {

    .section {
        padding: 75px 0;
    }

    .container {
        width: 91%;
    }

    .navbar {
        min-height: 60px;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size:
            clamp(48px, 15vw, 70px);

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        border-bottom:
            1px solid var(--line);
    }

    .stat-card:nth-child(2) {
        border-right: none;
    }

    .stat-card:nth-child(3),
    .stat-card:nth-child(4) {
        border-bottom: none;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .featured-project {
        grid-column: span 1;
    }

    .experience-card {
        grid-template-columns: 40px 1fr;

        gap: 12px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid article {
        min-height: auto;

        border-right: none;

        border-bottom:
            1px solid var(--line);
    }

    .philosophy-grid article:last-child {
        border-bottom: none;
    }

    .contact-box {
        padding: 45px 16px;

        border-radius: 14px;
    }

    .contact-card {
        grid-template-columns:
            45px 1fr 20px;

        gap: 12px;

        padding: 12px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
    }

    .contact-info strong {
        font-size: 14px;

        overflow-wrap: anywhere;
    }

    .contact-info small {
        font-size: 11px;
    }

    .contact-arrow {
        font-size: 18px;
    }

    .footer-content {
        flex-direction: column;

        text-align: center;
    }
}



@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }
}
