:root {
    --bg: #0b0b0f;
    --accent: #3b82f6; /* electric blue */
    --accent-glow: rgba(59,130,246,0.5);
    --text-soft: rgba(255,255,255,0.7);
    --skeleton-base: #17171f;
    --skeleton-shine: #252531;
}

body {
    background: var(--bg);
    overflow-x: hidden;
}

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

body {
    background: #0B0B0B;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    filter: blur(120px);
    animation: floatGlow 12s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% {
        transform: translate(0px, 0px);
    }
    50% {
        transform: translate(-100px, 100px);
    }
    100% {
        transform: translate(50px, -50px);
    }
}

body::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
    bottom: -150px;
    left: -150px;
    z-index: -1;
    filter: blur(100px);
    animation: floatGlow2 18s ease-in-out infinite alternate;
}

@keyframes floatGlow2 {
    0% {
        transform: translate(0px, 0px);
    }
    100% {
        transform: translate(120px, -80px);
    }
}

.section-title {
    font-size: 2rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--accent);
    position: absolute;
    left: 0;
    bottom: -10px;
}

body {
    cursor: crosshair;
}

html {
    scroll-behavior: smooth;
}

/* OPENING SCREEN EXPERIMENTAL */

.opening {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center; /* penting */
    align-items: center;
    overflow: hidden;
    z-index: 999;
    transition: opacity 0.8s ease;
}

.opening-inner {
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

.opening-line {
    font-size: clamp(18px, 2vw, 24px);
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
}

.opening-line.highlight {
    color: #3b82f6;
}

/* NOISE OVERLAY */
.noise {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.05;
    pointer-events: none;
}

/* BIG TEXT */
.big-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10vw;
    letter-spacing: 12px;
    text-align: center;
    text-shadow: 0 0 20px var(--accent-glow);
}

/* SUB TEXT */
.sub-text {
    margin-top: 20px;
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-align: center;
    opacity: 0.8;
    color: var(--accent);
}

/* BUTTON */
.enter-btn {
    margin-top: 60px;
    padding: 14px 40px;
    border: 1px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

.enter-btn:hover {
    background: white;
    color: black;
    transform: scale(1.05);
}

.btn-stroke {
    position: relative;
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    overflow: hidden;
    transition: color 0.4s ease;
    margin: 0 10px;
}

.btn-stroke::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: white;
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.btn-stroke:hover::before {
    width: 100%;
}

.btn-stroke:hover {
    color: black;
}

.btn-stroke:hover::before {
    width: 100%;
}

.btn-stroke:hover {
    color: black;
}

/* HIDE MAIN CONTENT AT FIRST */
.main-content {
    opacity: 0;
    transition: 1s ease;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9vw;
    text-align: center;
}

.hero-subtitle {
    opacity: 0.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    text-decoration: none;   /* hapus underline */
    color: white;            /* paksa putih */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: white;
    animation: scrollPulse 1.5s infinite ease-in-out;
}

@keyframes scrollPulse {
    0% { height: 20px; opacity: 0.3; }
    50% { height: 40px; opacity: 1; }
    100% { height: 20px; opacity: 0.3; }
}

/* MANIFESTO */
.manifesto {
    padding: 80px 10%;
}

.manifesto-line {
    font-size: 4vw;
    margin-bottom: 40px;
    opacity: 0.3;
    transition: 0.6s ease;
}

.manifesto-line:hover {
    opacity: 1;
}

.highlight-line {
    color: var(--accent);
    opacity: 1;
}

.manifesto-scene {
    height: 200vh; /* penting */
    position: relative;
}

.manifesto-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.scene-text {
    font-size: 4vw;
    opacity: 0.2;
    margin-bottom: 40px;
}

/* STATEMENT */
.statement {
    padding: 80px 10%;
}

.statement h2 {
    font-size: 4vw;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

/* CAPABILITY */
.capability-title {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3b82f6;
    margin-bottom: 20px;
}
.capability-note {
    text-align: center;
    font-size: 0.9rem;
    color: #3b82f6;
    margin-top: 20px;
}

/* MARQUEE */
.marquee-wrapper {
    position: relative;
    overflow: hidden;
    background: white;
    padding: 40px 0;
    margin-bottom: 100px;
}

.marquee {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee 20s linear infinite;
}

.marquee-track span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.8vw;
    white-space: nowrap;
    margin-right: 80px;
    color: black;
    letter-spacing: 1px;
}

.marquee-track span:hover {
    color: var(--accent);
    opacity: 1 ;
}

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

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

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

/* ABOUT SECTION */
.about {
    padding: 80px 10%;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 350px;
    max-width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
}

.about-text {
    max-width: 600px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
}

/* APPROACH */
.approach {
    padding: 80px 10%;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 40px;
    margin-top: 50px;
}

.approach h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

/* WORKS */
.works {
    padding: 80px 10%;
}

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

.project {
    padding: 60px 30px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s ease;
    cursor: pointer;
}

.project::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.8),
        transparent
    );
}

