/* ============================================
   DESIGN SYSTEM: "Zinc Bento" — The Cinematic Curator
   Font: Inter  |  Mode: Dark  |  Roundness: 8px
   ============================================ */

/* ============================================
   0. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* — Surface Hierarchy — */
    --background:                #131315;
    --surface:                   #131315;
    --surface-dim:               #131315;
    --surface-bright:            #39393b;
    --surface-container-lowest:  #0e0e10;
    --surface-container-low:     #1c1b1d;
    --surface-container:         #201f22;
    --surface-container-high:    #2a2a2c;
    --surface-container-highest: #353437;
    --surface-variant:           #353437;
    --surface-tint:              #afc6ff;

    /* — Primary — */
    --primary:                   #afc6ff;
    --primary-container:         #528dff;
    --on-primary:                #002d6d;
    --on-primary-container:      #00275f;
    --primary-fixed:             #d9e2ff;
    --primary-fixed-dim:         #afc6ff;
    --inverse-primary:           #0059c7;

    /* — Secondary — */
    --secondary:                 #b3c9e2;
    --secondary-container:       #34495e;
    --on-secondary:              #1d3246;
    --on-secondary-container:    #a2b7d0;

    /* — Tertiary — */
    --tertiary:                  #c6c4df;
    --tertiary-container:        #908ea8;
    --on-tertiary:               #2f2e43;

    /* — On-Surface — */
    --on-background:             #e5e1e4;
    --on-surface:                #e5e1e4;
    --on-surface-variant:        #c2c6d6;

    /* — Outline — */
    --outline:                   #8c90a0;
    --outline-variant:           #424754;

    /* — Error — */
    --error:                     #ffb4ab;
    --error-container:           #93000a;

    /* — Inverse — */
    --inverse-surface:           #e5e1e4;
    --inverse-on-surface:        #313032;

    /* — Typography — */
    --font-family:               'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display-lg:           3.5rem;
    --font-display-md:           2.8rem;
    --font-title-lg:             1.375rem;
    --font-title-md:             1rem;
    --font-body-lg:              1rem;
    --font-body-md:              0.875rem;
    --font-label-lg:             0.875rem;
    --font-label-md:             0.75rem;
    --font-label-sm:             0.6875rem;

    /* — Spacing — */
    --space-xs:   0.25rem;
    --space-sm:   0.5rem;
    --space-md:   1rem;
    --space-lg:   1.5rem;
    --space-xl:   2rem;
    --space-2xl:  3rem;
    --space-3xl:  4rem;

    /* — Roundness — */
    --radius-sm:  0.5rem;
    --radius-md:  0.75rem;
    --radius-lg:  1rem;
    --radius-xl:  1.5rem;
    --radius-full: 999px;

    /* — Shadows — */
    --shadow-ambient: 0 8px 40px -5px rgba(229, 225, 228, 0.06);
    --shadow-hover:   0 12px 48px -4px rgba(229, 225, 228, 0.1);

    /* — Ghost Border — */
    --ghost-border: 1px solid rgba(66, 71, 84, 0.15);
    --ghost-border-hover: 1px solid rgba(66, 71, 84, 0.5);

    /* — Transitions — */
    --transition-base:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* — Layout — */
    --max-width: 1120px;
    --navbar-height: 64px;
}


/* ============================================
   1. RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--on-surface);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
}


/* ============================================
   2. NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    background: rgba(19, 19, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--ghost-border);
    transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.navbar--scrolled {
    background: rgba(14, 14, 16, 0.85);
    border-bottom: 1px solid rgba(66, 71, 84, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar__brand {
    flex-shrink: 0;
    opacity: 0; /* Hidden initially */
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base);
    transform: translateY(10px);
}

.navbar--scrolled .navbar__brand {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.navbar__logo {
    font-size: var(--font-label-lg);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--on-surface);
    transition: color var(--transition-base);
}

