@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --text-primary: #111111;
    --text-secondary: #555555;
    --brand-accent: #47506d;
    --text-accent: var(--brand-accent);
    --neutral-subtle: #f4f4f6;
    --accent-warm: #f5ebe0;
    --accent-interactive: var(--brand-accent);
    --border-color: rgba(17, 17, 17, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --grid-gap: 2rem;
    --padding-side: 8%;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #181818;
        --text-primary: #f8f9fa;
        --text-secondary: #aaaaaa;
        --brand-accent: #47506d;
        --text-accent: #a2c2e8;
        --neutral-subtle: #1e293b;
        --accent-interactive: #b25329;
        --border-color: rgba(248, 249, 250, 0.15);
    }
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.02em;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-transform: lowercase;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

.micro-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: var(--text-accent);
    margin-bottom: 0.75rem;
    display: block;
}

.text-muted {
    color: var(--text-secondary);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--padding-side);
}

.divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 4rem 0;
}

.split-viewport {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

@media (max-width: 991px) {
    .split-viewport {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* Buttons and Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-solid {
    background-color: var(--accent-interactive);
    color: #ffffff;
}

.btn-solid:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-text {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.25rem;
}

.btn-text::after {
    content: '\2192';
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-text:hover::after {
    transform: translateX(5px);
}

/* Header styling */
.site-header {
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    z-index: 100;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo-link {
    display: flex;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--text-primary);
    opacity: 0.85;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-accent);
    opacity: 1;
}

.header-cta {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.menu-bar {
    width: 24px;
    height: 1px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 105;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }

    .menu-toggle.open .menu-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .menu-toggle.open .menu-bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open .menu-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .header-cta {
        display: none;
    }
}

/* Footer styling */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 3rem;
    margin-top: auto;
    background-color: var(--bg-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--grid-gap);
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    align-self: flex-start;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.greet-marketing-link {
    font-style: italic;
    color: var(--text-secondary);
    border-bottom: 1px dotted var(--border-color);
}

.greet-marketing-link:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Page Hero Layout (Shared across all subpages) */
.page-hero {
    padding: 0;
    border-bottom: 1px solid var(--border-color);
}
.page-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 40vh;
}
.page-hero-content {
    padding: 5rem var(--padding-side);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-primary);
}
.page-hero-image {
    border-left: 1px solid var(--border-color);
    min-height: 300px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
@media (max-width: 991px) {
    .page-hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .page-hero-image {
        min-height: 300px;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
}
