/* Global Dark Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff0000;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --text-light: #ffffff;
    --text-muted: #8c8c8c;
    --border-color: #262626;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Global background layer - fixed full-screen */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 15% 20%, rgba(255, 0, 0, 0.08), transparent 25%),
                radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.06), transparent 30%),
                linear-gradient(135deg, #0b0b10 0%, #08080d 45%, #050505 100%);
    pointer-events: none;
}

/* Noise/vignette overlay - subtle */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
    opacity: 0.3;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 7rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    isolation: isolate;
    overflow: hidden;
    background: transparent !important;
    border-bottom: none !important;
}

.hero-section::after {
    display: none;
}

/* Site Header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(5, 5, 10, 0.9) 0%, rgba(5, 5, 10, 0.65) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.site-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand-link {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.brand-link:hover {
    filter: brightness(1.05);
}

.brand-block {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.brand-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.site-nav {
    margin-left: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.98rem;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.nav-menu__link--home {
    color: var(--text-light);
}

/* Site Footer */
.site-footer {
    background: linear-gradient(180deg, rgba(5, 5, 10, 0.9) 0%, rgba(5, 5, 10, 0.65) 100%);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 2rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem 1.5rem;
}

/* Three columns when Terms & Policies is present; two-column flex otherwise */
.footer-inner:has(.footer-legal) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
}

.footer-left {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    justify-self: start;
}

.footer-legal {
    justify-self: center;
    text-align: center;
    max-width: min(100%, 520px);
}

.footer-legal__title {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.footer-legal__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.85rem;
}

.footer-legal__nav a {
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal__nav a:hover {
    color: var(--primary-color);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease, filter 0.3s ease, transform 0.2s ease;
}

.footer-icon:hover {
    color: var(--primary-color) !important;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6));
    transform: translateY(-1px);
}

.footer-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    color: #ffffff !important;
    fill: #ffffff !important;
}

.footer-icon:hover svg {
    color: var(--primary-color) !important;
    fill: var(--primary-color) !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-inner:has(.footer-legal) {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        padding: 22px 2rem;
    }

    .footer-inner:not(:has(.footer-legal)) {
        flex-direction: column;
        text-align: center;
        padding: 22px 2rem;
    }

    .footer-left {
        justify-self: center;
    }

    .footer-legal {
        justify-self: center;
    }

    .footer-right {
        justify-self: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        padding: 22px 1.5rem;
    }

    .footer-left {
        font-size: 0.85rem;
    }

    .footer-right {
        gap: 18px;
    }
}

/* Legacy hero-header styles for backward compatibility */
.hero-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(5, 5, 10, 0.9) 0%, rgba(5, 5, 10, 0.65) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.hero-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-nav {
    margin-left: auto;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-light);
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding-top: 40px;
}

.hero-body {
    display: flex;
    align-items: start;
    gap: 40px;
    padding-top: 0;
}

.hero-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-intro {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0;
}

.hero-name-small {
    font-size: 0.95rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-headline {
    font-size: var(--fs-desktop);
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-light);
    max-width: 520px;
}

.typing-text {
    display: inline-block;
    position: relative;
}

.typing-cursor {
    display: inline-block;
    margin-left: 2px;
    color: var(--text-light);
    animation: blink 1s steps(2, start) infinite;
}

/* Backward compatibility: cursor via ::after for old single-text implementation */
.typing-text::after {
    content: '|';
    display: inline-block;
    margin-left: 6px;
    color: var(--text-light);
    animation: blink 1s steps(2, start) infinite;
}

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

.hero-cards {
    display: flex;
    gap: 24px;
    width: 100%;
    align-items: start;
    max-width: 100%;
}

.feature {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    transition: background 0.3s ease, transform 0.3s ease;
    flex: 1 1 0;
}

/* Vertical divider between hero cards */
.feature::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 75%;
    background: rgba(255, 255, 255, 0.18);
}

.feature:last-child::after {
    display: none;
}

