@font-face {
    font-family: 'Ageo';
    src: url('../fonts/Ageo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cornea';
    src: url('../fonts/Cornea.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* VIBRANT BRIGHT THEME (High-Contrast & Colorful) */
    --bg-dark: #FFFFFF;
    --bg-surface: #F8F9FA;
    --bg-surface-rgb: 248, 249, 250;

    /* Hyper-Vibrant Palette */
    --cyan: #00E5FF;
    --slime-lime: #aeff00;
    --lime-yellow: #e0ff20;
    --orange: #ffa500;
    --shocking-pink: #ff1eb7;

    /* Accessible Vibrant Accents */
    --accent-pink: #D81B60;
    --accent-cyan: #007B8A;
    --accent-purple: #7B1FA2;
    --accent-blue: #1A73E8;
    --accent-glow: rgba(0, 229, 255, 0.1);

    /* Decorative Vibrancy */
    --vibrant-pink: var(--shocking-pink);
    --vibrant-cyan: var(--cyan);
    --vibrant-yellow: var(--lime-yellow);

    /* Neon Aliases */
    --neon-cyan: var(--cyan);
    --neon-pink: var(--shocking-pink);
    --neon-purple: var(--accent-purple);

    /* Typography Palette */
    --text-main: #111827;
    --text-secondary: #374151;
    --text-muted: #5E6A7E;
    --text-editorial: #1F2937;
    --soft-white: #111827;
    /* Inverted for light theme */

    /* Border & Elevation */
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(216, 27, 96, 0.2);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--shocking-pink) 0%, var(--orange) 100%);
    --grad-secondary: linear-gradient(135deg, var(--cyan) 0%, var(--accent-purple) 100%);
    --grad-vibrant: linear-gradient(90deg, var(--shocking-pink), var(--orange), var(--slime-lime), var(--cyan));

    --transition-base: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Ageo', sans-serif;
    --font-body: 'Ageo', sans-serif;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Bright Vibrant Mesh Background */
    background-image:
        radial-gradient(at 0% 0%, rgba(255, 0, 122, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 229, 255, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(157, 0, 255, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 230, 0, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
    font-weight: 800;
    line-height: 1.1;
    color: var(--soft-white);
}

.editorial-text {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: var(--text-editorial);
    font-weight: 400;
}

.lead {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-main);
}

.bg-warm-black {
    background-color: var(--warm-black);
}

.bg-vibrant-deep {
    background-color: #1a1b3a;
}

.bg-surface-tint {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

/* Cinematic accent utilities */
.text-accent-blue {
    color: var(--accent-blue) !important;
}

.text-accent-cyan {
    color: var(--accent-cyan) !important;
}

.text-accent-violet {
    color: var(--accent-violet) !important;
}

.text-neon-cyan {
    color: var(--neon-cyan) !important;
}

.text-neon-pink {
    color: var(--neon-pink) !important;
}

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

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

.transition-base {
    transition: var(--transition-base);
}

.text-soft-white {
    color: var(--soft-white);
}

.text-muted {
    color: var(--text-muted) !important;
}

.ls-tight {
    letter-spacing: -0.03em;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

.x-small {
    font-size: 0.65rem;
}

/* Header / Capsule Nav */
#global-header {
    transition: var(--transition-base);
    z-index: 1050;
}

#global-header.scrolled {
    padding-top: 10px !important;
}

#global-header.scrolled .nav-capsule {
    background: rgba(10, 10, 10, 0.85);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--neon-cyan);
}

#global-header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

#global-header.scrolled .nav-link:hover {
    color: var(--neon-cyan) !important;
}

#global-header.scrolled .subtitle {
    color: var(--neon-cyan);
}

#global-header.scrolled .navbar-toggler-icon {
    filter: invert(1);
}

.nav-capsule {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    padding: 10px 32px;
    border: 1px solid var(--border-subtle);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.wordmark {
    font-family: 'Cornea', var(--font-heading), sans-serif;
    font-size: 1.4rem;
    font-weight: normal;
    background: var(--grad-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
}

.subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent-cyan);
    text-transform: uppercase;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary) !important;
    padding: 10px 20px !important;
    position: relative;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent-pink);
    transform: scaleX(0);
    transition: var(--transition-base);
    transform-origin: right;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--accent-pink) !important;
}

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

.navbar-toggler-icon {
    filter: none;
}