.navbar__logo:hover {
    color: var(--primary);
}

.navbar__links {
    display: flex;
    gap: var(--space-lg);
}

.navbar__link {
    font-size: var(--font-label-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--on-surface-variant);
    transition: color var(--transition-base);
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-container));
    transition: width var(--transition-base);
}

.navbar__link:hover {
    color: var(--primary);
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__actions {
    display: flex;
    gap: var(--space-sm);
}

.navbar__icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--on-surface-variant);
    transition: all var(--transition-base);
}

.navbar__icon-btn:hover {
    background: var(--surface-container-high);
    color: var(--primary);
}

.navbar__icon-btn .icon-svg {
    width: 20px;
    height: 20px;
}


/* ============================================
   3. HERO SECTION
   ============================================ */
.main {
    padding-top: calc(var(--navbar-height) + var(--space-2xl));
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
    padding-bottom: var(--space-3xl);
}

.hero {
    text-align: center;
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.hero__avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.hero__avatar-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--secondary-container), var(--surface-container-highest), var(--primary-container));
    animation: ringPulse 4s ease-in-out infinite;
    position: relative;
}

.hero__avatar-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-container), transparent, var(--secondary-container));
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
    animation: ringGlow 4s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes ringGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

.hero__avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface-container);
}

.hero__title {
    font-size: var(--font-display-lg);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--on-surface);
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero__subtitle {
    font-size: var(--font-title-lg);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero__description {
    font-size: var(--font-body-lg);
    color: var(--on-surface-variant);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   4. BENTO GRID
   ============================================ */
.bento {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.bento__row {
    display: grid;
    gap: var(--space-lg);
}

.bento__row--1 {
    grid-template-columns: 1.6fr 1fr;
}

.bento__row--2 {
    grid-template-columns: 1fr 1fr 0.6fr;
}

.bento__row--3 {
    grid-template-columns: 1.4fr 1fr;
}

.bento__column-stack {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--space-lg);
}


/* ============================================
   5. BENTO CARDS
   ============================================ */
.bento__card {
    background: var(--surface-container-low);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: default;
}

.bento__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: var(--ghost-border);
    pointer-events: none;
    transition: border var(--transition-base);
}

.bento__card:hover {
    transform: scale(1.02);
    background: var(--surface-container-high);
    box-shadow: var(--shadow-hover);
}

.bento__card:hover::before {
    border: var(--ghost-border-hover);
}

.bento__card:active {
    transform: scale(0.98);
}

/* Card Header */
.bento__card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.bento__card-header--compact {
    margin-bottom: var(--space-sm);
}

.bento__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.bento__card-icon--hex svg {
    width: 28px;
    height: 28px;
}

.bento__card-icon--accent {
    color: var(--primary-container);
    font-size: 24px;
}

.bento__card-icon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.bento__card-icon-row .icon-svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.bento__card-label {
    font-size: var(--font-label-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--surface-container-highest);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* Card Title */
.bento__card-title {
    font-size: var(--font-title-lg);
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: var(--space-sm);
}

.bento__card-title--sm {
    font-size: var(--font-title-md);
    font-weight: 600;
}

.bento__card-title--center {
    text-align: center;
}

/* Card Description */
.bento__card-description {
    font-size: var(--font-body-md);
    color: var(--on-surface-variant);
    line-height: 1.6;
}

.bento__card-description--sm {
    font-size: var(--font-label-md);
}

.bento__card-description--center {
    text-align: center;
}

.bento__card-meta {
    font-size: var(--font-label-sm);
    color: var(--outline);
    margin-bottom: var(--space-md);
}


/* ============================================
   6. CARD SPECIFICS
   ============================================ */

/* — Bytehive Lab — */
.bento__card--bytehive {
    background: var(--surface-container-low);
    min-height: 280px;
}

.bytehive-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
}

/* Bytehive Projects List */
.bytehive-projects {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.bytehive-project {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--surface-container-high);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

.bytehive-project:hover {
    background: var(--surface-container-highest);
    transform: translateX(4px);
}

.bytehive-project__icon {
    font-size: 22px;
    color: var(--primary-container);
    flex-shrink: 0;
}

.bytehive-project__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bytehive-project__name {
    font-size: var(--font-body-md);
    font-weight: 600;
    color: var(--on-surface);
}

.bytehive-project__desc {
    font-size: var(--font-label-sm);
    color: var(--outline);
}

.bytehive-project__arrow {
    font-size: 18px;
    color: var(--outline);
    opacity: 0;
    transition: all var(--transition-base);
}

.bytehive-project:hover .bytehive-project__arrow {
    opacity: 1;
    color: var(--primary);
}

/* Mini project variant (less prominent) */
.bytehive-project--mini {
    background: var(--surface-container);
    opacity: 0.75;
    padding: 6px var(--space-md);
}

.bytehive-project--mini:hover {
    opacity: 1;
}

.bytehive-project--mini .bytehive-project__icon {
    font-size: 18px;
}

.bytehive-project--mini .bytehive-project__name {
    font-size: var(--font-label-sm);
}

.bytehive-project--mini .bytehive-project__desc {
    font-size: 0.625rem;
}

.bento__card-tags {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

/* — GitHub Activity — */
.github-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 48px;
    padding-top: var(--space-sm);
}

.github-chart__bar {
    flex: 1;
    height: var(--h);
    border-radius: 3px;
    transition: all var(--transition-base);
    animation: barGrow 1.2s ease forwards;
    transform-origin: bottom;
}

.github-chart__bar[data-color="1"] { background: var(--primary); }
.github-chart__bar[data-color="2"] { background: var(--primary-container); }
.github-chart__bar[data-color="3"] { background: var(--secondary); }
.github-chart__bar[data-color="4"] { background: var(--primary-fixed-dim); }

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* — vCard Studio — */
.bento__card--vcard {
    background: var(--surface-container-low);
    cursor: pointer;
}

.bento__card--vcard:hover {
    background: var(--surface-container-high);
}

/* — Services — */
.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.services-list__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
}

.services-list__icon {
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.services-list__text {
    font-size: var(--font-body-md);
    color: var(--on-surface-variant);
}

/* — Connect — */
.bento__card--connect {
    background: var(--surface-container-high);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-sm);
}

.connect-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-container));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.connect-icon {
    font-size: 24px;
    color: var(--on-primary);
}

