:root {
    --bg-main: #f4f1ea;
    --text-dark: #0e0e0e;
    --text-muted: #6a6862;
    --accent-dark: #2f2c27;
    --card-bg: #ffffff;
    --border: rgba(47, 44, 39, 0.13);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.7;
}

a {
    color: inherit;
}

/* NAVBAR */
.project-preview-card {
    background: #ffffff;
    border: 1px solid rgba(47, 44, 39, 0.12);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(47, 44, 39, 0.14);
}

.browser-bar {
    height: 42px;
    background: #2f2c27;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
}

.browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f4f1ea;
    opacity: 0.8;
}

.preview-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #f4f1ea;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.gallery-wide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.gallery-wide-item {
    background: #fff;
    border: 1px solid rgba(47, 44, 39, 0.12);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(47, 44, 39, 0.10);
    transition: all 0.3s ease;
}

.gallery-wide-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(47, 44, 39, 0.16);
}

.gallery-wide-item img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.gallery-wide-info {
    padding: 16px 18px 20px;
}

.gallery-wide-info span {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #6a6862;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 7px;
}

.gallery-wide-info h3 {
    margin: 0;
    font-size: 18px;
    color: #0e0e0e;
    line-height: 1.2;
}

.gallery-button-area {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.gallery-button-area .btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

@media (max-width: 992px) {
    .gallery-wide-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-wide-item img {
        height: 190px;
    }
}

@media (max-width: 576px) {
    .gallery-wide-grid {
        grid-template-columns: 1fr;
    }

    .gallery-wide-item img {
        height: 210px;
    }
}
.navbar {
    width: min(1180px, 92%);
    margin: 1px auto;
    padding: 16px 22px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 18px;
    z-index: 100;
}

.nav-logo {
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
    color: var(--accent-dark);
}

.nav-logo span {
    color: var(--text-muted);
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 700;
    transition: 0.25s ease;
}

.navbar nav a:hover {
    color: var(--text-dark);
}

/* HERO PROFILE */

.hero-profile {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 45px;
}

.profile-card {
    width: min(780px, 100%);
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: 38px;
    padding: 48px 36px;
    box-shadow: 0 32px 90px rgba(47, 44, 39, 0.13);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(47, 44, 39, 0.16);
    border-radius: 30px;
    pointer-events: none;
}

.profile-card > * {
    position: relative;
    z-index: 2;
}

.profile-img-box {
    width: 225px;
    height: 225px;
    margin: 0 auto 24px;
    position: relative;
}

.profile-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--accent-dark);
    box-shadow: 0 22px 45px rgba(47, 44, 39, 0.25);
}

.profile-icon {
    position: absolute;
    right: 7px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    background: var(--accent-dark);
    color: var(--bg-main);
    border-radius: 50%;
    border: 4px solid var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-dark);
    color: var(--bg-main);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.profile-card h1 {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.profile-card h2 {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 20px;
}

.profile-card p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 17px;
}

/* .profile-tags,
.small-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.profile-tags span,
.small-tags span {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
} */

.hero-buttons {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-dark,
.btn-light {
    text-decoration: none;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-dark {
    background: var(--accent-dark);
    color: var(--bg-main);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(47, 44, 39, 0.25);
}

.btn-light {
    background: #fff;
    color: var(--accent-dark);
    border: 1px solid var(--border);
}

.btn-light:hover {
    background: var(--accent-dark);
    color: var(--bg-main);
}

/* SECTIONS */

.section {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 78px 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
}

.section-title span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-dark);
    color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.text-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 36px;
    color: var(--text-muted);
    font-size: 18px;
    box-shadow: 0 18px 55px rgba(47, 44, 39, 0.07);
}

.text-card p + p {
    margin-top: 18px;
}

/* GRID CARDS */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 30px;
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 60px rgba(47, 44, 39, 0.1);
}

.service-card i {
    font-size: 34px;
    color: var(--accent-dark);
}

.service-card h3 {
    margin: 18px 0 10px;
    font-size: 21px;
}

.service-card p {
    color: var(--text-muted);
}

/* LIST */

.list-box {
    display: grid;
    gap: 16px;
}

.list-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.list-item h3 {
    font-size: 21px;
    margin-bottom: 5px;
}

.list-item p {
    color: var(--text-muted);
}

