/* ===== DESIGN TOKENS ===== */
:root {
    --stone: #d8d1c6;
    --stone-light: #ece8e1;
    --stone-lighter: #f5f3ef;
    --maroon: #800000;
    --maroon-dark: #5c0000;
    --black: #111;
    --dark-gray: #2a2a2a;
    --mid-gray: #555;
    --light-gray: #888;
    --white: #fff;
    --cream: #faf8f5;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, .1);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--dark-gray);
    background: var(--cream);
    line-height: 1.7;
    font-size: 20px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .3s;
}

ul {
    list-style: none;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    color: var(--black);
}

h2 {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    color: var(--black);
}

h3 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    color: var(--dark-gray);
}

h4 {
    font-size: 1.35rem;
    color: var(--dark-gray);
}

.section-label {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--maroon);
    margin-bottom: 12px;
    display: block;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--mid-gray);
    max-width: 640px;
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-primary {
    background: var(--maroon);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(128, 0, 0, .3);
}

/* Applied via JS on form submit success */
.btn-primary.btn-sent {
    background: #2a6a2a;
}

.btn-outline {
    background: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--dark-gray);
}

.btn-outline:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background: rgba(255, 255, 255, .15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(4px);
}

.btn-light:hover {
    background: var(--white);
    color: var(--maroon);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, .92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    transition: all .3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--mid-gray);
    transition: color .3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--maroon);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--maroon);
    transition: width .3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta .btn {
    padding: 12px 28px;
    font-size: .95rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all .3s;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children .fade-up:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children .fade-up:nth-child(2) {
    transition-delay: .1s;
}

.stagger-children .fade-up:nth-child(3) {
    transition-delay: .15s;
}

.stagger-children .fade-up:nth-child(4) {
    transition-delay: .2s;
}

/* ===== RESPONSIVE — navbar only ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta .btn-outline {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        padding: 24px;
        border-bottom: 1px solid rgba(0, 0, 0, .06);
        box-shadow: var(--shadow-md);
    }

}