body {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.003em;
}

h1 {
    font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -1.6px;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

.staged {
    opacity: 0;
    transform: translateY(8px);
    animation: stage-in 0.46s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.stage-1 {
    animation-delay: 0.03s;
}

.stage-2 {
    animation-delay: 0.08s;
}

.stage-3 {
    animation-delay: 0.13s;
}

.stage-4 {
    animation-delay: 0.18s;
}

::selection {
    background: rgba(147, 169, 190, 0.26);
    color: #f6fbff;
}

header {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-left: 10px;
    background: linear-gradient(90deg, rgba(147, 169, 190, 0.42), rgba(147, 169, 190, 0.06) 70%, transparent);
}

.resource-item {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.social-links a {
    position: relative;
    padding-bottom: 2px;
}

.social-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(147, 169, 190, 0.95), rgba(147, 169, 190, 0.12));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.social-links a:hover::after,
.social-links a:focus-visible::after {
    transform: scaleX(1);
}

@keyframes stage-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .staged {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
