/* =========================================================
   ALVIN DEVASSY PORTFOLIO
   MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   01. ROOT VARIABLES
   ========================================================= */

:root {

    --bg-primary: #08090b;
    --bg-secondary: #0d0f12;
    --bg-card: #111419;
    --bg-card-hover: #15191f;

    --text-primary: #f2f4f7;
    --text-secondary: #a4abb5;
    --text-muted: #69717d;

    --accent: #8cffc1;
    --accent-bright: #b5ffd6;
    --accent-dark: #4acb87;

    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.14);

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);

    --container-width: 1180px;

    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 22px;

    --transition:
        0.25s ease;

}


/* =========================================================
   02. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--bg-primary);
    color: var(--text-primary);

    line-height: 1.6;

    overflow-x: hidden;

}

body::selection {
    background: var(--accent);
    color: #07100b;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

ul,
ol {
    list-style: none;
}


/* =========================================================
   03. GLOBAL BACKGROUND
   ========================================================= */

.background-grid {

    position: fixed;

    inset: 0;

    z-index: -3;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            transparent 80%
        );

}

.background-glow {

    position: fixed;

    width: 700px;
    height: 700px;

    top: -350px;
    right: -250px;

    z-index: -2;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(140, 255, 193, 0.09),
            transparent 68%
        );

}


/* =========================================================
   04. CONTAINER
   ========================================================= */

.container {

    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin-inline: auto;

}


/* =========================================================
   05. HEADER
   ========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    background:
        rgba(8, 9, 11, 0.78);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

}

.navbar {

    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    min-height: 76px;

    margin-inline: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   LOGO
   ========================================================= */

.logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: 20px;

    font-weight: 750;

    letter-spacing: -0.03em;

}

.logo-mark {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 32px;
    height: 32px;

    border:
        1px solid
        rgba(140, 255, 193, 0.35);

    border-radius: 8px;

    color: var(--accent);

    background:
        rgba(140, 255, 193, 0.06);

    font-family:
        "Courier New",
        monospace;

    font-size: 12px;

}

.logo-dot {
    color: var(--accent);
}


/* =========================================================
   NAV LINKS
   ========================================================= */

.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;

}

.nav-links a {

    position: relative;

    color: var(--text-secondary);

    font-size: 13px;

    font-weight: 500;

    transition:
        color var(--transition);

}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition:
        width var(--transition);

}

.nav-links a:hover {

    color: var(--text-primary);

}

.nav-links a:hover::after {

    width: 100%;

}


/* =========================================================
   RESUME NAV BUTTON
   ========================================================= */

.nav-resume {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        9px 15px;

    border:
        1px solid
        var(--border-light);

    border-radius: 8px;

    font-size: 12px;

    font-weight: 600;

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);

}

.nav-resume:hover {

    background:
        rgba(255, 255, 255, 0.06);

    border-color:
        rgba(140, 255, 193, 0.35);

    transform:
        translateY(-1px);

}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu-button {

    display: none;

    width: 42px;
    height: 42px;

    border:
        1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.03);

    border-radius: 9px;

    cursor: pointer;

}

.mobile-menu-button span {

    display: block;

    width: 18px;
    height: 1px;

    margin: 4px auto;

    background:
        var(--text-primary);

}


/* =========================================================
   06. GENERAL SECTION
   ========================================================= */

.section {

    position: relative;

    padding:
        120px 0;

}

.section-heading {

    display: grid;

    grid-template-columns:
        70px 1fr;

    gap: 28px;

    margin-bottom: 65px;

}

.section-number {

    color: var(--accent);

    font-family:
        "Courier New",
        monospace;

    font-size: 12px;

    padding-top: 8px;

}

.section-eyebrow {

    margin-bottom: 12px;

    color: var(--accent);

    font-family:
        "Courier New",
        monospace;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.18em;

}

.section-heading h2 {

    max-width: 720px;

    font-size:
        clamp(34px, 5vw, 60px);

    line-height: 1.05;

    letter-spacing: -0.055em;

    font-weight: 700;

}

.section-heading h2 span {

    color: var(--text-muted);

}


/* =========================================================
   07. HERO
   ========================================================= */

.hero {

    min-height: 100vh;

    padding-top: 150px;

    padding-bottom: 80px;

    display: flex;

    align-items: center;

}

.hero-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

    gap: 80px;

    align-items: center;

}