/* Border removed on desktop - using gap instead */
.feature + .feature {
    border-left: none;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-icon {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease;
}

.card-title {
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover glow effects for card icons and titles (desktop only) */
@media (min-width: 769px) {
    .feature:hover .card-icon {
        box-shadow: 0 0 12px rgba(255, 40, 40, 0.4), 0 0 24px rgba(255, 40, 40, 0.2);
    }

    .feature:hover .card-title {
        color: #ffffff;
        text-shadow: 0 0 8px rgba(255, 40, 40, 0.35);
    }
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-right {
    flex: 0 0 auto;
    margin-left: auto;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 0;
    width: clamp(380px, 35vw, 560px);
}

/* Fallback overlay for browsers that don't support CSS mask */
.hero-right::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: linear-gradient(to top, var(--bg-dark) 0%, rgba(10, 10, 10, 0.8) 40%, transparent 100%);
    pointer-events: none;
    z-index: 3;
}

/* Hide fallback when mask is supported */
@supports (mask-image: linear-gradient(to bottom, black, transparent)) {
    .hero-right::after {
        display: none;
    }
}

@supports (-webkit-mask-image: linear-gradient(to bottom, black, transparent)) {
    .hero-right::after {
        display: none;
    }
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    transition: opacity 0.15s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-photo {
    position: relative;
    max-height: 86vh;
    width: auto;
    height: auto;
    display: block;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
    object-fit: contain;
    /* Bottom fade using CSS mask */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

/* Follow Me Vertical Bar */
.follow-me {
    position: fixed;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 50;
    padding-bottom: 6px;
}

.follow-me__icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.follow-me__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--accent, #ff0000);
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, opacity 0.25s ease;
    text-decoration: none;
}

.follow-me__icon:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.follow-me__icon svg {
    width: 18px;
    height: 18px;
    fill: #101010;
}

.follow-me__label {
    margin-top: 37px;
    padding-top: 8px;
    display: inline-block;
    text-align: center;
}

.follow-me__label span {
    display: inline-block;
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    letter-spacing: 0.28em;
    font-size: 14px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
}

/* Page Sections */
.page-section {
    padding: 6rem 2rem;
    border-top: none;
    background: transparent;
}

.page-section:first-of-type {
    border-top: none;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-body {
    margin-bottom: 3rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-body p {
    margin-bottom: 1rem;
}

.section-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.section-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s;
}

.section-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.item-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.section-item:hover .item-image img {
    transform: scale(1.05);
}

.item-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.item-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.item-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    align-self: flex-start;
}

.item-link:hover {
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 110px 2rem 120px;
    background: transparent !important;
    border-top: none !important;
    position: relative;
}

.about__inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.about__title {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0;
}

.about__divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color, #ff0000);
    margin: 14px auto 28px;
    border-radius: 2px;
}

.about__text {
    max-width: 860px;
    margin: 0 auto 70px;
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.75;
    color: var(--text-muted);
}

.about__text--rich {
    text-align: left;
}

.about__text--rich p:last-child {
    margin-bottom: 0;
}

.about__text--rich img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.about__text--rich ul,
.about__text--rich ol {
    margin: 0.75rem 0 1rem;
    padding-left: 1.25rem;
}

/* Standalone About me page */
.about-page {
    padding: 100px 2rem 120px;
    min-height: 50vh;
}

.about-page__inner {
    max-width: 860px;
    margin: 0 auto;
}

.about-page__title {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 0.5rem;
    text-align: center;
}

.about-page__divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color, #ff0000);
    margin: 0 auto 36px;
    border-radius: 2px;
}

.about-page__body {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-muted);
}

.about-page__body--rich img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.25rem 0;
}

.about-page__body--rich p:first-child {
    margin-top: 0;
}

.about-page__body--rich p:last-child {
    margin-bottom: 0;
}

.about-page__body--rich h2,
.about-page__body--rich h3 {
    color: var(--text-light);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.about-page__body--rich ul,
.about-page__body--rich ol {
    margin: 0.75rem 0 1.25rem;
    padding-left: 1.35rem;
}

/* Extra TinyMCE block below the main #about section on /about/ */
.about-page-extra {
    padding: 0 2rem 100px;
    margin-top: -20px;
}

.about-page-empty {
    padding: 100px 2rem 120px;
    min-height: 40vh;
}

.about-page-empty .about-page__body {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
}

/* Legal policy pages */
.legal-page {
    padding: 100px 2rem 120px;
    min-height: 50vh;
}

.legal-page__inner {
    max-width: 860px;
    margin: 0 auto;
}

.legal-page__title {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 0.5rem;
    text-align: center;
}

.legal-page__divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color, #ff0000);
    margin: 0 auto 36px;
    border-radius: 2px;
}

.legal-page__body {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-muted);
}

.legal-page__body p {
    margin: 0 0 1rem;
}

.legal-page__body p:last-child {
    margin-bottom: 0;
}

.legal-page__body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}

.legal-page__body h2:first-child {
    margin-top: 0;
}

.legal-page__body ul,
.legal-page__body ol {
    margin: 0.5rem 0 1.25rem;
    padding-left: 1.35rem;
}

.legal-page__body li {
    margin-bottom: 0.5rem;
}

.legal-page__body a {
    color: var(--text-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}

.legal-page__body a:hover {
    color: var(--primary-color);
}

.legal-page__body--rich img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.25rem 0;
}

.legal-page__body--rich h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 1.5rem 0 0.65rem;
    line-height: 1.35;
}

.legal-page__meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin: 0 0 2rem;
}

@media (max-width: 600px) {
    .legal-page {
        padding: 88px 1.5rem 100px;
    }

    .legal-page__title {
        font-size: 32px;
    }

    .legal-page__body {
        font-size: 16px;
    }
}

/* Standalone What I do page — top block */
.what-i-do-page-hero {
    padding: 100px 2rem 48px;
    min-height: auto;
}

.what-i-do-page__title {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 1.25rem;
    text-align: center;
}

.what-i-do-page__body {
    margin-top: 0.5rem;
}

.about__skills {
    display: flex;
    justify-content: space-between;
    gap: 90px;
    max-width: 1350px;
    margin: 0 auto;
}

.about-skill {
    text-align: center;
}

.about-skill__ring {
    width: 220px;
    max-width: 100%;
    margin: 0 auto 18px;
    position: relative;
}

.about-skill__svg {
    width: 100%;
    height: auto;
    display: block;
    transform: rotate(-90deg);
}

.about-skill__track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 8;
}

