@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');
@import "tailwindcss";

@theme {
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --color-ink: #1F2330;
    --color-terracotta: #C2552E;
    --color-terracotta-light: #E27A52;
    --color-clay: #8F3B1F;
    --color-sand: #F5F0E8;
    --color-stone: #D9D4CA;
    --color-warm-grey: #6B6760;
    --color-slate: #4A5064;
    --color-ochre: #D9A441;
    --color-sage: #7A8F7B;
}

:root {
    --color-ink: #1F2330;
    --color-terracotta: #C2552E;
    --color-sand: #F5F0E8;
    --color-stone: #D9D4CA;
    --color-warm-grey: #6B6760;
    --color-slate: #4A5064;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-sand);
    color: var(--color-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.font-mono-tag {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F0E8;
}
::-webkit-scrollbar-thumb {
    background: #D9D4CA;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6B6760;
}

/* Growth Spiral Animation */
@keyframes spiralDraw {
    0% {
        stroke-dashoffset: 1200;
        opacity: 0.2;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.animate-growth-spiral {
    stroke-dasharray: 1200;
    animation: spiralDraw 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Subtle card hover lift */
.card-hover {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -8px rgba(31, 35, 48, 0.08);
}

/* ----------------------------------------------------
   Signature ELADAMIS Bespoke Artwork Components
   ---------------------------------------------------- */

.hero-art-widget {
    background: #1F2330;
    color: #F5F0E8;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(31, 35, 48, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-art-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #4A5064;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #D9D4CA;
}

.growth-visual-stage {
    position: relative;
    flex: 1;
    min-height: 340px;
}

.growth-visual-stage svg {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    color: #C2552E;
}

.visual-badge {
    position: absolute;
    color: #F5F0E8;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(31, 35, 48, 0.7);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.badge-strategy { left: 4%; top: 76%; }
.badge-creative { left: 10%; top: 40%; }
.badge-digital  { right: 6%; top: 36%; }
.badge-growth   { right: 2%; top: 12%; }

.visual-headline {
    position: absolute;
    left: 0;
    top: 8%;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-weight: 400;
}
.visual-headline strong {
    font-weight: 700;
    color: #FFFFFF;
}

.hero-art-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 18px;
    border-top: 1px solid #4A5064;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #D9D4CA;
}
.hero-art-bottom .arrow {
    font-size: 2.2rem;
    line-height: 1;
    color: #C2552E;
    font-weight: 300;
}

/* Project Cards Signature Art Boxes */
.project-art-canvas {
    min-height: 340px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .project-art-canvas {
    transform: translateY(-4px);
}

.project-art-event {
    background: #C2552E;
    color: #FFFFFF;
}
.project-art-event .art-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 700;
    margin-block: 28px;
}
.event-tag-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.event-tag-chips span {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
}

.project-art-identity {
    background: #D9D4CA;
    color: #1F2330;
}
.identity-quote-frame {
    border: 1.5px solid rgba(107, 103, 96, 0.35);
    padding: 24px 28px;
    margin-block: 16px;
    position: relative;
    background: rgba(245, 240, 232, 0.6);
    border-radius: 0.5rem;
}
.identity-quote-frame > span {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.3rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 700;
}
.identity-quote-frame i {
    color: #C2552E;
    font-style: normal;
}
.identity-top-line {
    width: 36px;
    height: 3px;
    background: #C2552E;
    position: absolute;
    top: 18px;
    right: 18px;
}

.project-art-workflow {
    background: #1F2330;
    color: #F5F0E8;
}
.workflow-step-nodes {
    width: 100%;
    max-width: 280px;
    margin: 16px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.workflow-step-nodes > span {
    padding: 10px 16px;
    width: 100%;
    border: 1px solid #4A5064;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.workflow-step-nodes b {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: #FFFFFF;
}
.workflow-step-nodes i {
    color: #E27A52;
    font-style: normal;
    font-weight: bold;
    font-size: 0.9rem;
}

.art-caption-footer {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

/* ----------------------------------------------------
   Modern Micro-Animations & Scroll Reveal System
   ---------------------------------------------------- */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

@keyframes pulseTerracotta {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(194, 85, 46, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(194, 85, 46, 0);
    }
}

.animate-pulse-glow {
    animation: pulseTerracotta 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Project Showcase Image Cards */
.project-card-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #1F2330;
}

.project-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.group:hover .project-card-visual img {
    transform: scale(1.06);
}

.project-card-visual .visual-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 35, 48, 0.1) 0%, rgba(31, 35, 48, 0.75) 100%);
    transition: opacity 0.4s ease;
}

.group:hover .project-card-visual .visual-scrim {
    opacity: 0.85;
}

.project-card-visual .badge-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    background: rgba(31, 35, 48, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #F5F0E8;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 9999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Shimmer Highlight */
.shimmer-hover {
    position: relative;
    overflow: hidden;
}
.shimmer-hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
    transform: rotate(25deg) translateY(-100%);
    transition: transform 0.8s ease;
}
.shimmer-hover:hover::after {
    transform: rotate(25deg) translateY(100%);
}

