:root {
    --bg: #0d0d14;
    --bg-deep: #08080e;
    --text: #f4f1f7;
    --text-soft: #d2ccd8;
    --muted: #aaa2b2;
    --muted-2: #797181;
    --lavender: #c8bde1;
    --lavender-strong: #a792d1;
    --violet: #6e6383;
    --violet-deep: #453b59;
    --green: #81d7a2;
    --glass: rgba(17, 16, 25, 0.56);
    --glass-strong: rgba(18, 17, 27, 0.76);
    --glass-inner: rgba(255, 255, 255, 0.045);
    --glass-hover: rgba(255, 255, 255, 0.075);
    --glass-border: rgba(238, 234, 242, 0.14);
    --glass-border-strong: rgba(200, 189, 225, 0.32);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 16px 45px rgba(0, 0, 0, 0.22);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

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

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0 24px 60px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg-deep);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -6;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 85%);
}

.page-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    background-image: url("assets/discord-banner.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    filter: saturate(0.8) contrast(1.04);
    transform: scale(1.03);
}

.page-vignette {
    position: fixed;
    inset: 0;
    z-index: -9;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(7, 7, 12, 0.33) 0%, rgba(8, 8, 14, 0.74) 50%, rgba(8, 8, 14, 0.97) 88%),
        radial-gradient(circle at 68% 16%, rgba(199, 188, 225, 0.08), transparent 34%),
        radial-gradient(circle at 16% 28%, rgba(35, 31, 49, 0.28), transparent 32%);
}

.ambient {
    position: fixed;
    z-index: -5;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
    opacity: 0.18;
}

.ambient-one {
    top: 20vh;
    left: -260px;
    background: #a795cc;
}

.ambient-two {
    top: 60vh;
    right: -260px;
    background: #65547f;
}

a {
    color: inherit;
}

::selection {
    color: #111018;
    background: var(--lavender);
}

.glass-panel {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.glass-inner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.085);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-nav,
.hero,
main,
.footer-card {
    width: min(1160px, 100%);
    margin-inline: auto;
}

.site-nav {
    position: sticky;
    top: 16px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 19px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    text-decoration: none;
}

.nav-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(200, 189, 225, 0.07);
}

.nav-brand-copy {
    display: grid;
    line-height: 1.2;
}

.nav-brand-copy strong {
    font-size: 13px;
    letter-spacing: -0.01em;
}

.nav-brand-copy small {
    margin-top: 2px;
    color: var(--muted-2);
    font-size: 10px;
}

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

.nav-links a {
    padding: 8px 11px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.06);
}

.hero {
    padding: 76px 0 32px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
    gap: 18px;
    align-items: stretch;
}

.discord-profile {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.discord-profile::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.profile-banner {
    position: relative;
    min-height: 215px;
    overflow: hidden;
    background-image:
        linear-gradient(to top, rgba(12, 11, 18, 0.8), transparent 58%),
        url("assets/discord-banner.png");
    background-position: center 43%;
    background-size: cover;
}

.profile-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 32%, transparent 70%, rgba(184, 170, 213, 0.08));
}

.profile-banner-shine {
    position: absolute;
    top: -90px;
    left: 42%;
    width: 180px;
    height: 390px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    filter: blur(20px);
    transform: rotate(25deg);
    opacity: 0.52;
}

.profile-banner-label {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 2;
    padding: 6px 9px;
    color: rgba(244, 241, 247, 0.78);
    background: rgba(12, 11, 18, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: Consolas, "Courier New", monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.profile-body {
    position: relative;
    padding: 76px 30px 30px;
    background: linear-gradient(to bottom, rgba(10, 10, 16, 0.16), rgba(10, 10, 16, 0.36));
}

.profile-avatar-wrap {
    position: absolute;
    top: -67px;
    left: 30px;
    z-index: 3;
    width: 128px;
    height: 128px;
    padding: 5px;
    background: rgba(12, 11, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34), 0 0 0 7px rgba(159, 142, 196, 0.08);
    backdrop-filter: blur(14px);
}

.profile-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-status {
    position: absolute;
    right: 5px;
    bottom: 10px;
    width: 24px;
    height: 24px;
    background: var(--green);
    border: 5px solid #17151f;
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(129, 215, 162, 0.42);
}

.profile-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.profile-heading-row h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.profile-handle {
    margin: 8px 0 0;
    color: var(--muted);
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
}

.availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    margin-top: 4px;
    padding: 7px 10px;
    color: #c9ecd5;
    background: rgba(129, 215, 162, 0.08);
    border: 1px solid rgba(129, 215, 162, 0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(129, 215, 162, 0.08), 0 0 15px rgba(129, 215, 162, 0.42);
    animation: status-pulse 2.4s ease-in-out infinite;
}

@keyframes status-pulse {
    50% { opacity: 0.45; }
}

.profile-bio {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--text-soft);
    font-size: 16px;
}

.profile-bio strong {
    color: #eee8f4;
}

.profile-badges,
.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.profile-badges {
    margin-top: 19px;
}

.profile-badges span,
.project-stack span {
    padding: 6px 9px;
    color: #d2c8de;
    background: rgba(199, 186, 222, 0.07);
    border: 1px solid rgba(199, 186, 222, 0.13);
    border-radius: 999px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
}

.profile-divider {
    height: 1px;
    margin: 24px 0 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03), transparent);
}