.status-pill {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        7px 12px;

    margin-bottom: 25px;

    border:
        1px solid
        rgba(140, 255, 193, 0.15);

    border-radius: 999px;

    background:
        rgba(140, 255, 193, 0.035);

    color: var(--text-secondary);

    font-size: 11px;

}

.status-indicator {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 14px
        rgba(140, 255, 193, 0.7);

}

.hero-eyebrow {

    margin-bottom: 15px;

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 11px;

    letter-spacing: 0.18em;

}

.hero h1 {

    max-width: 800px;

    font-size:
        clamp(48px, 7vw, 82px);

    line-height: 0.98;

    letter-spacing: -0.065em;

    font-weight: 750;

}

.gradient-text {

    background:
        linear-gradient(
            120deg,
            #ffffff,
            var(--accent)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

}

.outline-text {

    color: transparent;

    -webkit-text-stroke:
        1px
        rgba(255, 255, 255, 0.4);

}

.hero-description {

    max-width: 650px;

    margin-top: 28px;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 1.85;

}

.hero-description strong {

    color: var(--text-primary);

    font-weight: 600;

}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;

}

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 48px;

    padding:
        0 19px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 650;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

}

.button span {

    transition:
        transform var(--transition);

}

.button:hover span {

    transform:
        translateX(3px);

}

.button-primary {

    background: var(--accent);

    color: #07100b;

    box-shadow:
        0 8px 30px
        rgba(140, 255, 193, 0.08);

}

.button-primary:hover {

    background:
        var(--accent-bright);

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 35px
        rgba(140, 255, 193, 0.14);

}

.button-secondary {

    border:
        1px solid
        var(--border-light);

    color:
        var(--text-primary);

    background:
        rgba(255, 255, 255, 0.025);

}

.button-secondary:hover {

    background:
        rgba(255, 255, 255, 0.06);

    border-color:
        rgba(255, 255, 255, 0.22);

    transform:
        translateY(-2px);

}


/* =========================================================
   HERO META
   ========================================================= */

.hero-meta {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 45px;

}

.hero-meta-item {

    display: flex;

    align-items: center;

    gap: 10px;

}

.meta-icon {

    color: var(--accent);

    font-size: 14px;

}

.hero-meta-item small {

    display: block;

    color: var(--text-muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 0.12em;

}

.hero-meta-item strong {

    display: block;

    margin-top: 1px;

    font-size: 11px;

    font-weight: 600;

}

.hero-meta-divider {

    width: 1px;
    height: 28px;

    background:
        var(--border);

}


/* =========================================================
   HERO SYSTEM CARD
   ========================================================= */

.hero-visual {

    position: relative;

    min-height: 480px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.system-card {

    width: min(
        100%,
        510px
    );

    overflow: hidden;

    border:
        1px solid
        rgba(140, 255, 193, 0.14);

    border-radius:
        var(--radius-large);

    background:
        rgba(15, 18, 22, 0.92);

    box-shadow:
        0 35px 90px
        rgba(0, 0, 0, 0.45);

    transform:
        perspective(1200px)
        rotateY(-3deg);

}

.system-card-header {

    display: flex;

    align-items: center;

    gap: 12px;

    height: 48px;

    padding:
        0 18px;

    border-bottom:
        1px solid
        var(--border);

    background:
        rgba(255, 255, 255, 0.025);

}

.window-controls {

    display: flex;

    gap: 5px;

}

.window-controls span {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.18);

}

.system-title {

    flex: 1;

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 10px;

}

.system-live {

    color: var(--accent);

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;

}

.system-body {

    padding:
        30px;

    font-family:
        "Courier New",
        monospace;

    font-size: 11px;

}

.system-intro,
.system-command {

    display: flex;

    gap: 10px;

    color: var(--text-primary);

}

.system-prompt {

    color: var(--accent);

}

.system-output {

    margin:
        12px 0 22px 18px;

    color: var(--accent);

    font-size: 17px;

}

.system-line {

    display: grid;

    grid-template-columns:
        90px 1fr;

    gap: 10px;

    margin:
        11px 0;

}

.system-key {

    color: var(--text-muted);

}

.system-value {

    color: #cdd3da;

}

.system-online {

    color: var(--accent);

}

.system-divider {

    height: 1px;

    margin:
        25px 0;

    background:
        var(--border);

}

.project-terminal-list {

    display: grid;

    gap: 9px;

    margin:
        16px 0 22px 18px;

    color: var(--text-secondary);

}

.project-terminal-list span::before {

    content: "└─ ";

    color: var(--accent);

}

.system-cursor {

    display: flex;

    gap: 10px;

}

.cursor {

    width: 7px;
    height: 15px;

    background:
        var(--accent);

    animation:
        blink 1s step-end infinite;

}

@keyframes blink {

    50% {
        opacity: 0;
    }

}


/* =========================================================
   FLOATING TAGS
   ========================================================= */

.floating-tag {

    position: absolute;

    padding:
        8px 12px;

    border:
        1px solid
        var(--border);

    border-radius: 7px;

    background:
        rgba(17, 20, 25, 0.92);

    color: var(--text-secondary);

    font-family:
        "Courier New",
        monospace;

    font-size: 10px;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.25);

}

