/* AXIOM Collective — Shared Styles */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

::selection {
    background: rgba(212, 175, 55, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF8F3;
}
::-webkit-scrollbar-thumb {
    background: #183A2B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}
.dark ::-webkit-scrollbar-track {
    background: #0F261C;
}
.dark ::-webkit-scrollbar-thumb {
    background: #D4AF37;
}

/* Gold gradient text */
.gold-gradient-text {
    background: linear-gradient(to right, #D4AF37, #F3E5AB, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Metallic text for case studies */
.metallic-text {
    background: linear-gradient(to right, #B8941E, #D4AF37, #E5C76B, #D4AF37, #B8941E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grain overlay */
.grain-overlay {
    position: relative;
}
.grain-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    z-index: 10;
}

/* Timeline line (methodology page) */
.timeline-line {
    position: relative;
}
.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
}
.dark .timeline-line::before {
    background: #1e293b;
}

/* Card hover zoom (case studies) */
.card-hover-zoom {
    transition: transform 0.5s ease;
}
.group:hover .card-hover-zoom {
    transform: scale(1.05);
}

/* Watermark (about page) */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    width: 80%;
}
