/* ==============================================
   ANASTASIIA PUPYRINA — PORTFOLIO
   Cinematic • Interactive • Video-Focused
   Fluid Gradient Background
   ============================================== */

/* --- Custom Properties --- */
:root {
    --color-bg:          #080810;
    --color-bg-light:    #0f0f1a;
    --color-bg-card:     #12121f;
    --color-text:        #f0efe9;
    --color-text-dim:    #a0a0b0;
    --color-text-muted:  #55556a;
    --color-accent:      #b898ff;
    --color-accent-2:    #ff6eb4;
    --color-accent-glow: rgba(184, 152, 255, 0.12);
    --color-border:      rgba(255, 255, 255, 0.06);
    --color-border-hover:rgba(255, 255, 255, 0.14);

    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body:    'Inter', -apple-system, 'Segoe UI', sans-serif;
    --font-mono:    'Space Grotesk', 'SF Mono', monospace;

    --ease-out-expo:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart:    cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);

    --nav-height:        80px;
    --pad:               clamp(20px, 4vw, 80px);
    --pad-sm:            clamp(16px, 3vw, 40px);

    --radius:            12px;
    --radius-sm:         6px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    cursor: none;
}

a { color: inherit; text-decoration: none; cursor: none; }
button { background: none; border: none; color: inherit; cursor: none; font-family: inherit; }
img, video, iframe { display: block; max-width: 100%; }
ul, ol { list-style: none; }

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

.container     { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.container-wide{ width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }


/* ==============================================
   FLUID GRADIENT BACKGROUND
   ============================================== */
.fluid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.fluid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    will-change: transform;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.fluid-blob--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6e3aff 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation: blob1 18s ease-in-out infinite alternate;
}

.fluid-blob--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ff3c83 0%, transparent 70%);
    top: 30%;
    right: -10%;
    animation: blob2 22s ease-in-out infinite alternate;
}

.fluid-blob--3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #00c6ff 0%, transparent 70%);
    bottom: -5%;
    left: 20%;
    animation: blob3 20s ease-in-out infinite alternate;
}

.fluid-blob--4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ff6eb4 0%, transparent 70%);
    top: 60%;
    left: 50%;
    animation: blob4 16s ease-in-out infinite alternate;
}

@keyframes blob1 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(15vw, 10vh) scale(1.15); }
    66%  { transform: translate(-5vw, 25vh) scale(0.9); }
    100% { transform: translate(10vw, 5vh) scale(1.05); }
}

@keyframes blob2 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(-20vw, 15vh) scale(1.1); }
    66%  { transform: translate(-10vw, -10vh) scale(0.85); }
    100% { transform: translate(-15vw, 20vh) scale(1.2); }
}

@keyframes blob3 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(20vw, -15vh) scale(1.2); }
    66%  { transform: translate(10vw, -5vh) scale(0.9); }
    100% { transform: translate(-10vw, -10vh) scale(1.1); }
}

@keyframes blob4 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(-15vw, -20vh) scale(1.15); }
    66%  { transform: translate(10vw, 10vh) scale(0.85); }
    100% { transform: translate(-5vw, -15vh) scale(1); }
}


/* ==============================================
   PRELOADER
   ============================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner { text-align: center; }

.preloader-counter-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 24px;
}

.preloader-counter {
    font-family: var(--font-heading);
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--color-text);
}

.preloader-percent {
    font-family: var(--font-mono);
    font-size: clamp(14px, 2vw, 20px);
    color: var(--color-text-dim);
    font-weight: 300;
}

.preloader-bar {
    width: clamp(200px, 30vw, 300px);
    height: 1px;
    background: var(--color-border);
    margin: 0 auto 16px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
    transition: width 0.1s linear;
}

.preloader-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.preloader.is-done {
    pointer-events: none;
}


/* ==============================================
   CUSTOM CURSOR
   ============================================== */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--color-text);
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: -3px;
    transition: transform 0.15s var(--ease-out-quart), opacity 0.2s;
}