.tag-linux {

    top: 9%;

    right: 1%;

}

.tag-cloud {

    bottom: 16%;

    left: 0;

}

.tag-devops {

    bottom: 4%;

    right: 10%;

}


/* =========================================================
   SCROLL INDICATOR
   ========================================================= */

.scroll-indicator {

    position: absolute;

    bottom: 28px;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--text-muted);

    font-size: 10px;

}

.scroll-arrow {

    color: var(--accent);

    animation:
        scrollBounce 1.5s ease-in-out infinite;

}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }

}


/* =========================================================
   08. ABOUT
   ========================================================= */

.about-section {

    border-top:
        1px solid var(--border);

}

.about-grid {

    display: grid;

    grid-template-columns:
        1.35fr 0.65fr;

    gap: 90px;

}

.about-main {

    max-width: 720px;

}

.about-main p {

    color: var(--text-secondary);

    font-size: 15px;

    line-height: 1.9;

    margin-bottom: 20px;

}

.about-main .large-text {

    color: var(--text-primary);

    font-size: 23px;

    line-height: 1.5;

    letter-spacing: -0.025em;

}

.about-highlight {

    display: flex;

    gap: 15px;

    align-items: flex-start;

    margin-top: 35px;

    padding:
        20px;

    border:
        1px solid
        rgba(140, 255, 193, 0.12);

    border-radius:
        var(--radius-medium);

    background:
        rgba(140, 255, 193, 0.025);

}

.highlight-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 34px;
    height: 34px;

    border-radius: 8px;

    color: var(--accent);

    background:
        rgba(140, 255, 193, 0.08);

}

.about-highlight strong {

    font-size: 14px;

}

.about-highlight p {

    margin:
        4px 0 0;

    font-size: 12px;

}


/* =========================================================
   ABOUT STATS
   ========================================================= */

.about-stats {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    align-content: start;

}

.stat-card {

    min-height: 170px;

    padding: 24px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-medium);

    background:
        rgba(255, 255, 255, 0.02);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition:
        border-color var(--transition),
        background var(--transition);

}

.stat-card:hover {

    border-color:
        rgba(140, 255, 193, 0.18);

    background:
        rgba(140, 255, 193, 0.025);

}

.stat-card-wide {

    grid-column:
        1 / -1;

    min-height: 135px;

}

.stat-number {

    color: var(--accent);

    font-family:
        "Courier New",
        monospace;

    font-size: 40px;

    line-height: 1;

}

.stat-label {

    color: var(--text-secondary);

    font-size: 11px;

    line-height: 1.55;

}


/* =========================================================
   09. SKILLS
   ========================================================= */

.skills-section {

    background:
        rgba(255, 255, 255, 0.012);

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

}

.skills-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

}

.skill-card {

    position: relative;

    min-height: 300px;

    padding: 28px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-medium);

    background:
        rgba(255, 255, 255, 0.018);

    overflow: hidden;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);

}

.skill-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(140, 255, 193, 0.35),
            transparent
        );

    transform:
        translateX(-100%);

    transition:
        transform 0.6s ease;

}

.skill-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(140, 255, 193, 0.2);

    background:
        var(--bg-card-hover);

}

.skill-card:hover::before {

    transform:
        translateX(100%);

}

.skill-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.skill-card-top > span {

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 10px;

}

.skill-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;
    height: 44px;

    border:
        1px solid
        rgba(140, 255, 193, 0.15);

    border-radius: 10px;

    background:
        rgba(140, 255, 193, 0.045);

    color: var(--accent);

    font-family:
        "Courier New",
        monospace;

    font-size: 13px;

}

.skill-card h3 {

    margin-top: 30px;

    font-size: 20px;

    letter-spacing: -0.025em;

}

