/* =============================================
   BASE — Reset, Variables, Typography, Utilities
   ============================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors — warm luxury palette */
    --black: #0a0a0a;
    --white: #fafafa;
    --cream: #f5f2ed;
    --stone: #e8e4de;
    --mid: #8a8580;
    --dark: #555550;
    --gold: #b8a88a;

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Raleway', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --trans: all 0.5s var(--ease);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--black);
    font-family: var(--font-sans);
    font-weight: 300;
    font-variant-numeric: lining-nums;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--black);
}

/* Shared section styles */
.section-label {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-title em {
    font-style: italic;
}

.section-body {
    font-size: 0.88rem;
    line-height: 2;
    color: var(--dark);
    max-width: 520px;
}

.section-body p + p {
    margin-top: 1rem;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section divider ornament */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--stone);
}

.section-divider span {
    font-size: 0.5rem;
    color: var(--gold);
    line-height: 1;
}