.cursor-circle {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(240, 239, 233, 0.4);
    border-radius: 50%;
    position: absolute;
    top: -24px;
    left: -24px;
    transition: transform 0.4s var(--ease-out-expo),
                width 0.4s var(--ease-out-expo),
                height 0.4s var(--ease-out-expo),
                top 0.4s var(--ease-out-expo),
                left 0.4s var(--ease-out-expo),
                border-color 0.3s,
                background 0.3s;
}

.cursor-text {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    font-weight: 500;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s var(--ease-out-expo);
    color: var(--color-bg);
}

/* Cursor states */
.cursor.is-hovering .cursor-circle {
    width: 80px;
    height: 80px;
    top: -40px;
    left: -40px;
    border-color: var(--color-accent);
}

.cursor.is-hovering .cursor-dot {
    transform: scale(0);
}

.cursor.is-video .cursor-circle {
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px;
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.cursor.is-video .cursor-dot { opacity: 0; }

.cursor.is-video .cursor-text {
    opacity: 1;
    transform: scale(1);
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
}

.cursor.is-view .cursor-circle {
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px;
    background: var(--color-accent-2);
    border-color: var(--color-accent-2);
}

.cursor.is-view .cursor-dot { opacity: 0; }

.cursor.is-view .cursor-text {
    opacity: 1;
    transform: scale(1);
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
}

.cursor.is-hidden .cursor-dot,
.cursor.is-hidden .cursor-circle {
    transform: scale(0);
}


/* ==============================================
   NAVIGATION
   ============================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 var(--pad);
    transition: transform 0.5s var(--ease-out-expo), background 0.4s;
}

.nav.is-scrolled {
    background: rgba(8, 8, 16, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav.is-hidden {
    transform: translateY(-100%);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--color-text-dim);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

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

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hamburger */
.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 110;
}

.nav-menu-btn span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-text);
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}

.nav-menu-btn.is-active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.nav-menu-btn.is-active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}


/* ==============================================
   MOBILE MENU
   ============================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu.is-open {
    pointer-events: all;
    visibility: visible;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 16, 0.95);
    backdrop-filter: blur(30px);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-menu.is-open .mobile-menu-bg {
    opacity: 1;
}

.mobile-menu-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-menu-link {
    font-family: var(--font-heading);
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 300;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s, transform 0.6s var(--ease-out-expo), color 0.3s;
}

.mobile-menu.is-open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }

.mobile-menu-link:hover { color: var(--color-accent); }

.mobile-menu-socials {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s 0.3s, transform 0.5s 0.3s var(--ease-out-expo);
}

.mobile-menu.is-open .mobile-menu-socials {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-socials a {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--color-text-dim);
    transition: color 0.3s;
}

.mobile-menu-socials a:hover { color: var(--color-accent); }


/* ==============================================
   HERO SECTION
   ============================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--pad);
}

.hero-title-wrap {
    text-align: center;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-line {
    display: block;
    overflow: hidden;
    line-height: 1;
}

.hero-line-inner {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(48px, 11vw, 160px);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--color-text);
    transform: translateY(110%);
    will-change: transform;
}

.hero-line--outline .hero-line-inner {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-text);
}

.hero-role {
    font-family: var(--font-mono);
    font-size: clamp(12px, 1.4vw, 16px);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-bottom {
    position: absolute;
    bottom: 60px;
    left: var(--pad);
    right: var(--pad);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 300;
    color: var(--color-text-dim);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-scroll span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* Letterbox Bars */
.letterbox {
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    background: var(--color-bg);
    z-index: 3;
    transition: height 1s var(--ease-out-expo);
}

.letterbox--top  { top: 0; }
.letterbox--bottom { bottom: 0; }

.hero.is-cinematic .letterbox {
    height: 8vh;
}


/* ==============================================
   SECTION LABELS
   ============================================== */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.section-label-line {
    width: 40px;
    height: 1px;
    background: var(--color-border);
}