.project:hover {
    box-shadow: 0 0 40px var(--accent-glow);
}

.works-title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.works-title.accent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background: #3b82f6;
}

.works-sub {
    opacity: 0.6;
    max-width: 600px;
    margin-top: 18px;
    margin-bottom: 70px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.section-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 40px;
    position: relative;
    display: inline-block; /* wajib */
}

.section-label.accent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;          /* pakai px biar konsisten */
    height: 2px;
    background: #3b82f6;
}

.work-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 140px;
}

.work-item:last-of-type {
    margin-bottom: 80px;
}

.works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.work-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(4px);
    transition: 0.4s ease;
}

.work-card:hover {
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-6px);
}

.work-text {
    flex: 1;
}

.work-text h2 {
    font-size: 2.4vw;
    margin-bottom: 16px;
}

.work-text p {
    opacity: 0.7;
    max-width: 420px;
}

.work-image {
    flex: 1;
    aspect-ratio: 16 / 10; /* samakan semua */
    overflow: hidden;
    border-radius: 10px;
}

.work-image img {
    width: 100%;
    border-radius: 10px;
    transition: 0.5s ease;
    object-fit: cover; /* agar gambar tidak terdistorsi */
}

.section-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 40px;
}

.work-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    text-decoration: none;
    color: white;
    opacity: 0.6;
    transition: 0.3s ease;
}

.work-link:hover {
    opacity: 1;
    transform: translateX(4px);
}
/* PROJECT */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.project {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: 0.5s ease;
    filter: grayscale(100%);
}

.project:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.project-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
}

.project-info p {
    opacity: 0.7;
}

/* CONTACT */
.contact-section {
    padding: 140px 10%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-title {
    font-size: 3vw;
    margin-bottom: 20px;
}

.contact-sub {
    opacity: 0.6;
    margin-bottom: 40px;
}

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

.contact-links a {
    text-decoration: none;
    color: white;
    border-bottom: 1px solid transparent;
    transition: 0.3s ease;
}

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

.contact-actions {
    margin-top: 50px;
}

.contact-links-secondary {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-links-secondary a {
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.contact-links-secondary a:hover {
    color: white;
}

.btn-outline {
    position: relative;
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    overflow: hidden;
    transition: color 0.4s ease, transform 0.3s ease;
    z-index: 1;
    border-radius: 8px;
}

.btn-outline span {
    position: relative;
    z-index: 2;
}

.btn-outline.small {
    padding: 12px 28px;
    font-size: 0.9rem;
}

.btn-outline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: white;
    z-index: 0; /* penting */
    transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-radius: 8px;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: black !important; /* pakai ini kalau ada override */
    transform: translateY(-3px);
}

.closing-actions {
    margin-top: 60px;
}

/* FOOTER */
.footer {
    padding: 40px 10%;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    font-size: 0.9rem;
    opacity: 0.4;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 14vw; /* lebih proporsional di HP */
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .big-text {
        font-size: 16vw;       /* lebih proporsional */
        letter-spacing: 2px;   /* ini yang penting */
        text-align: center;
    }

    .opening-text {
        text-align: center;
        padding: 0 20px;
    }
}

/* CASE PAGE */

.case-hero {
    padding: 140px 10% 60px;
}

.case-hero h1 {
    font-size: clamp(36px, 6vw, 72px);
    margin-bottom: 10px;
}

.case-meta {
    color: var(--accent);
    letter-spacing: 1px;
}

.case-section {
    padding: 60px 10%;
    max-width: 900px;
}

.case-section h2 {
    margin-bottom: 16px;
}

.case-section p {
    opacity: 0.8;
    line-height: 1.7;
}

.case-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.case-gallery img {
    width: 100%;
    border-radius: 10px;
}

.case-back {
    padding: 80px 10%;
}

.case-back a {
    text-decoration: none;
    opacity: 0.6;
}

.case-back a:hover {
    opacity: 1;
}

/* PAGE SKELETON */
html.is-loading {
    overflow: hidden;
}

.page-skeleton {
    position: fixed;
    inset: 0;
    background: #0b0b0f;
    z-index: 1200;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

html.is-loading .page-skeleton {
    opacity: 1;
    pointer-events: auto;
}

.skeleton-shell {
    width: min(1100px, 92vw);
    display: grid;
    gap: 16px;
}

.skeleton-line,
.skeleton-block {
    position: relative;
    overflow: hidden;
    background: var(--skeleton-base);
    border-radius: 10px;
}

.skeleton-line::after,
.skeleton-block::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent 10%, var(--skeleton-shine) 50%, transparent 90%);
    animation: skeletonShimmer 1.2s infinite linear;
}

.skeleton-line {
    height: 16px;
}

.skeleton-grid {
    margin-top: 14px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skeleton-block {
    height: clamp(150px, 22vw, 240px);
}

.w-40 {
    width: 40%;
}

.w-60 {
    width: 60%;
}

.w-80 {
    width: 80%;
}

@keyframes skeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

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

/* =========================================
   WORKS CTA CENTER FIX
========================================= */
.works-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 80px auto 0;
    text-align: center;
}

.works-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}