.profile-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.profile-meta {
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.032);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 13px;
}

.meta-label {
    display: block;
    margin-bottom: 4px;
    color: var(--muted-2);
    font-family: Consolas, "Courier New", monospace;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.profile-meta strong {
    color: #d8d2dc;
    font-size: 11px;
}

.profile-meta .status-text {
    color: #a7dfba;
}

.hero-actions,
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-actions {
    margin-top: 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 780;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #15131b;
    background: linear-gradient(135deg, #f1edf5, #c8bde1);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 30px rgba(167, 146, 209, 0.15);
}

.button-primary:hover {
    background: linear-gradient(135deg, #ffffff, #d9d0e8);
    box-shadow: 0 14px 36px rgba(167, 146, 209, 0.24);
}

.button-glass {
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.button-glass:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.085);
    border-color: rgba(200, 189, 225, 0.28);
}

.hero-side {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 14px;
}

.activity-card,
.quote-card,
.mini-terminal {
    border-radius: 22px;
}

.activity-card {
    padding: 20px;
}

.activity-header,
.activity-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.activity-kicker,
.activity-live,
.section-kicker,
.section-index,
.project-label,
.project-index,
.quote-signature {
    font-family: Consolas, "Courier New", monospace;
}

.activity-kicker {
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.activity-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9bddb1;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.activity-live i {
    width: 5px;
    height: 5px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(129, 215, 162, 0.5);
}

.activity-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin-top: 19px;
}

.activity-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #ebe5f2;
    background: linear-gradient(145deg, rgba(190, 176, 218, 0.2), rgba(80, 68, 104, 0.12));
    border: 1px solid rgba(200, 189, 225, 0.23);
    border-radius: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-family: Consolas, "Courier New", monospace;
    font-size: 15px;
    font-weight: 800;
}

.activity-title {
    margin: 0;
    color: #ece7f0;
    font-size: 14px;
    font-weight: 760;
}

.activity-subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.activity-progress {
    height: 4px;
    margin-top: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.055);
    border-radius: 999px;
}

.activity-progress span {
    display: block;
    width: 69%;
    height: 100%;
    background: linear-gradient(90deg, #8f7eb2, #d8cee8);
    border-radius: inherit;
    box-shadow: 0 0 14px rgba(200, 189, 225, 0.24);
}

.activity-footer {
    margin-top: 9px;
    color: #706979;
    font-family: Consolas, "Courier New", monospace;
    font-size: 8px;
}

.quote-card {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    padding: 22px 86px 22px 22px;
}

.quote-card::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    width: 2px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(218, 207, 233, 0.55) 25%,
        rgba(218, 207, 233, 0.2) 75%,
        transparent
    );
    box-shadow: 0 0 18px rgba(194, 181, 218, 0.18);
    pointer-events: none;
}