.section-label-text {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}


/* ==============================================
   SHOWCASE FRAME CORNERS
   ============================================== */
.showreel-frame {
    position: absolute;
    inset: -10px;
    pointer-events: none;
    z-index: 4;
}

.frame-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--color-accent);
    border-style: solid;
    border-width: 0;
    opacity: 0.45;
}

.frame-corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.frame-corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.frame-corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.frame-corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }


/* ==============================================
   WORKS SECTION & SINGLE-LINE FILTER BAR
   ============================================== */
.works {
    padding: 90px 0 160px;
    position: relative;
    z-index: 1;
}

.works-heading {
    margin-bottom: 56px;
}

.heading-line {
    display: block;
    overflow: hidden;
    line-height: 1.1;
}

.heading-line span {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(40px, 7vw, 90px);
    font-weight: 300;
    letter-spacing: -0.02em;
}

/* Single-Row Category Filter Tabs */
.works-filter {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 56px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.works-filter::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 9px 17px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text-dim);
    background: transparent;
    transition: all 0.3s;
    cursor: none;
}

.filter-btn:hover,
.filter-btn.is-active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

/* 6-Column Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
    align-items: start;
}

/* ==============================================
   WORK CARDS & POSTERS
   ============================================== */
.work-card {
    grid-column: span 3;
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: border-color 0.4s, opacity 0.4s, transform 0.6s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.work-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px var(--color-accent-glow);
}

.work-card.is-hidden {
    display: none;
}

.work-card--wide {
    grid-column: span 6;
}

/* Showcase Card (Amelie VFX Trailer) */
.work-card--showcase {
    box-shadow: 0 40px 100px rgba(110, 58, 255, 0.12);
    border-color: rgba(184, 152, 255, 0.2);
}

.work-card--showcase .work-card-media {
    aspect-ratio: 16 / 9 !important;
}

/* Vertical 9:16 Cards */
.work-card--vertical {
    grid-column: span 2;
}

.work-card-link {
    display: block;
    position: relative;
    cursor: none;
}

.work-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg-light);
}

.work-card--wide .work-card-media {
    aspect-ratio: 21 / 9;
}

.work-card--vertical .work-card-media {
    aspect-ratio: 9 / 16;
    max-height: 430px;
    background: #050508;
}

.work-card--vertical .work-card-content {
    padding: 16px 20px;
}

.work-card--vertical .work-card-title {
    font-size: clamp(19px, 2vw, 24px);
}

/* Card Images with Smooth Zoom-In */
.work-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
    transition: transform 0.75s var(--ease-out-expo), filter 0.5s var(--ease-out-expo);
}

.work-card--vertical .work-card-img {
    object-fit: contain;
}

.work-card:hover .work-card-img {
    transform: scale(1.07);
}

.work-card--vertical:hover .work-card-img {
    transform: scale(1.04);
}

.work-card--photo:hover .work-card-img {
    transform: scale(1.09);
    filter: brightness(1.05) contrast(1.02);
}

/* Dynamic Live Hover Preview Iframes */
.work-card-preview-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
    pointer-events: none;
}

/* Sleek Play Badge on Video Cards */
.work-card-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(8, 8, 16, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    z-index: 3;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.4s var(--ease-out-expo), background 0.3s, border-color 0.3s;
}

.work-card:hover .work-card-play-badge {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

/* Constant Automatic Sliding Image Gallery */
.work-card-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.85s var(--ease-out-expo);
    will-change: transform;
}

.work-card-slide-img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.8s var(--ease-out-expo), filter 0.5s var(--ease-out-expo);
}

.work-card--vertical .work-card-slide-img {
    object-fit: contain;
}

.work-card--slider:hover .work-card-slide-img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.02);
}

.work-card--slider.work-card--vertical:hover .work-card-slide-img {
    transform: scale(1.03);
}

.work-card-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(8, 8, 16, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.3s, transform 0.3s;
}