.about-skill__progress {
    fill: none;
    stroke: rgba(255, 40, 40, 0.95);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 0 999;
    transition: stroke-dasharray 0.2s linear;
}

.about-skill__center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.about-skill__value {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    font-size: 22px;
}

.about-skill__label {
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    text-transform: uppercase;
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-body {
        gap: 2rem;
    }

    .hero-headline {
        font-size: var(--fs-tablet);
    }
}

@media (max-width: 1100px) {
    .hero-body {
        align-items: flex-start;
    }

    .hero-cards {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .hero-cards .feature {
        flex: 1 1 calc(50% - 12px);
        min-width: 240px;
        border-left: none;
    }

    .hero-cards .feature:nth-child(2n) {
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hero-right {
        width: clamp(320px, 42vw, 520px);
    }
}

@media (max-width: 1100px) {
    .about__skills {
        flex-wrap: wrap;
        justify-content: center;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .site-header-inner {
        flex-wrap: wrap;
    }

    .site-nav {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-body {
        flex-direction: column;
    }

    .hero-content {
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-body {
        flex-direction: column;
        gap: 1.75rem;
    }

    .hero-cards {
        flex-direction: column;
    }
    
    .hero-cards .feature {
        flex: 1 1 100%;
    }

    .feature::after {
        display: none;
    }

    .feature + .feature {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .hero-right {
        display: none;
    }

    .follow-me {
        position: fixed;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
    }

    .follow-me__label span {
        transform: none;
    }

    .follow-me__icons {
        flex-direction: row;
    }

    .hero-headline {
        font-size: var(--fs-mobile);
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 6rem 1.25rem 3rem;
    }

    .hero-body {
        flex-direction: column;
    }

    .hero-right {
        width: 100%;
        max-width: 420px;
        margin-left: 0;
    }

    .hero-cards {
        flex-direction: column;
    }
    
    .hero-cards .feature {
        flex: 1 1 100%;
    }

    .hero-headline {
        font-size: var(--fs-mobile);
    }

    .hero-content {
        padding-top: 30px;
    }

    .nav-menu {
        width: 220px;
    }

    .page-section {
        padding: 4.5rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .about {
        padding: 4.5rem 1.5rem;
    }

    .about__title {
        font-size: 2rem;
    }

    .about__skills {
        gap: 2rem;
    }

    .about-skill__ring {
        width: 120px;
    }

    .about-skill__value {
        font-size: 1.5rem;
    }
}

/* What I Do Section */
.what-i-do {
    padding: 110px 2rem 120px;
    background: transparent !important;
    border-top: none !important;
    position: relative;
}

.what-i-do__inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.what-i-do__title {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0;
}

.what-i-do__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 28px;
    width: 60px;
}

.divider-line {
    height: 3px;
    border-radius: 2px;
}

.divider-line--left,
.divider-line--right {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
}

.divider-line--center {
    width: 20px;
    background: var(--primary-color, #ff0000);
}

.what-i-do__description {
    max-width: 860px;
    margin: 0 auto 70px;
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.7;
    color: var(--text-muted);
}

.what-i-do__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
}

.what-i-do__item {
    padding: 2.5rem 2rem;
    position: relative;
}

.what-i-do__item-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.what-i-do__item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.what-i-do__item-icon {
    font-size: 28px;
    line-height: 1;
    display: inline-block;
    flex-shrink: 0;
}

.what-i-do__item-title {
    font-size: 22px;
    font-weight: 700;
    color: #eaeaea;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.what-i-do__item-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    transition: color 0.3s ease;
}

/* Active state: subtle text highlight */
.what-i-do__item.active .what-i-do__item-title {
    color: #ffffff;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.15);
}

.what-i-do__item.active .what-i-do__item-description {
    color: rgba(255, 255, 255, 0.8);
}

/* WHAT I DO: subtle hover glow + title highlight */
.what-i-do-item {
    position: relative;
    padding: 40px 36px;
    transition: transform .35s ease;
}

.what-i-do-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at 30% 20%,
        rgba(255, 40, 40, 0.10),
        transparent 40%
    );
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    z-index: 0;
}

.what-i-do-item:hover::before {
    opacity: 1;
}

.what-i-do-item:hover {
    transform: translateY(-2px);
}

.what-i-do-item .item-title {
    color: rgba(255, 255, 255, .85);
    transition: color .3s ease, text-shadow .3s ease;
    position: relative;
    z-index: 1;
}

.what-i-do-item:hover .item-title {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 40, 40, 0.35);
}

/* Optional: icon micro reaction */
.what-i-do-item .item-icon {
    transition: transform .3s ease, filter .3s ease;
    position: relative;
    z-index: 1;
}

.what-i-do-item:hover .item-icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 6px rgba(255, 40, 40, 0.40));
}

/* Ensure content stays above glow */
.what-i-do-item > * {
    position: relative;
    z-index: 1;
}

/* Vertical dividers between columns */
.what-i-do__item:nth-child(3n+1),
.what-i-do__item:nth-child(3n+2) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Horizontal divider between rows */
.what-i-do__item:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive: 2 columns at ≤ 1100px */
@media (max-width: 1100px) {
    .what-i-do__items {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Remove 3rd column vertical divider */
    .what-i-do__item:nth-child(3n+1),
    .what-i-do__item:nth-child(3n+2) {
        border-right: none;
    }

    /* Add vertical divider for 2-column layout */
    .what-i-do__item:nth-child(2n+1) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Update horizontal dividers for 2-column layout */
    .what-i-do__item:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .what-i-do__item:nth-child(n+4) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Responsive: 1 column at ≤ 700px */
@media (max-width: 700px) {
    .what-i-do {
        padding: 4.5rem 1.5rem;
    }

    .what-i-do__title {
        font-size: 2rem;
    }

    .what-i-do__items {
        grid-template-columns: 1fr;
    }

    /* Remove all vertical dividers */
    .what-i-do__item:nth-child(2n+1),
    .what-i-do__item:nth-child(3n+1),
    .what-i-do__item:nth-child(3n+2) {
        border-right: none;
    }

    /* Add horizontal separators between all items */
    .what-i-do__item:not(:first-child) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2.5rem;
        margin-top: 0;
    }

    .what-i-do__item {
        padding: 2rem 1rem;
    }

    .what-i-do-item {
        padding: 2rem 1rem;
    }

    .what-i-do__item:first-child {
        padding-top: 0;
    }
}

/* Active card indicator - desktop only */
@media (min-width: 769px) {
    .what-i-do__item {
        position: relative;
    }

    .active-line {
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 0;
        background: var(--primary-color, #ff0000);
        opacity: 0;
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2;
    }

    .what-i-do__item.active .active-line {
        height: 100%;
        opacity: 1;
    }
}

/* Scroll reveal base */
.reveal-section .reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}

/* When revealed */
.reveal-section.is-visible .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

/* Title + divider can also reveal */
.reveal-title {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-section.is-visible .reveal-title {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio Section */
.portfolio {
    padding: 110px 2rem 120px;
    background: transparent !important;
    border-top: none !important;
    position: relative;
}

.portfolio__inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.portfolio__title {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0;
}

.portfolio__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 28px;
    width: 60px;
}

.portfolio__description {
    max-width: 860px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.7;
    color: var(--text-muted);
}

.portfolio__filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.portfolio__filter-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
}

.portfolio__filter-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.portfolio__filter-btn.active {
    background: rgba(255, 40, 40, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1350px;
    margin: 0 auto;
}

.portfolio__item {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio__item.hidden {
    display: none;
}

.portfolio__item.portfolio__item--page-hidden {
    display: none !important;
}

.portfolio__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 2.5rem;
    padding-top: 0.5rem;
}

.portfolio__pagination[hidden] {
    display: none !important;
}

.portfolio__pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio__pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.portfolio__pagination-page:hover:not(.is-active) {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.portfolio__pagination-page.is-active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(255, 40, 40, 0.12);
    cursor: default;
    box-shadow: 0 0 0 1px rgba(255, 40, 40, 0.25);
}

.portfolio__pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: filter 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.2s ease;
}

.portfolio__pagination-btn:hover:not(:disabled) {
    background: rgba(255, 0, 0, 0.12);
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.2);
}

.portfolio__pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.portfolio__card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 40, 40, 0.4);
    box-shadow: 0 8px 24px rgba(255, 40, 40, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.portfolio__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.portfolio__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.portfolio__card:hover .portfolio__image img {
    transform: scale(1.08);
}

.portfolio__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 40, 40, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.portfolio__placeholder-icon {
    font-size: 48px;
    opacity: 0.5;
}

.portfolio__card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.portfolio__card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
}