@media (max-width: 991px) {
    .nav-capsule {
        padding: 15px 20px;
        border-radius: 0;
        margin: 0;
        border-left: none;
        border-right: none;
        border-top: none;
    }

    #global-header {
        padding: 0 !important;
    }

    .navbar-collapse {
        background: #FFFFFF;
        margin: 10px -20px -15px -20px;
        padding: 25px;
        border-radius: 20px;
        border: 1px solid var(--border-subtle);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    }

    .navbar-nav {
        text-align: center;
        padding: 10px 0;
    }

    .nav-link {
        padding: 12px !important;
        font-size: 1.1rem;
    }
}

.sun-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    margin-left: 10px;
    opacity: 0.8;
}

.btn-skeuo {
    --white: #ffe7ff;
    --bg: #0a0a0a;
    --radius: 100px;
    display: inline-block;
    width: 60%;
    max-width: 900px;
    outline: none;
    cursor: pointer;
    border: 0;
    position: relative;
    border-radius: var(--radius);
    background-color: var(--bg);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    transform: rotate(-2deg);
    box-shadow:
        inset 0 0.3rem 0.9rem rgba(255, 30, 183, 0.2),
        inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.8),
        inset 0 -0.4rem 0.9rem rgba(255, 165, 0, 0.15),
        0 3rem 3rem rgba(255, 30, 183, 0.08),
        0 1rem 1rem -0.6rem rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 30, 183, 0.25);
}

.btn-skeuo .wrap {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 40px;
    border-radius: inherit;
    position: relative;
    overflow: hidden;
}

.btn-skeuo .wrap p span:nth-child(2) {
    display: none;
}

.btn-skeuo:hover .wrap p span:nth-child(1) {
    display: none;
}

.btn-skeuo:hover .wrap p span:nth-child(2) {
    display: inline-block;
}

.btn-skeuo .wrap p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    transition: all 0.2s ease;
    transform: translateY(2%);
    mask-image: linear-gradient(to bottom, white 40%, transparent);
}

.btn-skeuo .wrap::before,
.btn-skeuo .wrap::after {
    content: "";
    position: absolute;
    transition: all 0.3s ease;
}

.btn-skeuo .wrap::before {
    left: -15%;
    right: -15%;
    bottom: 25%;
    top: -100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
}

.btn-skeuo .wrap::after {
    left: 6%;
    right: 6%;
    top: 12%;
    bottom: 40%;
    border-radius: 22px 22px 0 0;
    box-shadow: inset 0 10px 8px -10px rgba(255, 255, 255, 0.8);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0) 100%);
}

.btn-skeuo:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        inset 0 0.3rem 0.5rem rgba(255, 30, 183, 0.35),
        inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.8),
        inset 0 -0.4rem 0.9rem rgba(255, 165, 0, 0.25),
        0 3rem 3rem rgba(255, 30, 183, 0.15),
        0 1rem 1rem -0.6rem rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 30, 183, 0.5);
}

.btn-skeuo:hover .wrap::before {
    transform: translateY(-2%);
}

.btn-skeuo:hover .wrap::after {
    opacity: 0.3;
    transform: translateY(2%);
}

.btn-skeuo:hover .wrap p {
    transform: translateY(-1%);
}

.btn-skeuo:active {
    transform: translateY(4px);
    box-shadow:
        inset 0 0.3rem 0.5rem rgba(255, 31, 142, 0.4),
        inset 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.9),
        inset 0 -0.4rem 0.9rem rgba(255, 230, 0, 0.2),
        0 0 0 rgba(0, 0, 0, 0),
        0 0.5rem 1rem -0.6rem rgba(0, 0, 0, 0.9);
}

.handwritten-note {
    font-family: 'Covered By Your Grace', cursive;
    font-size: 1.5rem;
    color: #888;
    transform: rotate(-3deg);
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 48px;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    background: var(--grad-primary);
    padding: 0 24px;
    text-decoration: none;
    border: none;
    box-shadow: 0 10px 20px rgba(255, 0, 122, 0.2);
}

.btn-dark:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 0, 122, 0.4);
}

.btn-dark span {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* Theme Toggle Button removed */

.btn-link:hover {
    opacity: 1;
    color: var(--neon-cyan) !important;
    transform: translateX(5px);
}

.btn-outline-soft {
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-base);
    backdrop-filter: blur(8px);
}

