/* C21 Masters — shared styles, animations & micro-interactions */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.material-symbols-outlined[data-weight="fill"] {
    font-variation-settings: 'FILL' 1;
}

body {
    min-height: max(884px, 100dvh);
}

html {
    scroll-behavior: smooth;
}

/* ---- Hero slow zoom ---- */
@keyframes slowZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* ---- Scroll reveal ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger helper — set as inline style --d on the element */
[data-reveal] { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .animate-\[slowZoom_20s_ease-in-out_infinite_alternate\] { animation: none !important; }
}

/* ---- Gold gradient text accent ---- */
.text-gold-gradient {
    background: linear-gradient(120deg, #ffdea5 0%, #C5A059 50%, #775a19 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---- Animated gold underline link ---- */
.link-underline {
    position: relative;
}
.link-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: #C5A059;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---- Card lift on hover ---- */
.card-lift {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s ease,
                background-color 0.5s ease;
}
.card-lift:hover {
    transform: translateY(-6px);
}

/* ---- Header shadow once scrolled ---- */
header.is-scrolled {
    box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.8);
}

/* ---- Custom scrollbar (desktop) ---- */
@media (pointer: fine) {
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: #0c0f0f; }
    ::-webkit-scrollbar-thumb {
        background: #2f2a20;
        border: 2px solid #0c0f0f;
    }
    ::-webkit-scrollbar-thumb:hover { background: #C5A059; }
}

/* ---- Marquee for partner / trust strip ---- */
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-track {
    animation: marquee 30s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}