.portfolio__card-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
}

.portfolio__card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio__card-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio__card-tags {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.7;
}

.portfolio__card-marketplaces {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0.65rem;
}

.portfolio__marketplace-link {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.portfolio__marketplace-link--upwork {
    color: #14a800;
}

.portfolio__marketplace-link--fiverr {
    color: #1dbf73;
}

.portfolio__marketplace-link:hover {
    opacity: 0.9;
    text-decoration: underline;
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.is-open {
    display: flex;
    opacity: 1;
}

.portfolio-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.portfolio-modal__container {
    position: relative;
    z-index: 1;
    max-width: 980px;
    width: 100%;
    max-height: 90vh;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.portfolio-modal.is-open .portfolio-modal__container {
    transform: scale(1);
}

.portfolio-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portfolio-modal__close:hover {
    background: rgba(255, 40, 40, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.portfolio-modal__body {
    overflow-y: auto;
    padding: 2.5rem;
    flex: 1;
}

.portfolio-modal-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.portfolio-modal-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-modal-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.portfolio-modal-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.portfolio-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.portfolio-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.portfolio-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    line-height: 1.2;
}

.portfolio-modal-category {
    margin-top: -0.5rem;
}

.portfolio-category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 40, 40, 0.15);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-modal-short {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.9;
}

.portfolio-modal-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    opacity: 0.85;
}

.portfolio-modal-content-text p {
    margin-bottom: 1rem;
}

.portfolio-modal-content-text p:last-child {
    margin-bottom: 0;
}

.portfolio-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.portfolio-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 0.5rem;
}

.portfolio-modal-btn {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(255, 40, 40, 0.15);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portfolio-modal-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 40, 40, 0.3);
}

.portfolio-modal-btn--marketplace {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
}