.quote-card::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -82px;
    width: 190px;
    height: 190px;
    background: radial-gradient(circle, rgba(194, 181, 218, 0.17), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.quote-mark {
    position: absolute;
    z-index: 0;
    top: 5px;
    right: 18px;
    width: 56px;
    color: rgba(218, 207, 233, 0.16);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 78px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-shadow: 0 0 26px rgba(194, 181, 218, 0.12);
    user-select: none;
    pointer-events: none;
}

.quote-card p {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    color: #d7d0dd;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.quote-signature {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 16px;
    color: #877c92;
    font-size: 9px;
    letter-spacing: 0.08em;
}

.mini-terminal {
    align-self: stretch;
    overflow: hidden;
}

.terminal-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.terminal-topbar span {
    width: 8px;
    height: 8px;
    background: #5b5463;
    border-radius: 50%;
}

.terminal-topbar span:nth-child(2) { background: #776d84; }
.terminal-topbar span:nth-child(3) { background: #9b8bad; }

.terminal-topbar p {
    margin: 0 0 0 auto;
    color: #6f6877;
    font-family: Consolas, "Courier New", monospace;
    font-size: 9px;
}

.terminal-body {
    padding: 18px;
    color: #aaa2b2;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    line-height: 1.7;
}

.terminal-body p {
    margin: 0 0 6px;
}

.terminal-body b {
    color: #c3b5dc;
}

.terminal-output {
    margin: 0 0 16px 14px !important;
    color: #7f7787;
}

.terminal-success {
    color: #87c99d;
}

.terminal-cmd {
    display: flex;
    align-items: center;
    gap: 7px;
}

.terminal-cmd i {
    width: 6px;
    height: 12px;
    background: #c8bde1;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

main {
    display: grid;
    gap: 20px;
}

.section-card,
.footer-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: var(--radius);
}

.section-card::before,
.footer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    width: 125px;
    height: 1px;
    background: linear-gradient(90deg, rgba(227, 219, 238, 0.7), transparent);
}

.section-heading,
.section-heading-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.section-heading {
    margin-bottom: 30px;
}

.section-index {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    color: #b7a9c9;
    background: rgba(185, 169, 207, 0.07);
    border: 1px solid rgba(185, 169, 207, 0.13);
    border-radius: 10px;
    font-size: 9px;
    font-weight: 800;
}

.section-kicker {
    margin: 0 0 4px;
    color: #877b94;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(28px, 4vw, 39px);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
}

.about-copy p {
    margin: 0 0 16px;
    color: #bbb4c1;
}

.about-copy .about-lead {
    color: #eee9f2;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.focus-list {
    display: grid;
    gap: 10px;
}

.focus-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 15px;
    border-radius: 15px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.focus-item:hover {
    background: var(--glass-hover);
    border-color: rgba(200, 189, 225, 0.21);
    transform: translateX(4px);
}

.focus-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #d5cae5;
    background: rgba(180, 161, 210, 0.07);
    border: 1px solid rgba(180, 161, 210, 0.14);
    border-radius: 11px;
    font-size: 14px;
}

.focus-item h3 {
    margin: 0 0 3px;
    color: #dfd9e4;
    font-size: 14px;
}

.focus-item p {
    margin: 0;
    color: #918998;
    font-size: 12px;
    line-height: 1.45;
}

#skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.skill-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.skill-card {
    margin: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.skill-card:hover,
.skill-card[open] {
    background: var(--glass-hover);
    border-color: rgba(200, 189, 225, 0.21);
    transform: translateY(-2px);
}

.skill-card summary {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px;
    color: #cfc8d5;
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
}

.skill-card summary span {
    filter: saturate(0.72);
}

.skill-card summary::-webkit-details-marker {
    display: none;
}

.skill-card summary::after {
    content: "+";
    margin-left: auto;
    color: #7f7689;
    font-family: Consolas, "Courier New", monospace;
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.2s ease, color 0.2s ease;
}

.skill-card[open] summary::after {
    color: #c8bde1;
    transform: rotate(45deg);
}

.skill-content {
    padding: 0 15px 15px;
    color: #a59dab;
    font-size: 12px;
}

.skill-content p {
    margin: 0 0 10px;
}

.skill-content ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.skill-content li + li {
    margin-top: 3px;
}

.projects-heading {
    align-items: center;
    justify-content: space-between;
}

.section-link {
    flex: 0 0 auto;
    color: #a79db1;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.section-link:hover {
    color: #eee8f4;
    transform: translateX(3px);
}

#projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.project-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 21px;
    border-radius: 17px;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card::before {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -85px;
    width: 210px;
    height: 210px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(199, 186, 222, 0.14), transparent 68%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(206, 193, 230, 0.26);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

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

.featured-project {
    background:
        linear-gradient(145deg, rgba(203, 191, 225, 0.08), rgba(255, 255, 255, 0.026));
    border-color: rgba(200, 189, 225, 0.17);
}

.project-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.project-label,
.project-index {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.project-label {
    padding: 5px 7px;
    color: #d0c2e2;
    background: rgba(198, 181, 224, 0.075);
    border: 1px solid rgba(198, 181, 224, 0.14);
    border-radius: 999px;
}

.project-label-secondary {
    color: #91869b;
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.065);
}

.project-index {
    color: #68616f;
}

.project-card h3 {
    margin: 0 0 10px;
    color: #e1dbe6;
    font-size: 18px;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.project-card p {
    margin: 0 0 17px;
    color: #9f97a6;
    font-size: 13px;
    line-height: 1.55;
}

.project-stack {
    margin-top: auto;
    padding-top: 7px;
}

.project-link {
    align-self: flex-start;
    margin-top: 18px;
    color: #c0b4cc;
    text-decoration: none;
    font-size: 12px;
    font-weight: 780;
    transition: color 0.2s ease, transform 0.2s ease;
}

.project-link:hover {
    color: #f2edf6;
    transform: translateX(3px);
}

.footer-card {
    margin-top: 20px;
}

.footer-copy {
    max-width: 680px;
}

.footer-copy p:not(.section-kicker) {
    margin: 13px 0 0;
    color: #aaa2b0;
}

.contact-links {
    margin-top: 24px;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 19px;
    color: #797181;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 11px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    justify-self: end;
    color: #9d94a5;
    text-decoration: none;
}

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

.footer-motto {
    color: rgba(200, 189, 225, 0.52);
    font-family: Georgia, serif;
    font-size: 18px;
    letter-spacing: 0.16em;
}

@media (max-width: 980px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto auto;
    }

    .mini-terminal {
        grid-column: 1 / -1;
        min-height: 190px;
    }

    #skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body {
        padding: 0 14px 36px;
    }

    .site-nav {
        top: 10px;
        margin-top: 10px;
        border-radius: 16px;
    }

    .nav-brand-copy small {
        display: none;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding: 7px 8px;
        font-size: 11px;
    }

    .hero {
        padding-top: 44px;
    }

    .profile-banner {
        min-height: 175px;
    }

    .profile-body {
        padding: 67px 20px 22px;
    }

    .profile-avatar-wrap {
        top: -58px;
        left: 20px;
        width: 110px;
        height: 110px;
    }

    .profile-heading-row {
        display: block;
    }

    .availability-pill {
        margin-top: 14px;
    }

    .profile-meta-grid {
        grid-template-columns: 1fr;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .mini-terminal {
        grid-column: auto;
    }

    .quote-card {
        min-height: 110px;
        padding: 20px 70px 20px 20px;
    }

    .quote-mark {
        top: 7px;
        right: 12px;
        width: 50px;
        font-size: 68px;
    }

    .section-card,
    .footer-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    #skills-grid,
    #projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-heading {
        align-items: flex-start;
        gap: 18px;
    }

    .section-link {
        margin-top: 7px;
    }

    .footer-bottom {
        grid-template-columns: 1fr auto;
    }

    .footer-motto {
        display: none;
    }
}

@media (max-width: 520px) {
    .nav-brand-copy strong {
        display: none;
    }

    .nav-avatar {
        width: 34px;
        height: 34px;
    }

    .site-nav {
        padding: 8px;
    }

    .nav-links a {
        padding-inline: 7px;
        font-size: 10px;
    }

    .profile-banner-label {
        display: none;
    }

    .profile-heading-row h1 {
        font-size: 34px;
    }

    .profile-bio {
        font-size: 14px;
    }

    .hero-actions .button,
    .contact-links .button {
        flex: 1 1 auto;
    }

    .section-heading,
    .section-heading-left {
        gap: 11px;
    }

    .section-index {
        width: 31px;
        height: 31px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass-panel {
        background: rgba(18, 17, 27, 0.94);
    }

    .glass-inner {
        background: rgba(36, 33, 45, 0.9);
    }
}

/* Current project: active job search */
.activity-progress--indeterminate span {
    width: 34%;
    animation: job-search-progress 2.4s ease-in-out infinite;
}

@keyframes job-search-progress {
    0% {
        transform: translateX(-120%);
    }

    50% {
        transform: translateX(190%);
    }

    100% {
        transform: translateX(390%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .activity-progress--indeterminate span {
        width: 69%;
        animation: none;
        transform: none;
    }
}