.btn-outline-soft:hover,
.btn-outline-soft.active {
    background: var(--grad-vibrant);
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Hero Section V2 */
.hero-v2 {
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg-dark);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--soft-white);
    overflow-x: hidden;
}

/* Grain & BG Effect */
.hero-v2::before,
.hero-v2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-v2::after {
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.9) contrast(1.0);
    z-index: 0;
    animation: cinematicHero 60s linear infinite alternate;
}

@keyframes cinematicHero {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1);
    }
}

.hero-v2::before {
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.12;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 12vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Scroll Indicator */
.scroll-indicator-wrap {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-pill {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scrollMove 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollMove {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.hero-sub-text {
    padding-left: 0;
    max-width: 800px;
    color: var(--soft-white);
}

.hero-sub-text .tracking-widest {
    color: var(--accent-cyan);
    font-weight: 800;
}

.hero-sub-text .lead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 550px;
}

.hero-sub-text b {
    color: var(--accent-pink);
    font-weight: 700;
}

.massive-title {
    font-size: clamp(3rem, 11.5vw, 18rem);
    font-weight: normal;
    line-height: 1.05;
    letter-spacing: 0.04em;
    margin-top: auto;
    margin-bottom: 0;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'Cornea', var(--font-body), sans-serif;
    background: var(--grad-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 20;
    position: relative;
    display: block;
    opacity: 0;
    animation: cinematicFadeIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
    text-shadow: 0 10px 40px rgba(0, 229, 255, 0.05);
}

@keyframes cinematicFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lottie-sunflare-container {
    opacity: 0.4;
    mix-blend-mode: overlay;
}

@media (max-width: 992px) {
    .massive-title {
        font-size: 11vw;
    }
}

@media (max-width: 768px) {
    .hero-v2 {
        justify-content: flex-start;
        padding-bottom: 60px;
    }

    .hero-content {
        padding-top: 120px;
        min-height: auto;
    }

    .massive-title {
        white-space: normal;
        font-size: clamp(2.8rem, 12vw, 4.5rem);
        line-height: 1;
        letter-spacing: 0.01em;
        margin-top: 4rem;
        opacity: 1 !important; /* Ensure visibility on mobile if reveal is stuck */
    }

    .hero-sub-text {
        padding-left: 20px;
        margin-bottom: 2rem;
    }
}



/* Cards */
/* Featured Work Cards (Uiverse.io inspired) */
.featured-card {
    width: 100%;
    border-radius: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-pink);
}

.featured-card a {
    text-decoration: none;
}

.featured-card .content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.featured-card .image {
    object-fit: cover;
    width: 100%;
    height: 240px;
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.featured-card .image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(11, 15, 20, 0.8));
}

.featured-card .title {
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 700;
    display: block;
}

.featured-card .desc {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.featured-card .action {
    display: inline-flex;
    margin-top: auto;
    color: var(--accent-blue);
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    align-items: center;
    gap: 0.5rem;
    background: rgba(110, 168, 254, 0.05);
    border: 1px solid rgba(110, 168, 254, 0.2);
    padding: 10px 24px;
    border-radius: 100px;
    width: fit-content;
    transition: var(--transition-base);
}

.featured-card .action:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.featured-card .action span {
    transition: .3s ease;
}

.featured-card .action:hover span {
    transform: translateX(4px);
}

/* Editorial Cards (Legacy/Other) */
.editorial-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    transition: var(--transition-base);
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.editorial-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Utilities */
.opacity-60 {
    opacity: 0.6;
}

.opacity-10 {
    opacity: 0.1;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.utility-row a {
    transition: var(--transition-base);
}

.utility-row a:hover {
    opacity: 1 !important;
    color: #000 !important;
}

/* Sections */
.section-padding {
    padding: 160px 0;
}

.hover-lift {
    transition: var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Form Accessibility & Crazy Input */
.crazy-input {
    background-color: rgba(0, 0, 0, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: var(--text-main) !important;
    padding: 1.5rem 2rem !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

textarea.crazy-input {
    border-radius: 24px !important;
}

.crazy-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 300;
}

.crazy-input:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 123, 138, 0.2) !important;
    transform: translateY(-2px);
}

.crazy-input:focus {
    background-color: rgba(255, 255, 255, 1) !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 10px 40px rgba(0, 123, 138, 0.1) !important;
    transform: translateY(-4px);
    outline: none;
}

.form-select.crazy-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23007B8A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right 1.5rem center !important;
    background-size: 16px 12px !important;
}

.form-select option {
    background: #fff;
    color: #111;
}

/* Hover States */
.hover-neon-cyan:hover {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 12px rgba(0, 245, 255, 0.3);
}

.hover-neon-pink:hover {
    color: var(--neon-pink) !important;
    text-shadow: 0 0 12px rgba(255, 30, 183, 0.3);
}

.hover-neon-purple:hover {
    color: var(--neon-purple) !important;
    text-shadow: 0 0 12px rgba(157, 0, 255, 0.3);
}


/* Section Title Refinement */
.section-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    display: block;
}

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

.logo-grid.monochrome .h6 {
    transition: var(--transition-base);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.logo-grid.monochrome div:hover .h6 {
    opacity: 0.8 !important;
}

.institution-logo:hover {
    filter: grayscale(0) !important;
    opacity: 1 !important;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
    will-change: transform, opacity;
}

.reveal.active,
.hero-v2 .reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle Hover States */
.hover-subtle {
    transition: var(--transition-base);
}

.hover-subtle:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Work Gallery (Staggered Grid) */
.work-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.work-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.work-item:nth-child(even) {
    margin-top: 120px;
}

.work-img-wrapper {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transition: var(--transition-base);
}

.work-img-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.work-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.9;
    transition: var(--transition-base);
}

.work-img-wrapper:hover img {
    opacity: 1;
}

.work-meta {
    padding-left: 5px;
}

.work-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--soft-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
    transition: var(--transition-base);
}

.work-title i {
    color: var(--neon-cyan);
}

.work-title:hover {
    color: var(--neon-pink);
    gap: 12px;
}

.work-category {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

@media (max-width: 991px) {
    .work-gallery {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .work-item:nth-child(even) {
        margin-top: 0;
    }
}

/* Publication Cards (Insights) */
.publication-card {
    transition: var(--transition-base);
}

.publication-card:hover {
    transform: translateY(-5px);
}

.publication-card h3 a {
    color: var(--text-main);
    transition: var(--transition-base);
}

.publication-card:hover h3 a {
    color: var(--accent-cyan);
}

.publication-card .small {
    color: var(--text-muted);
}

/* Custom Preloader Overlay */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* From Uiverse.io by mobinkakei */
.loader {
    --path: var(--text-main);
    --dot: var(--neon-cyan);
    --duration: 3s;
    width: 44px;
    height: 44px;
    position: relative;
    display: inline-block;
    margin: 0 16px;
}

.loader:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    display: block;
    background: var(--dot);
    top: 37px;
    left: 19px;
    transform: translate(-18px, -18px);
    animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg {
    display: block;
    width: 100%;
    height: 100%;
}

.loader svg rect,
.loader svg polygon,
.loader svg circle {
    fill: none;
    stroke: var(--path);
    stroke-width: 10px;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.loader svg polygon {
    stroke-dasharray: 145 76 145 76;
    stroke-dashoffset: 0;
    animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg rect {
    stroke-dasharray: 192 64 192 64;
    stroke-dashoffset: 0;
    animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg circle {
    stroke-dasharray: 150 50 150 50;
    stroke-dashoffset: 75;
    animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader.triangle {
    width: 48px;
}

.loader.triangle:before {
    left: 21px;
    transform: translate(-10px, -18px);
    animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

@keyframes pathTriangle {
    33% {
        stroke-dashoffset: 74;
    }

    66% {
        stroke-dashoffset: 147;
    }

    100% {
        stroke-dashoffset: 221;
    }
}

@keyframes dotTriangle {
    33% {
        transform: translate(0, 0);
    }

    66% {
        transform: translate(10px, -18px);
    }

    100% {
        transform: translate(-10px, -18px);
    }
}

@keyframes pathRect {
    25% {
        stroke-dashoffset: 64;
    }

    50% {
        stroke-dashoffset: 128;
    }

    75% {
        stroke-dashoffset: 192;
    }

    100% {
        stroke-dashoffset: 256;
    }
}

@keyframes dotRect {
    25% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(18px, -18px);
    }

    75% {
        transform: translate(0, -36px);
    }

    100% {
        transform: translate(-18px, -18px);
    }
}

@keyframes pathCircle {
    25% {
        stroke-dashoffset: 125;
    }

    50% {
        stroke-dashoffset: 175;
    }

    75% {
        stroke-dashoffset: 225;
    }

    100% {
        stroke-dashoffset: 275;
    }
}