.portfolio-modal-btn--marketplace:hover {
    color: #fff;
}

.portfolio-modal-btn--upwork:hover {
    background: rgba(20, 168, 0, 0.25);
    border-color: #14a800;
    box-shadow: 0 4px 12px rgba(20, 168, 0, 0.25);
}

.portfolio-modal-btn--fiverr:hover {
    background: rgba(29, 191, 115, 0.25);
    border-color: #1dbf73;
    box-shadow: 0 4px 12px rgba(29, 191, 115, 0.25);
}

/* Portfolio Responsive */
@media (max-width: 1100px) {
    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .portfolio {
        padding: 4.5rem 1.5rem;
    }

    .portfolio__title {
        font-size: 2rem;
    }

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

    .portfolio-modal__container {
        max-height: 95vh;
        border-radius: 12px;
    }

    .portfolio-modal__body {
        padding: 1.5rem;
    }

    .portfolio-modal-title {
        font-size: 24px;
    }

    .portfolio-modal-short {
        font-size: 16px;
    }
}

/* Resume Section */
.resume {
    padding: 110px 2rem 120px;
    background: transparent !important;
    border-top: none !important;
    position: relative;
}

.resume__inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.resume__title {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0;
}

.resume__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 28px;
    width: 60px;
}

.resume__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1350px;
    margin: 60px auto 0;
    align-items: start;
}

.resume__column {
    position: relative;
}

.resume__column-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-align: left;
}

.resume__timeline {
    position: relative;
    padding-left: 60px;
}

.resume__timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.resume__entry {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: left;
}

.resume__entry:last-child {
    margin-bottom: 0;
}

.resume__entry-badge {
    position: absolute;
    left: -55px;
    top: 0;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    z-index: 2;
}

.resume__entry-dot {
    position: absolute;
    left: -45px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

/* Pulse animation for active dots */
.resume__entry-dot.dot--active::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.6;
    animation: dotPulse 2.5s ease-out infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .resume__entry-dot.dot--active::after {
        animation: none;
    }
}