.slider-dot.is-active {
    background: var(--color-accent);
    transform: scale(1.3);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top,
        rgba(8, 8, 16, 0.75) 0%,
        rgba(8, 8, 16, 0) 55%
    );
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.work-card:hover .work-card-overlay {
    opacity: 1;
}

.work-card-content {
    padding: 24px 28px;
}

.work-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.work-card-category {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 400;
}

.work-card-divider {
    color: var(--color-text-muted);
    font-size: 12px;
}

.work-card-year {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-text-muted);
}

.work-card-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.work-card:hover .work-card-title {
    color: var(--color-accent);
}

.work-card-desc {
    margin-top: 8px;
    font-size: 14px;
    color: var(--color-text-dim);
    line-height: 1.5;
    max-width: 680px;
}

/* Styled "Details" button */
.work-card-info-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(8, 8, 16, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.work-card-info-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}


/* ==============================================
   VIDEO MODAL (YOUTUBE EMBED)
   ============================================== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
}

.video-modal.is-open {
    pointer-events: all;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.video-modal.is-open .video-modal-backdrop {
    opacity: 1;
}

.video-modal-inner {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.6s var(--ease-out-expo), opacity 0.5s;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-modal.is-open .video-modal-inner {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.1s;
}

.video-modal-player {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

.video-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(8, 8, 16, 0.75);
    border: 1px solid var(--color-border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    transition: color 0.3s, transform 0.3s var(--ease-out-expo), border-color 0.3s;
}

.video-modal-close:hover {
    color: var(--color-text);
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

.video-modal-yt-link {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 10;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(8, 8, 16, 0.8);
    border: 1px solid var(--color-border-hover);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-text-dim);
    backdrop-filter: blur(8px);
}

.video-modal-yt-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.video-modal-yt-link.is-hidden {
    display: none;
}


/* ==============================================
   IMAGE MODAL
   ============================================== */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
    padding: clamp(16px, 3vw, 48px);
}

.image-modal.is-open {
    pointer-events: all;
    visibility: visible;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 12, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.image-modal.is-open .image-modal-backdrop {
    opacity: 1;
}

.image-modal-inner {
    position: relative;
    width: min(1320px, 94vw);
    max-height: 88vh;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius);
    overflow: hidden;
    transform: scale(0.94);
    opacity: 0;
    transition: transform 0.6s var(--ease-out-expo), opacity 0.5s;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.image-modal.is-open .image-modal-inner {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.05s;
}

.image-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
    max-height: 88vh;
}

.image-modal-stage {
    position: relative;
    background: #05050a;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 88vh;
    overflow: auto;
    padding: 20px 64px;
}

.image-modal-img {
    max-width: 100%;
    max-height: calc(88vh - 40px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.45s var(--ease-out-expo);
    cursor: zoom-in;
}

.image-modal-stage.is-zoomed {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
}

.image-modal-stage.is-zoomed .image-modal-img {
    max-width: none;
    max-height: none;
    width: auto;
    cursor: zoom-out;
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(8, 8, 16, 0.8);
    border: 1px solid var(--color-border-hover);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out-expo);
}

.image-modal-nav--prev { left: 16px; }
.image-modal-nav--next { right: 16px; }

.image-modal-nav:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-50%) scale(1.08);
}

.image-modal-nav.is-hidden { display: none; }

.image-modal-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 6;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(8, 8, 16, 0.8);
    border: 1px solid var(--color-border-hover);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    backdrop-filter: blur(10px);
}

.image-modal-counter.is-hidden { display: none; }

.image-modal-fullres-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 6;
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(8, 8, 16, 0.8);
    border: 1px solid var(--color-border-hover);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-text-dim);
    backdrop-filter: blur(10px);
    transition: color 0.3s, border-color 0.3s;
}

.image-modal-fullres-btn:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.image-modal-info {
    padding: 48px 36px;
    overflow-y: auto;
    border-left: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-modal-category {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
    display: block;
}

.image-modal-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
}

