/* ============================================================
   Rino Nabiansyah — Portofolio
   Design system: dark #0f0f0f + accent #ffcc00, Geist / Geist Mono
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #0f0f0f;
    --bg-deep: #0c0c0c;
    --surface: rgba(20, 20, 20, 0.42);
    --surface-solid: #141414;
    --surface-raised: #1c1c1c;
    --field: #2a2a2a;
    --border: #222;
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-strong: #333;
    --text: #ffffff;
    --text-soft: #d4d4d4;
    --text-muted: #a0a0a0;
    --text-dim: #777;
    --accent: #ffcc00;
    --accent-deep: #ff9500;
    --accent-soft: rgba(255, 204, 0, 0.26);
    --accent-glow: rgba(255, 204, 0, 0.5);
    --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    --glass-blur: 16px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-2xl: 40px;
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.45);
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: #ffffffde;
    background-color: var(--bg);
    color-scheme: dark;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

html,
body {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.1;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--accent);
    color: #000;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------------- Navigation ---------------- */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 2rem;
    pointer-events: none;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 1002;
    pointer-events: none;
}

.navbar-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    height: 72px;
    pointer-events: auto;
    padding: 0;
    transition: max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1), height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        margin-top 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 999px;
    background: #121212b8;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.navbar--scrolled .navbar-container {
    max-width: 980px;
    height: 56px;
    margin-top: 12px;
    padding: 0 0.6rem 0 1.4rem;
}

.navbar--scrolled .navbar-container::before {
    opacity: 1;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    color: var(--accent);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    transition: font-size 0.35s ease, text-shadow 0.3s ease;
}

.navbar--scrolled .logo-text {
    font-size: 1.35rem;
    text-shadow: 0 0 18px var(--accent-glow);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.45rem;
    position: relative;
}

.nav-item {
    position: relative;
    display: flex;
    justify-content: center;
}

.nav-item a {
    position: relative;
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-item a:hover,
.nav-item a:focus-visible {
    color: #fff;
}

.nav-item.active a {
    color: var(--accent);
}

.nav-indicator {
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 2px;
    width: 42px;
    border-radius: 2px;
    background-color: var(--accent);
    opacity: 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.nav-resume {
    display: flex;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(255, 204, 0, 0.6);
    border-radius: 999px;
    background: transparent;
    color: var(--accent);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.resume-btn svg {
    width: 16px;
    height: 16px;
}

.resume-btn:hover {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 8px 22px rgba(255, 204, 0, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- Layout primitives ---------------- */

.section {
    width: 100%;
    padding: 0 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section--first {
    padding-top: 100px;
}

.section--gap {
    margin-bottom: 140px;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-heading-title {
    font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
}

.section-heading-title .highlight {
    color: var(--accent);
}

/* ---------------- Hero ---------------- */

.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 60px;
    overflow: hidden;
}

.section.hero-section {
    padding-top: 150px;
    padding-bottom: 60px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
}

.hero-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-content .greeting {
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.01em;
    margin: 0 0 0.15rem;
}

.hero-content .name {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
}

.hero-content .title {
    display: block;
    text-align: left;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    line-height: 1.2;
    margin: 0.2rem 0 0;
    font-weight: 600;
}

.text-type {
    display: block;
    text-align: left;
    white-space: pre;
    min-height: 1.25em;
}

.text-type__content {
    background: linear-gradient(90deg, #ffcc00, #ffffff, #ffcc00, #ffffff, #ffcc00);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 4s linear infinite;
}

.text-type__cursor {
    margin-left: 0.15rem;
    display: inline-block;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    animation: caret 1s steps(1) infinite;
}

.hero-content .tagline {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0.55rem 0 0;
    max-width: 34rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.35rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.35);
}

.resume-btn--secondary {
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius-xl);
    border: 2px solid #444;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.resume-btn--secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    background: transparent;
    box-shadow: none;
}

.hero-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.hero-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-social:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-ring {
    position: absolute;
    width: 386px;
    height: 386px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 204, 0, 0.9) 60deg, transparent 130deg,
            transparent 220deg, rgba(255, 204, 0, 0.45) 290deg, transparent 360deg);
    filter: blur(1px);
    animation: spin 9s linear infinite;
    opacity: 0.9;
}

.profile-ring::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--bg);
}

.profile-circle {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #222;
    box-shadow: 0 0 0 4px #161616, 0 25px 60px rgba(0, 0, 0, 0.6);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------- About ---------------- */

.about-section {
    padding-top: 0;
}

.about-container {
    width: 100%;
    max-width: 1200px;
}

.about-card {
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-soft);
    padding: 3rem;
    border-radius: var(--radius-2xl);
    width: 100%;
    box-shadow: var(--shadow-card);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.about-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.about-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1.2rem;
}

.edu-item + .edu-item {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.edu-degree {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.35rem;
}

.edu-meta {
    font-size: 0.85rem;
    color: var(--accent);
    margin: 0 0 0.5rem;
    font-weight: 500;
}

.edu-detail {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.core-skills-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.core-skills-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.core-skills-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ---------------- Experience cards ---------------- */

.portfolio-container {
    width: 100%;
    max-width: 1200px;
}

.portfolio-grid {
    --grid-gap: 1.25rem;
    --grid-cols: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--grid-gap);
}

.project-card {
    flex: 0 0 calc((100% - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols));
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 204, 0, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 204, 0, 0.08);
}

.project-badge {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.16), rgba(255, 149, 0, 0.05));
    border-bottom: 1px solid var(--border-soft);
}