.resume__entry-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.resume__entry-card:hover {
    border-color: rgba(255, 40, 40, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    transform: translateX(4px);
}

.resume__entry-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.resume__entry-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.resume__entry-org {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.resume__entry-org-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.resume__entry-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0.75rem 0 0 0;
    opacity: 0.85;
}

.resume__entry-bullets {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.resume__entry-bullet {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.85;
}

.resume__entry-bullet::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a9eff;
    font-size: 18px;
    line-height: 1;
}

.resume__entry-bullet:last-child {
    margin-bottom: 0;
}

/* Resume Responsive */
@media (max-width: 1100px) {
    .resume__columns {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .resume__columns {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .resume__column:first-child {
        order: 1;
    }

    .resume__column:last-child {
        order: 2;
    }

    .resume__timeline {
        padding-left: 50px;
    }

    .resume__entry-badge {
        left: -43px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .resume__entry-dot {
        left: -34px;
        top: 9px;
        width: 10px;
        height: 10px;
    }

    .resume__entry-dot.dot--active::after {
        inset: -6px;
    }
}

@media (max-width: 700px) {
    .resume {
        padding: 4.5rem 1.5rem;
    }

    .resume__title {
        font-size: 2rem;
    }

    .resume__columns {
        gap: 3rem;
    }

    .resume__column-title {
        font-size: 20px;
        margin-bottom: 2rem;
    }

    .resume__timeline {
        padding-left: 40px;
    }

    .resume__timeline::before {
        left: 15px;
    }

    .resume__entry {
        margin-bottom: 2rem;
    }

    .resume__entry-badge {
        left: -36px;
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .resume__entry-dot {
        left: -28px;
        top: 8px;
        width: 8px;
        height: 8px;
    }

    .resume__entry-dot.dot--active::after {
        inset: -5px;
    }

    .resume__entry-card {
        padding: 1.5rem;
    }

    .resume__entry-title {
        font-size: 18px;
    }

    .resume__entry-org {
        font-size: 15px;
    }

    .resume__entry-description {
        font-size: 14px;
    }

    .resume__entry-bullet {
        font-size: 13px;
    }
}

/* Resume Entry Card Scroll Animations */
.resume__entry-card.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.resume__entry-card.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .resume__entry-card.reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .resume__entry-card.reveal--visible {
        opacity: 1;
        transform: none;
    }
}

/* Blog Section */
.blog {
    padding: 110px 2rem 120px;
    background: transparent !important;
    border-top: none !important;
    position: relative;
}

.blog__inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.blog__title {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0;
}

.blog__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 28px;
    width: 60px;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1350px;
    margin: 0 auto;
}

.blog__item {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.blog__card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 40, 40, 0.4);
    box-shadow: 0 8px 24px rgba(255, 40, 40, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.blog__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.blog__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.3s ease, brightness 0.3s ease;
}

.blog__card:hover .blog-thumb {
    transform: scale(1.08);
    filter: brightness(1.15) saturate(1.1);
}

.blog__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 40, 40, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.blog__placeholder-icon {
    font-size: 48px;
    opacity: 0.5;
}

.blog__card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog__card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog__card:hover .blog__card-title {
    color: #fff;
}

.blog__card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog__card-meta {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog__card-date {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Blog Modal */
.blog-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-modal.is-open {
    display: flex;
    opacity: 1;
}

.blog-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.blog-modal__container {
    position: relative;
    z-index: 1;
    max-width: 980px;
    width: 100%;
    max-height: 90vh;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.blog-modal.is-open .blog-modal__container {
    transform: scale(1);
}

.blog-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blog-modal__close:hover {
    background: rgba(255, 40, 40, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.blog-modal__body {
    overflow-y: auto;
    padding: 2.5rem;
    flex: 1;
}

.blog-modal-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-modal-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.blog-modal-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.blog-modal-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.blog-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.blog-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-modal-meta {
    margin-bottom: -0.5rem;
}

.blog-modal-date {
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.8;
}

.blog-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    line-height: 1.2;
}

.blog-modal-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.9;
}

.blog-modal-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    opacity: 0.85;
}

.blog-modal-content-text p {
    margin-bottom: 1rem;
}

.blog-modal-content-text p:last-child {
    margin-bottom: 0;
}

.blog-modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.blog-modal-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-modal-gallery-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.blog-modal-gallery-caption {
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.8;
    margin: 0;
    font-style: italic;
}

/* Blog listing page (/blog/) */
.blog-page__inner {
    text-align: center;
}

.blog-page__title {
    margin-bottom: 0;
}

.blog-page__grid {
    text-align: left;
}

.blog-page__item {
    min-width: 0;
}

.blog-page__card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: inherit;
}

.blog-page__card-link:focus-visible {
    outline: 2px solid rgba(255, 40, 40, 0.6);
    outline-offset: 3px;
}

.blog__view-all {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.blog__view-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    border: 1px solid rgba(255, 40, 40, 0.45);
    border-radius: 999px;
    background: rgba(255, 40, 40, 0.08);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.blog__view-all-link:hover {
    background: rgba(255, 40, 40, 0.18);
    border-color: rgba(255, 40, 40, 0.75);
    transform: translateY(-2px);
}

.blog-page__empty {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 2rem 0 0;
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-pagination__link {
    padding: 0.5rem 1.25rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.blog-pagination__link:hover:not(.blog-pagination__link--disabled) {
    border-color: rgba(255, 40, 40, 0.45);
    background: rgba(255, 40, 40, 0.1);
    color: #fff;
}

.blog-pagination__link--disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.blog-pagination__status {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.85;
}

/* Blog detail page */
.blog-detail {
    padding: 100px 2rem 120px;
    background: transparent;
}

.blog-detail__inner {
    max-width: 820px;
    margin: 0 auto;
}

.blog-detail__media {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.blog-detail__media--secondary {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-detail__featured-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.blog-detail__header {
    text-align: left;
    margin-bottom: 1.25rem;
}

.blog-detail__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.blog-detail__meta {
    margin: 0;
}

.blog-detail__date {
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.85;
}

.blog-detail__excerpt {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    text-align: left;
}

.blog-detail__content {
    text-align: left;
    margin-bottom: 2.5rem;
}

.blog-detail__gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.blog-detail__gallery-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.blog-detail__back {
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.blog-detail__back-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-detail__back-link:hover {
    color: var(--primary-color);
}

@media (max-width: 700px) {
    .blog-detail {
        padding: 4.5rem 1.25rem 5rem;
    }
}

/* Blog Responsive */
@media (max-width: 1100px) {
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .blog {
        padding: 4.5rem 1.5rem;
    }

    .blog__title {
        font-size: 2rem;
    }

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

    .blog-modal__container {
        max-height: 95vh;
        border-radius: 12px;
    }

    .blog-modal__body {
        padding: 1.5rem;
    }

    .blog-modal-title {
        font-size: 24px;
    }

    .blog-modal-excerpt {
        font-size: 16px;
    }
}

/* Contact Section */
.contact {
    position: relative;
    padding: 110px 2rem 120px;
    background: transparent !important;
    border-top: none !important;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%) contrast(1.1);
}

.contact__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.contact__inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.contact__title {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0;
}

.contact__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 50px;
    width: 60px;
}

.contact__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact__item-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    opacity: 0.9;
}

.contact__item-value {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    opacity: 0.85;
}

.contact__item-value a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact__item-value a:hover {
    color: var(--primary-color);
}

/* Contact Responsive */
@media (max-width: 900px) {
    .contact__items {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 500px;
    }

    .contact__item {
        gap: 0.75rem;
    }
}

@media (max-width: 700px) {
    .contact {
        padding: 4.5rem 1.5rem;
        min-height: 400px;
    }

    .contact__title {
        font-size: 2rem;
    }

    .contact__divider {
        margin: 14px auto 40px;
    }

    .contact__items {
        gap: 2rem;
    }

    .contact__item-label {
        font-size: 16px;
    }

    .contact__item-value {
        font-size: 15px;
    }
}

/* Contact Form */
.contact__form-wrapper {
    margin-top: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    border-color: var(--primary-color);
    background: rgba(10, 10, 10, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.contact-form__input--error,
.contact-form__textarea--error {
    border-color: var(--primary-color);
    background: rgba(255, 0, 0, 0.05);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__error {
    color: var(--primary-color);
    font-size: 13px;
    margin-top: 0.25rem;
    display: none;
}

.contact-form__actions {
    margin-top: 0.5rem;
}

.contact-form__submit {
    width: 100%;
    padding: 0.875rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none;
}

.contact-form__submit:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.contact-form__submit:active:not(:disabled) {
    transform: translateY(0);
}

.contact-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-form__message {
    padding: 1rem;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    display: none;
    margin-top: 0.5rem;
}

.contact-form__message--success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #4ade80;
}

.contact-form__message--error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: var(--primary-color);
}

/* Contact Form Responsive */
@media (max-width: 700px) {
    .contact__form-wrapper {
        margin-top: 3rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
        gap: 1.25rem;
    }

    .contact-form__input,
    .contact-form__textarea {
        padding: 0.75rem 0.875rem;
        font-size: 14px;
    }

    .contact-form__submit {
        padding: 0.75rem 1.5rem;
        font-size: 14px;
    }
}

/* Contact Send Button */
.contact__button-wrapper {
    margin-top: 4rem;
    text-align: center;
}

.contact__send-button {
    padding: 0.875rem 2.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none;
}

.contact__send-button:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.contact__send-button:active {
    transform: translateY(0);
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal--active {
    opacity: 1;
    visibility: visible;
}

.contact-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-modal__container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.contact-modal--active .contact-modal__container {
    transform: scale(1) translateY(0);
}

.contact-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    outline: none;
}

.contact-modal__close:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.contact-modal__body {
    padding: 3rem 2.5rem 2.5rem;
}

.contact-modal__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 2rem 0;
    text-align: center;
}

.contact-modal .contact-form {
    background: transparent;
    border: none;
    padding: 0;
    gap: 1.5rem;
}

.contact-modal .contact-form__input,
.contact-modal .contact-form__textarea {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-modal .contact-form__input:focus,
.contact-modal .contact-form__textarea:focus {
    background: rgba(20, 20, 25, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.15);
}

/* Contact Modal Responsive */
@media (max-width: 700px) {
    .contact-modal__container {
        width: 95%;
        max-height: 95vh;
    }

    .contact-modal__body {
        padding: 2.5rem 1.5rem 2rem;
    }

    .contact-modal__title {
        font-size: 26px;
        margin-bottom: 1.5rem;
    }

    .contact-modal__close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .contact__button-wrapper {
        margin-top: 3rem;
    }

    .contact__send-button {
        padding: 0.75rem 2rem;
        font-size: 14px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    overflow: visible;
    will-change: transform;
}

/* Pulsing ring animation */
.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.25);
    transform: scale(1);
    opacity: 0.7;
    z-index: -1;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    from {
        transform: scale(1);
        opacity: 0.7;
    }
    to {
        transform: scale(1.8);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: translateZ(0) scale(1.06);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover::before {
    background: rgba(37, 211, 102, 0.35);
    opacity: 0.8;
}

.whatsapp-float:active {
    transform: translateZ(0) scale(1.02);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    display: block;
    position: relative;
    z-index: 1;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float::before {
        animation: none;
        opacity: 0;
    }
    
    .whatsapp-float {
        will-change: auto;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float::before {
        inset: -8px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* --- Pricing page --- */
.pricing-page {
    width: 100%;
}

.pricing-card__description {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: -0.5rem 0 1rem;
}

.pricing-card--featured {
    padding-top: 2.25rem;
    border-color: rgba(255, 0, 0, 0.45);
    background: linear-gradient(165deg, rgba(25, 12, 14, 0.9) 0%, rgba(10, 10, 15, 0.75) 100%);
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.08);
}

.pricing-card--featured:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 0, 0, 0.28);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pricing-hero {
    padding: 7.5rem 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pricing-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.pricing-hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.55;
}

.pricing-services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.pricing-service-group {
    margin-bottom: 3.5rem;
}

.pricing-service-group:last-child {
    margin-bottom: 0;
}

.pricing-service-group__header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-service-group__title {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.pricing-service-group__subtitle--rte {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-service-group__subtitle--rte p:first-child {
    margin-top: 0;
}

.pricing-service-group__subtitle--rte p:last-child {
    margin-bottom: 0;
}

.pricing-service-group__subtitle--rte a {
    color: var(--text-light);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.pricing-service-group__subtitle--rte a:hover {
    color: #fff;
}

.pricing-service-group__subtitle--rte ul,
.pricing-service-group__subtitle--rte ol {
    margin: 0.5rem 0;
    padding-left: 1.35rem;
}

.pricing-service-group__subtitle--rte img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.pricing-service-group__youtube {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 1.25rem;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0a0a0f;
}

.pricing-yt__trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.45);
}

.pricing-yt__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pricing-yt__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.pricing-yt__play-icon {
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.pricing-yt__trigger:hover .pricing-yt__play-icon,
.pricing-yt__trigger:focus-visible .pricing-yt__play-icon {
    transform: scale(1.06);
    filter: drop-shadow(0 6px 20px rgba(255, 0, 0, 0.35));
}

.pricing-yt__trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.pricing-yt__iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: 0;
}

.pricing-service-group__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.pricing-service-group__link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pricing-service-group__link:hover {
    color: #fff;
}

.pricing-service-group__link--youtube:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.12);
}

.pricing-service-group__link--upwork {
    color: #6ee7a8;
}

.pricing-service-group__link--upwork:hover {
    border-color: #14a800;
    background: rgba(20, 168, 0, 0.2);
    color: #b8f5cf;
}

.pricing-service-group__link--fiverr {
    color: #5ee9ad;
}

.pricing-service-group__link--fiverr:hover {
    border-color: #1dbf73;
    background: rgba(29, 191, 115, 0.2);
    color: #b8f5df;
}

.pricing-service-group__plans {
    padding: 0 0 1rem;
}

.pricing-plans {
    padding: 2rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-plans__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    background: rgba(12, 12, 18, 0.65);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 0, 0, 0.12);
    border-color: rgba(255, 0, 0, 0.35);
}

.pricing-card--popular {
    padding-top: 2.25rem;
    border-color: rgba(255, 0, 0, 0.45);
    background: linear-gradient(165deg, rgba(25, 12, 14, 0.9) 0%, rgba(10, 10, 15, 0.75) 100%);
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.08);
}

.pricing-card--popular:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 0, 0, 0.28);
}

.pricing-card__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary-color);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}

.pricing-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.pricing-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.pricing-card__features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.pricing-card__features li {
    position: relative;
    padding-left: 1.1rem;
    line-height: 1.45;
}

.pricing-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.85;
}

.pricing-card__cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem;
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.pricing-card__cta:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.pricing-bottom-cta {
    padding: 3rem 2rem 5rem;
    text-align: center;
}

.pricing-bottom-cta__inner {
    max-width: 520px;
    margin: 0 auto;
}

.pricing-bottom-cta__heading {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.pricing-bottom-cta__button {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: filter 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.pricing-bottom-cta__button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
}

.pricing-bottom-cta__alt {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-bottom-cta__alt a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.pricing-bottom-cta__alt a:hover {
    border-bottom-color: var(--primary-color);
}

@media (max-width: 1024px) {
    .pricing-plans__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-plans__grid {
        grid-template-columns: 1fr;
    }
}

/* --- Projects (/projects/) --- */
.projects-page {
    width: 100%;
    min-height: 60vh;
}

.projects-hero {
    padding: 7.5rem 2rem 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.projects-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.projects-hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.projects-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(12, 12, 18, 0.55);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.35);
}

.project-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card__img {
    transform: scale(1.06);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.project-card__cta {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    padding: 0.6rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.project-card__body {
    padding: 1.15rem 1.25rem 1.35rem;
    flex: 1 1 auto;
}

.project-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.project-card__category {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    opacity: 0.95;
}

.projects-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
}

/* Project detail */
.project-detail {
    background: var(--bg-darker);
    min-height: 100vh;
}

.project-detail__hero {
    position: relative;
    width: 100%;
}

.project-detail__video-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6.5rem 1.5rem 0;
}

.project-detail__embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    background: #0a0a0a;
}

.project-detail__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.project-detail__image-shell {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6.5rem 1.5rem 0;
}

.project-detail__hero-img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.project-detail__hero-scrim {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 0;
    height: 40%;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
    pointer-events: none;
}

.project-detail__content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
    text-align: center;
}

.project-detail__eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.project-detail__title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-detail__client {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.project-detail__client-label {
    color: rgba(255, 255, 255, 0.45);
    margin-right: 0.35rem;
}

.project-detail__description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    text-align: left;
    margin-bottom: 2rem;
}

.project-detail__actions {
    margin-bottom: 2.5rem;
}

.project-detail__external {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: filter 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.project-detail__external:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 0, 0, 0.35);
}