.list-item > span {
    background: var(--accent-dark);
    color: var(--bg-main);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

/* PROJECT */

.project-list {
    display: grid;
    gap: 20px;
}

.project-row {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    transition: 0.25s ease;
}

.project-row:hover {
    transform: translateX(8px);
    box-shadow: 0 24px 60px rgba(47, 44, 39, 0.09);
}

.category {
    display: inline-block;
    color: var(--text-muted);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 7px;
}

.project-row h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.project-row p {
    color: var(--text-muted);
    max-width: 740px;
}

.project-row .small-tags {
    justify-content: flex-start;
    margin-top: 16px;
}

.project-row a {
    text-decoration: none;
    background: var(--accent-dark);
    color: var(--bg-main);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

/* BLOG */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 28px;
    transition: 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 60px rgba(47, 44, 39, 0.1);
}

.blog-card span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.blog-card h3 {
    margin: 14px 0;
    font-size: 23px;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-card a {
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 800;
}

/* CONTACT */

.contact-section {
    padding-bottom: 44px;
}

.contact-card {
    background: var(--accent-dark);
    color: var(--bg-main);
    border-radius: 36px;
    padding: 52px;
    text-align: center;
}

.contact-card h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    margin-bottom: 14px;
}

.contact-card p {
    max-width: 680px;
    margin: 0 auto 30px;
    color: rgba(244, 241, 234, 0.75);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-links a {
    text-decoration: none;
    color: var(--bg-main);
    border: 1px solid rgba(244, 241, 234, 0.25);
    padding: 11px 17px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.25s ease;
}

.contact-links a:hover {
    background: var(--bg-main);
    color: var(--accent-dark);
}

/* DETAIL COMMON */

.detail-page {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 46px 0 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 26px;
    transition: 0.25s;
}

.back-link:hover {
    color: var(--accent-dark);
}

/* BLOG DETAIL */

.article-detail {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border);
    border-radius: 38px;
    padding: 44px;
    box-shadow: 0 28px 80px rgba(47, 44, 39, 0.1);
}

.article-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 34px;
}

.article-header h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.article-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 24px;
}

.article-cover {
    height: 320px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(244, 241, 234, 0.26), transparent 35%),
        var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 42px;
    color: var(--bg-main);
}

.article-cover div {
    text-align: center;
}

.article-cover i {
    font-size: 70px;
    display: block;
    margin-bottom: 10px;
}

.article-cover span {
    font-size: 22px;
    font-weight: 800;
}

.article-content {
    max-width: 820px;
    margin: 0 auto;
}

.article-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 22px;
}

.article-content h2 {
    font-size: 30px;
    margin: 42px 0 14px;
    letter-spacing: -1px;
}

.article-content blockquote {
    margin: 34px 0;
    padding: 28px;
    border-left: 5px solid var(--accent-dark);
    background: var(--bg-main);
    color: var(--accent-dark);
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
}

.related-section {
    padding: 70px 0 20px;
}

.related-section h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

/* PROJECT DETAIL */

.project-detail-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
    padding: 38px 0 70px;
}

.project-detail-text h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.project-detail-text p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 650px;
}

.project-detail-text .small-tags {
    justify-content: flex-start;
}

.project-buttons {
    justify-content: flex-start;
}

.project-preview-card {
    min-height: 420px;
    background: var(--accent-dark);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(47, 44, 39, 0.2);
    border: 1px solid rgba(47, 44, 39, 0.18);
}

.browser-bar {
    height: 54px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
}

.browser-bar span {
    width: 12px;
    height: 12px;
    background: var(--bg-main);
    border-radius: 50%;
    opacity: 0.7;
}

.preview-content {
    padding: 48px;
    color: var(--bg-main);
}

.preview-content h3 {
    font-size: 52px;
    margin-bottom: 8px;
}

.preview-content p {
    color: rgba(244, 241, 234, 0.72);
    font-size: 18px;
}

.preview-lines {
    margin-top: 48px;
    display: grid;
    gap: 16px;
}

.preview-lines span {
    height: 18px;
    border-radius: 999px;
    background: rgba(244, 241, 234, 0.18);
}

.preview-lines span:nth-child(1) {
    width: 90%;
}

.preview-lines span:nth-child(2) {
    width: 70%;
}

.preview-lines span:nth-child(3) {
    width: 82%;
}

.project-detail-section {
    padding-top: 40px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.feature-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 24px;
    display: flex;
    gap: 18px;
}

.feature-item i {
    font-size: 28px;
    color: var(--accent-dark);
}