.image-modal-desc {
    font-size: 15px;
    color: var(--color-text-dim);
    line-height: 1.7;
    margin-bottom: 28px;
}

.image-modal-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
}

.image-modal-tools span {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 6px 14px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text-dim);
    background: rgba(255, 255, 255, 0.02);
}

.image-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(8, 8, 16, 0.75);
    border: 1px solid var(--color-border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    transition: color 0.3s, transform 0.3s var(--ease-out-expo), border-color 0.3s;
}

.image-modal-close:hover {
    color: var(--color-text);
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

@media (max-width: 900px) {
    .image-modal-layout {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }
    .image-modal-stage {
        max-height: 55vh;
        padding: 20px 48px;
    }
    .image-modal-img {
        max-height: 50vh;
    }
    .image-modal-info {
        padding: 28px 24px;
        border-left: none;
        border-top: 1px solid var(--color-border);
    }
}


/* ==============================================
   PROJECT DETAIL PANEL
   ============================================== */
.project-detail {
    position: fixed;
    inset: 0;
    z-index: 8000;
    pointer-events: none;
    visibility: hidden;
}

.project-detail.is-open {
    pointer-events: all;
    visibility: visible;
}

.project-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.project-detail.is-open .project-detail-backdrop {
    opacity: 1;
}

.project-detail-inner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(640px, 92vw);
    background: var(--color-bg-light);
    transform: translateX(100%);
    transition: transform 0.6s var(--ease-out-expo);
    overflow-y: auto;
    padding: 60px 40px;
}

.project-detail.is-open .project-detail-inner {
    transform: translateX(0);
}

.project-detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    transition: color 0.3s, transform 0.3s var(--ease-out-expo);
    z-index: 10;
}

.project-detail-close:hover {
    color: var(--color-text);
    transform: rotate(90deg);
}

.project-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(28px,4vw,42px);
    font-weight: 400;
    margin-bottom: 8px;
}

.project-detail-category {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
    display: block;
}

.project-detail-desc {
    font-size: 15px;
    color: var(--color-text-dim);
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-detail-ext-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 18px;
    border-radius: 100px;
    border: 1px solid var(--color-accent);
    background: var(--color-accent-glow);
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    transition: background 0.3s, color 0.3s;
}

.project-detail-ext-link:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.project-detail-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
    margin-bottom: 32px;
}

.project-detail-tools span {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text-muted);
}

.project-detail-media {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.project-detail-media iframe,
.project-detail-media img {
    width: 100%;
    border-radius: var(--radius);
}


/* ==============================================
   ABOUT SECTION
   ============================================== */
.about {
    padding: 120px 0 160px;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.about-heading {
    margin-bottom: 40px;
}

.about-body p {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--color-text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.about-tools {
    display: block;
    margin-top: 40px;
}

.tool-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 12px;
}

.tool-tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    padding: 9px 18px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text-dim);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.tool-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

.about-languages {
    margin-top: 40px;
}

.about-subtitle {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 18px;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 12px;
}

.lang-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    padding: 9px 18px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text-dim);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-tag small {
    color: var(--color-accent);
    font-size: 10px;
    font-weight: 500;
}

.about-visual-col {
    margin-top: clamp(95px, 11vw, 150px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 360px;
}

.about-image-inner {
    aspect-ratio: 9 / 16;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg-card);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.about-intro-video {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.about-image-frame {
    position: absolute;
    inset: -14px;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    pointer-events: none;
}

.about-unmute-btn {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid var(--color-accent);
    background: var(--color-accent-glow);
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.about-unmute-btn:hover,
.about-unmute-btn.is-unmuted {
    background: var(--color-accent);
    color: var(--color-bg);
    box-shadow: 0 10px 30px rgba(184, 152, 255, 0.28);
}


/* ==============================================
   CERTIFICATES SECTION
   ============================================== */
.certificates {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.cert-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.4s var(--ease-out-expo);
}

.cert-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.cert-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.cert-card-pdf-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--color-bg-light);
    overflow: hidden;
}

.cert-card-pdf {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.cert-card-pdf-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(8, 8, 16, 0.85);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
    transition: background 0.3s, color 0.3s;
}

.cert-card-pdf-wrap:hover .cert-card-pdf-badge {
    background: var(--color-accent);
    color: var(--color-bg);
}

.cert-card-info {
    padding: 20px;
}

.cert-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 4px;
}