/* — Empty card — */
/* — QR Code — */
.bento__card--qr {
    display: none; /* Hidden by default for mobile */
    background: var(--surface-container-low);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

@media (min-width: 901px) {
    .bento__card--qr {
        display: flex;
    }
}

.qr-wrapper {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 180px;
    padding: 20px; /* Recalibrated padding to match reference */
    background: #ffffff !important;
    border-radius: 28px; /* Recalibrated border-radius for rounded square look */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
}

.bento__card--qr:hover .qr-wrapper {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px; /* More subtle internal curve */
}

.qr-icon {
    font-size: 18px;
    color: var(--primary);
}

.qr-label {
    font-size: var(--font-label-sm);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
}


/* — Tech Stack — */
.bento__card--stack {
    background: var(--surface-container-lowest);
    display: flex;
    align-items: center;
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* — Remote / Global — */
.bento__card--remote {
    background: var(--surface-container-low);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remote-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.remote-icon {
    font-size: 28px;
    color: var(--primary);
}

.remote-globe {
    color: var(--outline);
    opacity: 0.4;
}

.remote-globe .icon-svg {
    width: 24px;
    height: 24px;
    animation: globeRotate 12s linear infinite;
}

@keyframes globeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ============================================
   7. CHIPS
   ============================================ */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: var(--font-label-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    background: var(--surface-container-highest);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.chip:hover {
    background: var(--surface-bright);
    color: var(--primary);
}

.chip--tech {
    color: var(--outline);
    background: transparent;
    font-size: var(--font-label-sm);
    letter-spacing: 0.12em;
    padding: 4px 0;
}


/* ============================================
   8. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: var(--font-label-lg);
    font-weight: 600;
    font-family: var(--font-family);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-container));
    color: var(--on-primary);
    box-shadow: 0 4px 16px rgba(82, 141, 255, 0.3);
}

.btn--primary:hover {
    box-shadow: 0 6px 24px rgba(82, 141, 255, 0.45);
    transform: translateY(-2px);
}

.btn--primary:active {
    transform: scale(0.98) translateY(0);
}


/* ============================================
   9. FOOTER
   ============================================ */
.footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    border-top: var(--ghost-border);
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copy {
    font-size: var(--font-label-sm);
    color: var(--outline);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer__social {
    display: flex;
    gap: var(--space-xl);
}

.footer__social-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-label-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--outline);
    transition: color var(--transition-base);
}

.footer__social-link:hover {
    color: var(--primary);
}

.footer__social-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.footer__social-link:hover .footer__social-icon {
    transform: scale(1.15);
}

.footer__support {
    display: flex;
    justify-content: center;
    padding-top: var(--space-md);
    border-top: var(--ghost-border);
}

.footer__kofi {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    font-size: var(--font-label-sm);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--on-surface-variant);
    background: var(--surface-container-high);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.footer__kofi:hover {
    background: var(--surface-container-highest);
    color: #ff5e5b;
    transform: translateY(-1px);
}

.footer__kofi-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.footer__kofi:hover .footer__kofi-icon {
    fill: #ff5e5b;
    transform: scale(1.15);
}


/* ============================================
   10. SCROLL ANIMATIONS (Intersection Observer)
   ============================================ */
.bento__card {
    opacity: 0;
    transform: translateY(30px);
}

.bento__card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento__card:nth-child(1) { transition-delay: 0s; }
.bento__card:nth-child(2) { transition-delay: 0.1s; }
.bento__card:nth-child(3) { transition-delay: 0.2s; }

.bento__column-stack .bento__card:nth-child(1) { transition-delay: 0.15s; }
.bento__column-stack .bento__card:nth-child(2) { transition-delay: 0.25s; }
.bento__column-stack .bento__card:nth-child(3) { transition-delay: 0.35s; }



/* ============================================
   10.5 ERROR PAGE (404)
   ============================================ */
.error-pg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    text-align: center;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.error-pg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 141, 255, 0.08), transparent 70%);
    z-index: 0;
    pointer-events: none;
}


.error-pg__content {
    max-width: 600px;
}

.error-pg__code {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-md);
    opacity: 0.15;
}

.error-pg__title {
    font-size: var(--font-display-md);
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: var(--space-sm);
}

.error-pg__desc {
    font-size: var(--font-body-lg);
    color: var(--on-surface-variant);
    margin-bottom: var(--space-2xl);
}


/* ============================================
   11. RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .bento__row--1,
    .bento__row--2,
    .bento__row--3 {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: var(--font-display-md);
    }

    .navbar__links {
        display: none;
    }

    .footer {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer__top {
        flex-direction: column-reverse;
        gap: var(--space-lg);
    }

    .footer__social {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    :root {
        --font-display-lg: 2.5rem;
        --font-display-md: 2rem;
    }

    .main {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .bento__card {
        padding: var(--space-lg);
    }

    .navbar {
        padding: 0 var(--space-md);
    }

    .footer {
        padding: var(--space-xl) var(--space-md);
    }

    .stack-tags {
        gap: var(--space-sm);
    }
}


/* ============================================
   12. SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-container-highest);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--outline-variant);
}


/* ============================================
   13. SELECTION
   ============================================ */
::selection {
    background: var(--primary-container);
    color: var(--on-primary);
}
