@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');

:root {
    /* Colors */
    --bg-color: #fafafa;
    /* Light neutral off-white */
    --surface-color: #ffffff;
    /* Pure white for cards */
    --text-primary: #1a1a1a;
    /* Near black for headings */
    --text-secondary: #555555;
    /* Dark gray for body */
    --accent-color: #9e4f3b;
    /* Restrained Rust/Clay - Editorial Accent */
    --border-color: #e0e0e0;

    /* Spacing */
    --container-width: 1100px;
    /* Editorial width, not too wide */
    --header-height: 80px;
    --spacing-section: 100px;
    --spacing-element: 24px;

    /* Typography */
    --font-heading: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* Shadows & Transitions */
    --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.02);
    --transition-fast: 0.2s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2 {
    font-family: 'Newsreader', serif;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
    /* Regular weight for Newsreader can be 400 or 500, 600 makes it sturdy */
}

h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--accent-color);
}

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

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

.section {
    padding: 120px 0;
    /* Consistent large section spacing */
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Typography Hierarchy */
h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    font-weight: 600;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Lists (Editorial Bullets) */
ul {
    list-style: none;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.6;
}

ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Header & Nav */
header {
    background-color: var(--bg-color);
    /* Matches body */
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    /* Keep minimal */
    position: sticky;
    top: 0;
    z-index: 1000;
}

header.scrolled {
    border-color: var(--border-color);
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(5px);
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 40px;
    /* Adjust based on preference */
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding: 0;
    z-index: 1002;
    /* Above nav */
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--text-primary);
    /* Darken on hover */
    color: #fff;
    transform: translateY(-1px);
}

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

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    max-width: 900px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
    margin-top: 40px;
}

/* Cards (Pillars/Services) */
/* Cards (Pillars/Services) */
.card {
    background: var(--surface-color);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    /* Minimal radius */
    transition: all var(--transition-fast);
}

.card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.card h3 {
    margin-bottom: 20px;
}

.card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .header-inner {
        position: relative;
        justify-content: space-between;
        align-items: center;
        /* Ensure vertical center */
        height: 100%;
    }

    /* Show Hamburger */
    .mobile-toggle {
        display: flex;
    }

    /* Mobile Nav Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        /* Below toggle, above content */
        margin: 0;
        padding: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        /* Larger for touch */
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }
}