.project-badge span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.35rem 1.45rem;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.3rem;
}

.project-company {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin: 0 0 0.9rem;
}

.project-description {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 1.2rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.project-tags li {
    padding: 0.25rem 0.7rem;
    border: 1px solid #3a3a3a;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.project-tags li:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ---------------- Projects (code) ---------------- */

.projects-container {
    width: 100%;
    max-width: 1200px;
}

.section-sub {
    max-width: 46rem;
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.section-sub a,
.inline-link {
    color: var(--accent);
    border-bottom: 1px solid rgba(255, 204, 0, 0.35);
    transition: border-color 0.25s ease, color 0.25s ease;
}

.section-sub a:hover,
.inline-link:hover {
    border-bottom-color: var(--accent);
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.filter-chip {
    padding: 0.42rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-chip:hover {
    border-color: var(--accent-soft);
    color: var(--text-soft);
}

.filter-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 500;
}

.repo-grid {
    --grid-gap: 1.25rem;
    --grid-cols: 3;
    display: grid;
    grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr));
    gap: var(--grid-gap);
    align-items: start;
}

.project-marquee {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.repo-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.3s ease;
}

.repo-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 204, 0, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 204, 0, 0.08);
}

.repo-card--featured {
    border-color: rgba(255, 204, 0, 0.28);
    background: linear-gradient(160deg, rgba(255, 204, 0, 0.09), rgba(20, 20, 20, 0.5) 45%);
    grid-column: span 2;
}

.repo-card[hidden] {
    display: none;
}

.repo-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.repo-flag {
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: var(--accent);
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.repo-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    white-space: nowrap;
}

.repo-type {
    color: var(--text-muted);
}

.repo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.repo-name {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 0.6rem;
}

.repo-name a {
    color: #fff;
    transition: color 0.25s ease;
    overflow-wrap: anywhere;
}

.repo-name a:hover {
    color: var(--accent);
}

.repo-description {
    margin: 0 0 1rem;
    font-size: 0.855rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.repo-description code {
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-sm);
    background: var(--field);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-soft);
}

.repo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}

.repo-tags li {
    padding: 0.22rem 0.62rem;
    border: 1px solid #3a3a3a;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    white-space: nowrap;
}

.repo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border-soft);
}

.repo-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
}

.lang-swatch {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--swatch, var(--accent));
}

.repo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--accent);
    transition: gap 0.25s ease, color 0.25s ease;
}

.repo-link:hover {
    gap: 0.5rem;
    color: #fff;
}

.projects-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.25rem;
}

/* ---------------- Projects archive page ---------------- */

.projects-page {
    width: 100%;
    padding: 140px 160px 140px;
    display: flex;
    justify-content: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    transition: color 0.25s ease, gap 0.25s ease;
}

.back-link:hover {
    color: var(--accent);
    gap: 0.65rem;
}