/* =========================================
   GLOBAL RESPONSIVE MEDIA
========================================= */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

.works-container,
.about-container,
.approach-grid,
.contact-container,
.footer-container {
    width: 100%;
}


/* =========================================
   LARGE TABLET / SMALL DESKTOP
========================================= */
@media (max-width: 1200px) {

    .work-card {
        gap: 28px;
        padding: 28px;
    }

    .work-text h2,
    .work-text h3 {
        font-size: clamp(28px, 3vw, 40px);
    }

    .works-title {
        font-size: clamp(42px, 7vw, 72px);
    }

    .contact-title {
        font-size: clamp(36px, 5vw, 60px);
    }
}


/* =========================================
   TABLET
========================================= */
@media (max-width: 992px) {

    .hero {
        padding: 0 6%;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(56px, 13vw, 120px);
        line-height: 0.95;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 600px;
    }

    .scene-text,
    .statement h2 {
        font-size: clamp(32px, 6vw, 54px);
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-text {
        max-width: 100%;
    }

    .work-card {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 28px;
    }

    .work-image,
    .work-text {
        width: 100%;
    }

    .work-text h2,
    .work-text h3 {
        font-size: clamp(26px, 4vw, 42px);
    }

    .works-sub {
        font-size: 1rem;
        margin-bottom: 50px;
    }

    .contact-links-secondary {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}


/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px) {

    body {
        cursor: default;
    }

    .opening {
        padding: 0 24px;
    }

    .opening-line {
        font-size: clamp(16px, 4vw, 22px);
        line-height: 1.5;
    }

    .enter-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
    }

    .hero {
        min-height: 100svh;
        padding: 0 24px;
    }

    .hero-title {
        font-size: clamp(48px, 16vw, 100px);
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-top: 12px;
    }

    .scroll-indicator {
        bottom: 24px;
    }

    .manifesto-content {
        padding: 0 24px;
    }

    .scene-text {
        font-size: clamp(28px, 9vw, 52px);
        margin-bottom: 28px;
    }

    .statement {
        padding: 60px 24px;
    }

    .statement h2 {
        font-size: clamp(28px, 9vw, 48px);
        margin-bottom: 24px;
    }

    .marquee-wrapper {
        padding: 24px 0;
        margin-bottom: 70px;
    }

    .marquee-track span {
        font-size: clamp(14px, 4vw, 20px);
        margin-right: 40px;
    }

    .about,
    .approach,
    .contact-section,
    .case-hero,
    .case-section,
    .case-back,
    .works-header,
    .works-back {
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-image img {
        width: min(100%, 280px);
        margin: 0 auto;
    }

    .about-text h2,
    .approach h2 {
        font-size: clamp(28px, 8vw, 42px);
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .works-container {
        padding: 0 16px;
    }

    .works-title {
        font-size: clamp(38px, 12vw, 64px);
    }

    .works-sub {
        font-size: 0.95rem;
        margin-top: 14px;
        margin-bottom: 40px;
    }

    .work-item {
        margin-bottom: 50px;
        gap: 30px;
    }

    .work-card {
        padding: 18px;
        gap: 20px;
        border-radius: 12px;
    }

    .work-text h2,
    .work-text h3 {
        font-size: clamp(24px, 7vw, 38px);
        margin-bottom: 10px;
    }

    .work-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .work-image {
        aspect-ratio: 16/10;
        border-radius: 8px;
    }

    .work-link {
        margin-top: 14px;
        font-size: 0.9rem;
    }

    .works-cta {
        margin-top: 50px;
        padding: 0 10px;
    }

    .works-btn {
        width: 100%;
        max-width: 280px;
    }

    .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 16px 22px;
    }

    .btn-outline.small {
        width: calc(50% - 8px);
        min-width: 140px;
        padding: 14px 18px;
    }

    .contact-title {
        font-size: clamp(34px, 11vw, 58px);
        line-height: 1.1;
    }

    .contact-sub {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .contact-links-secondary {
        width: 100%;
        gap: 14px;
    }

    .footer {
        padding: 28px 24px;
    }

    .footer-container {
        font-size: 0.8rem;
    }

    .case-gallery {
        grid-template-columns: 1fr;
    }

    .work-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 0;
    }

    .work-index {
        display: none;
    }

    .work-tag {
        font-size: 0.8rem;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */
@media (max-width: 480px) {

    .hero-title {
        font-size: clamp(42px, 17vw, 72px);
    }

    .works-title {
        font-size: clamp(34px, 13vw, 54px);
    }

    .contact-title {
        font-size: clamp(30px, 12vw, 48px);
    }

    .btn-outline.small {
        width: 100%;
    }

    .contact-links-secondary {
        flex-direction: column;
    }

    .work-card {
        padding: 16px;
    }

    .work-text h2,
    .work-text h3 {
        font-size: clamp(22px, 8vw, 32px);
    }
}

/* =========================================
   WORKS SLIDER / HORIZONTAL SHOWCASE
========================================= */
.works-slider {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.works-slider:active {
    cursor: grabbing;
}

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

.works-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding-right: 24px;
}

.work-slide {
    position: relative;
    display: block;
    min-width: 720px;
    width: 720px;
    height: 460px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    scroll-snap-align: start;
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.45s ease, border-color 0.45s ease;
}

.work-slide:hover {
    transform: translateY(-8px);
    border-color: rgba(59,130,246,0.35);
}

.work-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.work-media img,
.work-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.work-slide:hover .work-media img,
.work-slide:hover .work-media video {
    transform: scale(1.04);
}

.work-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.55) 45%,
        transparent 100%
    );
    z-index: 2;
}