.project-detail__gallery {
    margin-top: 1rem;
    text-align: left;
}

.project-detail__gallery-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}

.project-detail__gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.project-detail__gallery-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: rgba(15, 15, 20, 0.8);
}

.project-detail__gallery-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.project-detail__iframe--gallery {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

.project-detail__gallery-link {
    display: block;
    line-height: 0;
}

.project-detail__gallery-img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    transition: transform 0.4s ease;
}

.project-detail__gallery-link:hover .project-detail__gallery-img {
    transform: scale(1.03);
}

/* Featured projects (home) */
.featured-projects {
    padding: 4rem 0 3rem;
}

.featured-projects__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.featured-projects__title {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.featured-projects__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.featured-projects__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.featured-projects__card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.featured-projects__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(12, 12, 18, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.featured-projects__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 0, 0, 0.18);
    border-color: rgba(255, 0, 0, 0.3);
}

.featured-projects__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

.featured-projects__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.featured-projects__card:hover .featured-projects__img {
    transform: scale(1.05);
}

.featured-projects__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-projects__card:hover .featured-projects__overlay {
    opacity: 1;
}

.featured-projects__overlay-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.featured-projects__body {
    padding: 1rem 1.1rem 1.2rem;
}

.featured-projects__card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.featured-projects__card-cat {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.featured-projects__footer {
    text-align: center;
    margin-top: 2.25rem;
}

.featured-projects__view-all {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.featured-projects__view-all:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

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

    .featured-projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .featured-projects__grid {
        grid-template-columns: 1fr;
    }

    .project-detail__gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-detail__video-shell,
    .project-detail__image-shell {
        padding-top: 5.5rem;
    }
}