.project-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-toolbar .project-filters {
    margin-bottom: 0;
}

.project-search {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.95rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-dim);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-search:focus-within {
    border-color: var(--accent-soft);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.08);
}

.project-search input {
    width: 15rem;
    max-width: 55vw;
    border: none;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}

.project-search input::placeholder {
    color: var(--text-dim);
}

.project-count {
    margin: 0 0 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.project-empty {
    margin: 2rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.projects-more {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    text-align: center;
}

.projects-more-text {
    margin: 0 auto 1.25rem;
    max-width: 32rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.projects-more-text strong {
    color: var(--text-soft);
    font-weight: 600;
}

.projects-more .projects-cta {
    margin-top: 0;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ---------------- Skills / activity ---------------- */

.github-section {
    width: 100%;
    padding: 0 160px;
    display: flex;
    justify-content: center;
    margin-bottom: 140px;
}

.github-wrapper {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
}

.github-container {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
}

.github-main {
    flex: 1.35;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.github-card {
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.github-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: #1f1f1f;
    border: 1px solid #2e2e2e;
    color: #fff;
    flex-shrink: 0;
}

.header-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.15rem;
}

.header-text p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.header-right {
    text-align: right;
}

.header-total {
    display: block;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--accent);
}

.header-right p {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.heatmap {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(7, 13px);
    grid-auto-columns: 13px;
    gap: 4px;
    justify-content: space-between;
    overflow: hidden;
}

.heatmap .cell {
    width: 13px;
    height: 13px;
    border-radius: 2px;
    background: #161b22;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.heatmap .l1 {
    background: rgba(255, 204, 0, 0.22);
}

.heatmap .l2 {
    background: rgba(255, 204, 0, 0.42);
}

.heatmap .l3 {
    background: rgba(255, 204, 0, 0.68);
}

.heatmap .l4 {
    background: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(255, 204, 0, 0.5), 0 0 10px rgba(255, 204, 0, 0.35);
}

.heatmap-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin-top: 1rem;
    font-size: 0.72rem;
    color: var(--text-dim);
}

.heatmap-legend .cell {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    background: #161b22;
    display: inline-block;
}

.heatmap-legend .l1 {
    background: rgba(255, 204, 0, 0.22);
}

.heatmap-legend .l2 {
    background: rgba(255, 204, 0, 0.42);
}

.heatmap-legend .l3 {
    background: rgba(255, 204, 0, 0.68);
}

.heatmap-legend .l4 {
    background: var(--accent);
}

.heatmap-legend span:first-child {
    margin-right: 0.3rem;
}

.heatmap-legend span:last-child {
    margin-left: 0.3rem;
}

.stats-column {
    display: flex;
    gap: 1rem;
}

.stat-card {
    flex: 1;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
}

.stat-label {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--accent);
}

.stat-sub {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.core-stack-card {
    flex: 1;
    min-width: 0;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    padding: 1.5rem 0;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stack-header {
    padding: 0 1.5rem 1rem;
}

.stack-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.2rem;
}

.stack-header p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.marquee-track-container {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 14%, black 86%, transparent);
    mask-image: linear-gradient(to right, transparent, black 14%, black 86%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 0.6rem;
}

.marquee-track.direction-left {
    animation: marquee-left 38s linear infinite;
}

.marquee-track.direction-right {
    animation: marquee-right 44s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    background: #171717;
    border: 1px solid #262626;
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--text-soft);
    white-space: nowrap;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.tech-badge:hover {
    border-color: rgba(255, 204, 0, 0.5);
    color: #fff;
}

.tech-badge img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.tech-badge .tech-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 204, 0, 0.15);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
}

/* ---------------- Contact ---------------- */

.contact-section {
    margin-bottom: 100px;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-card {
    background: var(--surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-soft);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.contact-card--details {
    justify-content: space-between;
    gap: 2rem;
}

.contact-card--details .contact-details {
    flex: 1;
    justify-content: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.form-input,
.form-textarea {
    width: 100%;
    background-color: var(--field);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
    flex: 1;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666;
}

.submit-btn {
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: var(--accent);
    color: #000;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background-color: var(--field);
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    transition: all 0.3s ease;
}

.detail-item:not(.detail-item--static):hover {
    border-color: var(--accent);
    background-color: #333;
    transform: translateX(5px);
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border-radius: var(--radius);
    flex-shrink: 0;
}

.detail-icon svg {
    color: #000;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.detail-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    font-weight: 500;
}

.detail-value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.social-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--field);
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    transition: all 0.3s ease;
}

.social-icon-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icon-link:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

/* ---------------- Footer ---------------- */

.footer {
    position: relative;
    background-color: var(--bg-deep);
    color: #ffffffde;
    padding: 4rem 2rem 0;
    overflow: hidden;
    border-top: 1px solid #1f1f1f;
}

.footer-glow {
    position: absolute;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1.4fr 1fr;
    gap: 2.5rem;
    padding-bottom: 4rem;
}

.footer-logo {
    display: flex;
    margin-bottom: 1.2rem;
}

.footer-logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.06em;
    font-style: italic;
    line-height: 1;
}

.footer-desc {
    color: #a3a3a3;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 92%;
    margin: 0;
}

.footer-title {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 1.6rem;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links--grid {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    grid-auto-flow: row;
    column-gap: 3rem;
}

.footer-links a {
    color: #a3a3a3;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--border-strong);
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

.social-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
    border-top: 1px solid #1f1f1f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-sep {
    margin: 0 0.6rem;
}

/* ---------------- Scroll to top ---------------- */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.3);
}