.skill-card p {

    margin-top: 9px;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.7;

}

.skill-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 22px;

}

.skill-tags span {

    padding:
        5px 8px;

    border:
        1px solid
        var(--border);

    border-radius: 5px;

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;

}


/* =========================================================
   10. PROJECTS
   ========================================================= */

.projects-section {

    border-bottom:
        1px solid var(--border);

}

.section-heading-projects {

    grid-template-columns:
        70px 1fr 300px;

}

.section-heading-description {

    align-self: end;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.7;

    padding-bottom: 5px;

}

.projects-list {

    display: grid;

    gap: 14px;

}

.project-card {

    position: relative;

    display: grid;

    grid-template-columns:
        50px minmax(0, 1fr) 280px;

    min-height: 290px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-medium);

    background:
        rgba(255, 255, 255, 0.018);

    transition:
        border-color var(--transition),
        transform var(--transition),
        background var(--transition);

}

.project-card:hover {

    border-color:
        rgba(140, 255, 193, 0.2);

    background:
        rgba(255, 255, 255, 0.025);

    transform:
        translateY(-3px);

}

.project-number {

    padding:
        30px 0 0 22px;

    color:
        var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 10px;

}

.project-card-content {

    padding:
        42px 30px;

}

.project-card-label {

    color: var(--accent);

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.12em;

}

.project-card h3 {

    margin-top: 14px;

    font-size:
        clamp(26px, 3vw, 38px);

    line-height: 1.1;

    letter-spacing: -0.04em;

}

.project-card h3 span {

    display: block;

    color: var(--text-muted);

}

.project-card p {

    max-width: 620px;

    margin-top: 16px;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.75;

}

.project-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;

}

.project-tech span {

    padding:
        5px 8px;

    border:
        1px solid
        var(--border);

    border-radius: 5px;

    color: var(--text-secondary);

    font-size: 9px;

}

.project-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 25px;

    color: var(--text-primary);

    font-size: 11px;

    font-weight: 650;

}

.project-link span {

    color: var(--accent);

    transition:
        transform var(--transition);

}

.project-link:hover span {

    transform:
        translate(3px, -3px);

}


/* =========================================================
   PROJECT VISUALS
   ========================================================= */

.project-card-visual {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    border-left:
        1px solid
        var(--border);

    background:
        rgba(0, 0, 0, 0.16);

}

.mini-server {

    width: 190px;

    border:
        1px solid
        rgba(140, 255, 193, 0.16);

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 25px 50px
        rgba(0, 0, 0, 0.35);

}

.mini-server-header {

    display: flex;

    gap: 4px;

    padding:
        9px 11px;

    border-bottom:
        1px solid
        var(--border);

}

.mini-server-header span {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.2);

}

.mini-server-screen {

    padding:
        18px 15px;

    background:
        #0a0e0d;

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 8px;

}

.mini-server-screen div {

    display: flex;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 12px;

}

.mini-server-screen div span {

    color: var(--accent);

}

.mini-server-screen > div:first-child span {

    margin-right: auto;

}

.mini-server-bar {

    height: 3px;

    margin-top: 15px;

    background:
        linear-gradient(
            90deg,
            var(--accent) 72%,
            rgba(255,255,255,0.08) 72%
        );

}


/* =========================================================
   PROJECT PLACEHOLDERS
   ========================================================= */

.project-placeholder {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-left:
        1px solid
        var(--border);

    background:
        radial-gradient(
            circle at center,
            rgba(140, 255, 193, 0.06),
            transparent 60%
        );

}

.project-placeholder span {

    color:
        rgba(140, 255, 193, 0.18);

    font-family:
        "Courier New",
        monospace;

    font-size: 54px;

    font-weight: 700;

}

.project-placeholder small {

    margin-top: 6px;

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 8px;

    letter-spacing: 0.15em;

}

.ai-placeholder {

    background:
        radial-gradient(
            circle at center,
            rgba(140, 170, 255, 0.05),
            transparent 60%
        );

}

.vision-placeholder {

    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.04),
            transparent 60%
        );

}


/* =========================================================
   11. CURRENTLY BUILDING
   ========================================================= */

.building-section {

    padding-top: 100px;

}

.building-card {

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    overflow: hidden;

    border:
        1px solid
        rgba(140, 255, 193, 0.13);

    border-radius:
        var(--radius-large);

    background:
        linear-gradient(
            125deg,
            rgba(140, 255, 193, 0.045),
            rgba(255, 255, 255, 0.015)
        );

}