.cert-card-desc {
    font-size: 13px;
    color: var(--color-text-dim);
}


/* ==============================================
   MARQUEE
   ============================================== */
.marquee {
    padding: 60px 0;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 22s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 300;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ==============================================
   CONTACT SECTION
   ============================================== */
.contact {
    padding: 120px 0 160px;
    position: relative;
    z-index: 1;
}

.contact-content {
    max-width: 700px;
}

.contact-heading {
    margin-bottom: 60px;
}

.contact-email {
    display: inline-block;
    position: relative;
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.contact-email:hover {
    color: var(--color-accent);
}

.contact-email-line {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-out-expo);
}

.contact-email:hover .contact-email-line {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-info {
    margin-bottom: 48px;
}

.contact-location {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--color-text-dim);
    letter-spacing: 0.05em;
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--color-text-dim);
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-glow);
}


/* ==============================================
   FOOTER
   ============================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy,
.footer-credit {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.footer-top {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out-expo);
}

.footer-top:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-4px);
}


/* ==============================================
   SCROLL REVEAL ANIMATION STATES
   ============================================== */
[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(40px);
}

[data-scroll-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-scroll-reveal-card] {
    opacity: 0;
    transform: translateY(60px);
}

[data-scroll-reveal-card].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}


/* ==============================================
   RESPONSIVE
   ============================================== */
@media (hover: none) {
    .cursor { display: none; }
    body, a, button { cursor: auto; }
}

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

    .work-card,
    .work-card--wide {
        grid-column: span 2;
    }

    .work-card--vertical {
        grid-column: span 1;
    }

    .work-card--wide .work-card-media {
        aspect-ratio: 16 / 9;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual-col {
        margin-top: 20px;
        max-width: 400px;
    }

    .fluid-blob { filter: blur(80px); opacity: 0.25; }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-menu-btn {
        display: flex;
    }

    .hero-bottom {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }

    .hero-scroll {
        display: none;
    }

    .hero-line--outline .hero-line-inner {
        -webkit-text-stroke-width: 1px;
    }

    .works {
        padding: 60px 0 100px;
    }

    .works-heading {
        margin-bottom: 48px;
    }

    .works-filter {
        gap: 8px;
        margin-bottom: 40px;
    }

    .filter-btn {
        font-size: 11px;
        padding: 8px 14px;
    }

    .project-detail-inner {
        width: 100vw;
        padding: 48px 24px;
    }

    .certificates {
        padding: 60px 0;
    }

    .certificates-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about {
        padding: 80px 0 100px;
    }

    .contact {
        padding: 80px 0 100px;
    }

    .contact-socials {
        flex-direction: column;
        gap: 12px;
    }

    .social-link {
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-top {
        order: -1;
    }

    .fluid-blob {
        filter: blur(60px);
        opacity: 0.2;
    }

    .fluid-blob--1 { width: 300px; height: 300px; }
    .fluid-blob--2 { width: 250px; height: 250px; }
    .fluid-blob--3 { width: 220px; height: 220px; }
    .fluid-blob--4 { width: 180px; height: 180px; }
}

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

    .work-card,
    .work-card--wide,
    .work-card--vertical {
        grid-column: span 1;
    }

    .section-label {
        margin-bottom: 32px;
    }

    .work-card-content {
        padding: 16px 20px;
    }

    .work-card-desc {
        display: none;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-inner {
        padding: 40px 16px;
    }
}