/* ---------------- Reveal on scroll ---------------- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------------- Keyframes ---------------- */

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes caret {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}

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

@keyframes marquee-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* ---------------- Responsif ---------------- */

@media (max-width: 1280px) {
    .section,
    .github-section {
        padding: 0 80px;
    }

    .projects-page {
        padding: 130px 80px;
    }

    .hero-container {
        gap: 3rem;
    }

    .profile-ring {
        width: 336px;
        height: 336px;
    }

    .profile-circle {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 1080px) {
    .portfolio-grid {
        --grid-cols: 2;
    }

    .repo-grid {
        --grid-cols: 2;
    }

    .repo-card--featured {
        grid-column: span 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .github-container {
        flex-direction: column;
    }

    .header-total {
        font-size: 1.6rem;
    }
}

@media (max-width: 991px) {
    .section,
    .github-section {
        padding: 0 40px;
    }

    .projects-page {
        padding: 120px 40px 100px;
    }

    .section.hero-section {
        padding-top: 110px;
    }

    .section--first {
        padding-top: 110px;
    }

    .section.hero-section {
        padding-top: 110px;
    }

    .section--gap,
    .github-section {
        margin-bottom: 100px;
    }

    .about-card {
        padding: 2rem;
        border-radius: var(--radius-xl);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-container {
        gap: 2.5rem;
    }

    .profile-ring {
        width: 286px;
        height: 286px;
    }

    .profile-circle {
        width: 250px;
        height: 250px;
    }

    .footer-container {
        grid-template-columns: 1.4fr 1fr;
    }
}

@media (max-width: 895px) {
    .hamburger {
        display: flex;
    }

    .navbar-container {
        padding: 0 0.6rem;
    }

    .navbar--scrolled .navbar-container {
        padding: 0 0.6rem;
    }

    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 72%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background-color: #0f0f0ff5;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.25rem;
        transition: right 0.4s ease;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .navbar-links.active {
        right: 0;
    }

    .nav-item a {
        font-size: 1.15rem;
    }

    .nav-indicator {
        display: none;
    }

    .nav-item.active a {
        color: var(--accent);
    }

    .hero-section {
        min-height: auto;
        padding-top: 132px;
        padding-bottom: 40px;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        align-items: center;
        gap: 1.25rem;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .hero-content .greeting {
        text-align: center;
        margin-bottom: 0.25rem;
    }

    .hero-content .name {
        text-align: center;
    }

    .hero-content .title,
    .text-type {
        text-align: center;
    }

    .hero-content .tagline {
        margin: 0.7rem auto 0;
        text-align: center;
    }

    .hero-cta {
        margin-top: 1.25rem;
    }

    .hero-cta,
    .hero-socials {
        justify-content: center;
    }

    .hero-socials {
        margin-top: 1rem;
    }

    .hero-image {
        margin-top: 0.25rem;
    }

    .profile-ring {
        width: 216px;
        height: 216px;
    }

    .profile-circle {
        width: 190px;
        height: 190px;
        box-shadow: 0 0 0 3px #161616, 0 16px 36px rgba(0, 0, 0, 0.55);
    }

    .stats-column {
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .section,
    .github-section {
        padding: 0 20px;
    }

    .projects-page {
        padding: 110px 20px 80px;
    }

    .project-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .project-search input {
        width: 100%;
        max-width: none;
    }

    .project-search {
        width: 100%;
    }

    .section.hero-section {
        padding-top: 132px;
    }

    .portfolio-grid {
        --grid-cols: 1;
        --grid-gap: 1rem;
    }

    .repo-grid {
        --grid-cols: 1;
        --grid-gap: 1rem;
    }

    .repo-card {
        padding: 1.2rem;
    }

    .repo-card--featured {
        grid-column: span 1;
    }

    .repo-name {
        font-size: 1.02rem;
        line-height: 1.3;
    }

    .repo-description {
        font-size: 0.86rem;
        line-height: 1.6;
    }

    .repo-footer {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .repo-link {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .filter-chip {
        padding: 0.38rem 0.85rem;
        font-size: 0.72rem;
    }

    .section--gap,
    .github-section {
        margin-bottom: 80px;
    }

    .hero-content .greeting {
        font-size: 1rem;
    }

    .hero-content .name {
        font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    }

    .hero-content .title {
        font-size: 1.15rem;
    }

    .hero-content .tagline {
        font-size: 0.92rem;
        line-height: 1.6;
        max-width: 30rem;
    }

    .section-eyebrow {
        font-size: 0.7rem;
    }

    .about-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .github-card {
        padding: 1.1rem;
    }

    .heatmap {
        grid-auto-columns: 9px;
        grid-template-rows: repeat(7, 9px);
        gap: 3px;
    }

    .heatmap .cell {
        width: 9px;
        height: 9px;
    }

    .contact-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .contact-section {
        margin-bottom: 80px;
    }

    .footer {
        padding: 3rem 1.25rem 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }

    .scroll-to-top {
        width: 42px;
        height: 42px;
        bottom: 1.5rem;
        right: 1.25rem;
    }
}

@media (max-width: 520px) {
    .stats-column {
        flex-direction: column;
    }

    .hero-section {
        padding-top: 120px;
    }

    .profile-ring {
        width: 180px;
        height: 180px;
    }

    .profile-circle {
        width: 158px;
        height: 158px;
    }

    .hero-content .name {
        font-size: clamp(1.7rem, 8.5vw, 2.1rem);
    }

    .hero-content .title {
        font-size: 1.05rem;
    }

    .hero-content .tagline {
        font-size: 0.88rem;
        margin-top: 0.6rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        margin-top: 1.1rem;
        gap: 0.7rem;
    }

    .cta-btn,
    .resume-btn--secondary {
        justify-content: center;
        padding: 0.78rem 1.5rem;
        font-size: 0.92rem;
    }

    .hero-socials {
        margin-top: 0.9rem;
        gap: 0.6rem;
    }

    .hero-social {
        width: 38px;
        height: 38px;
    }

    .about-paragraph {
        font-size: 0.98rem;
    }

    .detail-item {
        padding: 0.85rem 1rem;
        gap: 0.85rem;
    }

    .detail-icon {
        width: 42px;
        height: 42px;
    }

    .social-icon-link {
        width: 44px;
        height: 44px;
    }

    .projects-page {
        padding: 104px 16px 64px;
    }

    .repo-card {
        padding: 1rem;
        border-radius: var(--radius);
    }

    .repo-name {
        font-size: 0.98rem;
    }

    .repo-description {
        font-size: 0.84rem;
    }

    .repo-tags li {
        font-size: 0.62rem;
        padding: 0.2rem 0.55rem;
    }

    .repo-link {
        font-size: 0.66rem;
    }

    .repo-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .project-filters {
        gap: 0.4rem;
    }

    .filter-chip {
        padding: 0.34rem 0.75rem;
        font-size: 0.68rem;
    }

    .project-count {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .profile-ring {
        animation: none;
    }
}