.building-content {

    padding:
        55px;

}

.building-content h2 {

    max-width: 650px;

    font-size:
        clamp(32px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -0.05em;

}

.building-content h2 span {

    color: var(--accent);

}

.building-content > p {

    max-width: 600px;

    margin-top: 20px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.8;

}

.building-progress {

    max-width: 500px;

    margin:
        30px 0;

}

.progress-label {

    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;

}

.progress-label span:last-child {

    color: var(--accent);

}

.progress-track {

    height: 4px;

    overflow: hidden;

    border-radius: 99px;

    background:
        rgba(255, 255, 255, 0.08);

}

.progress-fill {

    width: 62%;

    height: 100%;

    border-radius: inherit;

    background:
        var(--accent);

}

.building-visual {

    min-height: 400px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-left:
        1px solid
        var(--border);

    background:
        radial-gradient(
            circle at center,
            rgba(140, 255, 193, 0.07),
            transparent 65%
        );

}

.server-rack {

    width: 190px;

    padding:
        12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 10px;

    background:
        #0b0d10;

    box-shadow:
        0 30px 60px
        rgba(0, 0, 0, 0.4);

}

.rack-unit {

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 48px;

    padding:
        0 12px;

    margin-bottom: 7px;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 5px;

    background:
        rgba(255, 255, 255, 0.025);

}

.rack-unit:last-child {

    margin-bottom: 0;

}

.rack-label {

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 8px;

}

.rack-light {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--accent);

    box-shadow:
        0 0 10px
        rgba(140, 255, 193, 0.65);

}


/* =========================================================
   12. RESUME
   ========================================================= */

.resume-section {

    padding-top: 70px;

}

.resume-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding:
        42px 48px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    background:
        var(--bg-card);

}

.resume-card h2 {

    margin-top: 4px;

    font-size: 30px;

    letter-spacing: -0.04em;

}

.resume-card p:last-child {

    margin-top: 8px;

    color: var(--text-secondary);

    font-size: 12px;

}

.button-light {

    flex-shrink: 0;

    background:
        var(--text-primary);

    color:
        var(--bg-primary);

}

.button-light:hover {

    background:
        var(--accent);

    transform:
        translateY(-2px);

}


/* =========================================================
   13. CONTACT
   ========================================================= */

.contact-section {

    padding-bottom: 150px;

}

.contact-heading {

    max-width: 750px;

}

.contact-heading h2 {

    font-size:
        clamp(42px, 6vw, 72px);

    line-height: 1;

    letter-spacing: -0.06em;

}

.contact-heading h2 span {

    display: block;

    color: var(--text-muted);

}

.contact-heading > p:last-child {

    max-width: 550px;

    margin-top: 25px;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.8;

}

.contact-links {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-top: 55px;

}

.contact-link {

    display: flex;

    align-items: center;

    gap: 15px;

    padding:
        20px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-medium);

    background:
        rgba(255, 255, 255, 0.018);

    transition:
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);

}

.contact-link:hover {

    border-color:
        rgba(140, 255, 193, 0.2);

    background:
        rgba(140, 255, 193, 0.025);

    transform:
        translateY(-3px);

}

.contact-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 40px;
    height: 40px;

    border:
        1px solid
        rgba(140, 255, 193, 0.14);

    border-radius: 9px;

    color: var(--accent);

    background:
        rgba(140, 255, 193, 0.04);

    font-family:
        "Courier New",
        monospace;

    font-size: 11px;

}

.contact-link small {

    display: block;

    color: var(--text-muted);

    font-size: 9px;

}

.contact-link strong {

    display: block;

    margin-top: 2px;

    font-size: 11px;

}

.contact-arrow {

    margin-left: auto;

    color: var(--text-muted);

    transition:
        color var(--transition),
        transform var(--transition);

}

.contact-link:hover .contact-arrow {

    color: var(--accent);

    transform:
        translate(3px, -3px);

}


/* =========================================================
   14. FOOTER
   ========================================================= */

.site-footer {

    border-top:
        1px solid var(--border);

    background:
        #060708;

}

.footer-inner {

    min-height: 100px;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 30px;

}

.footer-brand .logo {

    font-size: 15px;

}

.footer-brand p {

    margin-top: 3px;

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 8px;

}

.footer-system {

    color: var(--text-muted);

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;

}

.footer-system strong {

    color: var(--text-secondary);

}