.feature-item h3 {
    font-size: 21px;
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-item {
    height: 210px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(47, 44, 39, 0.92), rgba(106, 104, 98, 0.8));
    display: flex;
    align-items: end;
    padding: 22px;
    color: var(--bg-main);
    font-weight: 800;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 32px 20px 46px;
    color: var(--text-muted);
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .navbar {
        flex-direction: column;
        gap: 14px;
    }

    .navbar nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .grid-3,
    .blog-grid,
    .project-detail-hero,
    .feature-list,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-row a {
        align-self: flex-start;
    }

    .article-detail {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .profile-card {
        padding: 36px 22px;
        border-radius: 30px;
    }

    .profile-img-box {
        width: 175px;
        height: 175px;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        align-items: flex-start;
    }

    .text-card,
    .service-card,
    .blog-card,
    .project-row,
    .contact-card,
    .article-detail {
        padding: 24px;
    }

    .list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-cover {
        height: 230px;
    }

    .project-preview-card {
        min-height: 320px;
    }

    .preview-content {
        padding: 32px;
    }

    .preview-content h3 {
        font-size: 38px;
    }
}

.nav-logo small {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 700;
}

.nav-logo .slash {
    color: var(--text-muted);
    font-weight: 600;
}
/* PROFILE SIDE DECORATIONS */

.side-note {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 18px 45px rgba(47, 44, 39, 0.12);
    backdrop-filter: blur(14px);
}

.side-note i {
    font-size: 17px;
}

.side-left {
    left: 34px;
    top: 105px;
    transform: rotate(-5deg);
}

.side-right {
    right: 34px;
    top: 150px;
    transform: rotate(5deg);
}

.orbit-dot {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: var(--accent-dark);
    opacity: 0.08;
    filter: blur(1px);
}

/* ------ */

.hero-profile {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 45px;
}

.hero-profile-layout {
    width: min(1320px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 780px) 340px;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.profile-card {
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: 38px;
    padding: 48px 36px;
    box-shadow: 0 32px 90px rgba(47, 44, 39, 0.13);
    position: relative;
    overflow: hidden;
}

/* SMALL BYROOT CARD */

.byroot-profile-card {
    width: 100%;
    min-height: 520px;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: 38px;
    padding: 38px 26px;
    box-shadow: 0 32px 90px rgba(47, 44, 39, 0.13);
    position: relative;
    overflow: hidden;
}

.byroot-profile-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(47, 44, 39, 0.16);
    border-radius: 30px;
    pointer-events: none;
}

.byroot-profile-card > * {
    position: relative;
    z-index: 2;
}
.byroot-logo-box {
    width: 145px;
    height: 145px;
    margin: 8px auto 24px;
    position: relative;
}

.byroot-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-dark);
    color: var(--bg-main);
    border: 5px solid var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 22px 45px rgba(47, 44, 39, 0.25);
    overflow: hidden;
}

.byroot-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.byroot-logo-icon {
    position: absolute;
    right: -2px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    background: var(--accent-dark);
    color: var(--bg-main);
    border-radius: 50%;
    border: 4px solid var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.byroot-profile-card h2 {
    font-size: 46px;
    line-height: 1.05;
    margin-bottom: 8px;
    letter-spacing: -2px;
    color: var(--text-dark);
}

.byroot-profile-card h3 {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 18px;
}

.byroot-profile-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 260px;
}

.byroot-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.byroot-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
}

.byroot-card-btn {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: var(--accent-dark);
    color: var(--bg-main);
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    transition: 0.25s ease;
}

.byroot-card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(47, 44, 39, 0.25);
}

.byroot-orbit {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-dark);
    opacity: 0.08;
    z-index: 1;
}

@media (max-width: 1100px) {
    .hero-profile-layout {
        grid-template-columns: 1fr;
    }

    .byroot-profile-card {
        max-width: 520px;
        min-height: auto;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero-profile-layout {
        width: 100%;
    }

    .byroot-profile-card {
        padding: 34px 22px;
        border-radius: 30px;
    }

    .byroot-logo-box {
        width: 120px;
        height: 120px;
    }

    .byroot-profile-card h2 {
        font-size: 38px;
    }
}

.byroot-site-link {
    display: block;
    width: fit-content;
    margin: 12px auto 0;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2px;
    transition: 0.25s ease;
}

.byroot-site-link:hover {
    color: var(--accent-dark);
    transform: translateY(-2px);
}


/* ---- */
.project-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
}

.project-page-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--accent-dark);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.project-page-btn:hover {
    background: var(--accent-dark);
    color: var(--bg-main);
    transform: translateY(-2px);
}

.project-page-btn.active {
    background: var(--accent-dark);
    color: var(--bg-main);
    box-shadow: 0 14px 35px rgba(47, 44, 39, 0.2);
}

.project-row {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 18px;
    display: grid;
    grid-template-columns: 190px 1fr auto;
    align-items: center;
    gap: 24px;
    transition: 0.25s ease;
}

.project-row:hover {
    transform: translateX(8px);
    box-shadow: 0 24px 60px rgba(47, 44, 39, 0.09);
}

.project-image {
    width: 190px;
    height: 135px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-main);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 950px) {
    .project-row {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .project-image {
        width: 100%;
        height: 220px;
    }

    .project-row > a {
        align-self: flex-start;
    }
}

@media (max-width: 600px) {
    .project-row {
        padding: 18px;
        border-radius: 26px;
    }

    .project-image {
        height: 190px;
        border-radius: 20px;
    }
}

.project-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 25px 0 35px;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid #2f2c27;
    background: transparent;
    color: #2f2c27;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    background: #2f2c27;
    color: #f4f1ea;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #2f2c27;
    color: #f4f1ea;
}

.profile-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 24px 0 6px;
    flex-wrap: wrap;
}

.profile-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2f2c27;
    color: #f4f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    border: 1px solid #2f2c27;
    transition: all 0.25s ease;
}

.profile-socials a:hover {
    background: transparent;
    color: #2f2c27;
    transform: translateY(-3px);
}