.work-overlay h3 {
    font-size: clamp(26px, 2.6vw, 42px);
    margin-bottom: 10px;
    line-height: 1.15;
    max-width: 90%;
}

.work-overlay p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.78;
    max-width: 85%;
}

.work-slide .work-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.9rem;
    opacity: 0.75;
    transition: 0.3s ease;
}

.work-slide:hover .work-link {
    opacity: 1;
    transform: translateX(4px);
}


/* =========================================
   LARGE TABLET
========================================= */
@media (max-width: 1200px) {

    .work-slide {
        min-width: 620px;
        width: 620px;
        height: 410px;
    }

    .work-overlay {
        padding: 28px;
    }
}


/* =========================================
   TABLET
========================================= */
@media (max-width: 992px) {

    .works-track {
        gap: 22px;
    }

    .work-slide {
        min-width: 82vw;
        width: 82vw;
        height: 380px;
    }

    .work-overlay h3 {
        font-size: clamp(24px, 4vw, 36px);
    }

    .work-overlay p {
        font-size: 0.95rem;
        max-width: 100%;
    }
}


/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px) {

    .works-slider {
        padding: 8px 0 20px;
    }

    .works-track {
        gap: 18px;
    }

    .work-slide {
        min-width: 88vw;
        width: 88vw;
        height: 320px;
        border-radius: 14px;
    }

    .work-overlay {
        padding: 20px;
    }

    .work-overlay h3 {
        font-size: clamp(20px, 6vw, 30px);
        margin-bottom: 8px;
        max-width: 100%;
    }

    .work-overlay p {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .work-slide .work-link {
        margin-top: 10px;
        font-size: 0.85rem;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */
@media (max-width: 480px) {

    .work-slide {
        min-width: 92vw;
        width: 92vw;
        height: 280px;
    }

    .work-overlay {
        padding: 16px;
    }

    .work-overlay h3 {
        font-size: clamp(18px, 6.5vw, 24px);
    }

    .work-overlay p {
        font-size: 0.82rem;
    }
}