.footer-status {

    display: inline-block;

    width: 5px;
    height: 5px;

    margin-right: 5px;

    border-radius: 50%;

    background:
        var(--accent);

}

.footer-copy {

    justify-self: end;

    color: var(--text-muted);

    font-size: 9px;

}


/* =========================================================
   15. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }

    .hero-visual {

        min-height: 430px;

    }

    .system-card {

        transform: none;

    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }

    .skills-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .project-card {

        grid-template-columns:
            45px minmax(0, 1fr);

    }

    .project-card-visual,
    .project-placeholder {

        display: none;

    }

    .section-heading-projects {

        grid-template-columns:
            70px 1fr;

    }

    .section-heading-description {

        grid-column:
            2;

        max-width: 600px;

    }

    .building-card {

        grid-template-columns: 1fr;

    }

    .building-visual {

        min-height: 300px;

        border-left: none;

        border-top:
            1px solid var(--border);

    }

}


/* =========================================================
   16. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .container,
    .navbar {

        width:
            calc(100% - 32px);

    }

    .section {

        padding:
            85px 0;

    }


    /* NAV */

    .navbar {

        min-height: 68px;

    }

    .nav-links {

        position: absolute;

        top: 68px;
        left: 16px;
        right: 16px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px;

        border:
            1px solid var(--border);

        border-radius: 12px;

        background:
            rgba(12, 14, 17, 0.98);

        box-shadow:
            var(--shadow);

    }

    .nav-links.active {

        display: flex;

    }

    .nav-links a {

        padding: 12px;

    }

    .nav-links a::after {

        display: none;

    }

    .mobile-menu-button {

        display: block;

        margin-left: auto;

    }

    .nav-resume {

        display: none;

    }


    /* HERO */

    .hero {

        padding-top: 120px;

        min-height: auto;

    }

    .hero h1 {

        font-size:
            clamp(44px, 14vw, 65px);

    }

    .hero-description {

        font-size: 14px;

    }

    .hero-meta {

        flex-wrap: wrap;

        gap: 14px;

    }

    .hero-meta-divider {

        display: none;

    }

    .hero-visual {

        min-height: 360px;

    }

    .system-card {

        width: 100%;

    }

    .system-body {

        padding: 22px;

        font-size: 9px;

    }

    .system-line {

        grid-template-columns:
            72px 1fr;

    }

    .floating-tag {

        display: none;

    }

    .scroll-indicator {

        display: none;

    }


    /* HEADINGS */

    .section-heading {

        grid-template-columns:
            45px 1fr;

        gap: 15px;

        margin-bottom: 40px;

    }

    .section-heading h2 {

        font-size: 36px;

    }


    /* ABOUT */

    .about-main .large-text {

        font-size: 20px;

    }

    .about-stats {

        grid-template-columns:
            1fr 1fr;

    }


    /* SKILLS */

    .skills-grid {

        grid-template-columns: 1fr;

    }

    .skill-card {

        min-height: auto;

    }


    /* PROJECTS */

    .section-heading-projects {

        grid-template-columns:
            45px 1fr;

    }

    .section-heading-description {

        grid-column: 2;

    }

    .project-card {

        grid-template-columns:
            36px 1fr;

    }

    .project-number {

        padding-left: 15px;

    }

    .project-card-content {

        padding:
            30px 20px 35px 10px;

    }


    /* BUILDING */

    .building-content {

        padding:
            35px 25px;

    }

    .building-content h2 {

        font-size: 35px;

    }


    /* RESUME */

    .resume-card {

        flex-direction: column;

        align-items: flex-start;

        padding:
            32px 25px;

    }


    /* CONTACT */

    .contact-links {

        grid-template-columns: 1fr;

    }


    /* FOOTER */

    .footer-inner {

        grid-template-columns: 1fr;

        padding:
            28px 0;

        gap: 18px;

    }

    .footer-copy {

        justify-self: start;

    }

}


/* =========================================================
   17. SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .hero-actions {

        flex-direction: column;

        align-items: stretch;

    }

    .button {

        width: 100%;

    }

    .hero-meta-item strong {

        font-size: 10px;

    }

    .system-output {

        font-size: 14px;

    }

    .project-terminal-list {

        font-size: 9px;

    }

}


/* =========================================================
   18. ACCESSIBILITY
   ========================================================= */

:focus-visible {

    outline:
        2px solid
        var(--accent);

    outline-offset: 4px;

}


/* =========================================================
   19. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

    }

}