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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;
    --cream-50: #fafaf5;
    --cream-100: #f5f5f0;
    --cream-200: #e8e8e0;
    --cream-300: #d4d4cc;
    --ink-900: #0a0a08;
    --ink-800: #1a1a16;
    --ink-700: #2a2a24;
    --ink-600: #3a3a34;
    --ink-500: #5a5a52;
    --ink-400: #7a7a72;
    --ink-300: #9a9a92;
    --ink-200: #b8b8b0;
    --ink-100: #d4d4cc;
    --white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-700);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--emerald-900);
    color: var(--white);
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    font-size: 14px;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* ─── Header ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow 0.4s var(--ease-out-expo);
}

.header.scrolled {
    box-shadow: 0 1px 0 var(--cream-200);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--ink-900);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.logo-icon {
    color: var(--emerald-700);
}

.logo-light {
    color: var(--white);
}

.logo-light .logo-icon {
    color: var(--emerald-400);
}

/* ─── Nav ─── */
.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.875rem;
    color: var(--ink-500);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.01em;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: var(--ink-900);
    background: var(--cream-100);
}

.nav-cta {
    display: block;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    color: var(--emerald-700);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border: 1px solid var(--emerald-200);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-300);
}

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

.nav-toggle-line {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--ink-700);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out-expo);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 245, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 1.25rem 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid var(--cream-200);
        box-shadow: 0 20px 40px rgba(0,0,0,0.06);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s var(--ease-out-expo);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: 0.75rem 0.875rem;
        font-size: 15px;
        width: 100%;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 15px;
    }
}

/* ─── Hero ─── */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--emerald-50) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

.hero-card {
    max-width: 680px;
    padding: 3rem;
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 16px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-400);
    margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--emerald-500);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-title em {
    font-style: italic;
    color: var(--emerald-700);
}

.hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink-500);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--emerald-700);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number .stat-unit {
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 400;
}

.stat-card svg {
    color: var(--emerald-600);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-400);
}

@media (min-width: 768px) {
    .hero {
        padding-top: 160px;
        padding-bottom: 100px;
    }

    .hero .container {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }

    .hero-card {
        padding: 3.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-card {
        padding: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1rem 1.25rem;
    }

    .stat-number {
        margin-bottom: 0;
    }
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out-expo);
}

.btn-primary {
    background: var(--emerald-800);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(6, 78, 59, 0.2);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(6, 78, 59, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--ink-700);
    border: 1px solid var(--cream-300);
}

.btn-outline:hover {
    border-color: var(--ink-300);
    background: var(--cream-100);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink-700);
    border: 1px solid var(--cream-300);
}

.btn-outline-dark:hover {
    border-color: var(--ink-300);
    background: var(--cream-100);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ─── Dividers ─── */
.divider {
    padding: 0 2rem;
}

.divider .divider-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--cream-200);
}

/* ─── Section shared ─── */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink-900);
    letter-spacing: -0.02em;
}

/* ─── Services ─── */
.services {
    padding: 6rem 0;
    background: var(--cream-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.service-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    transition: all 0.35s var(--ease-out-expo);
}

.service-card:hover {
    border-color: var(--emerald-200);
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    margin-bottom: 1.25rem;
}

.service-title {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--ink-900);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-500);
}

@media (max-width: 640px) {
    .services {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── About ─── */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--cream-200);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out-expo);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content {
    max-width: 520px;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink-500);
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--ink-600);
}

.about-feature svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .about {
        padding: 8rem 0;
    }

    .about-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 4rem;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 4rem 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ─── Why Us ─── */
.why-us {
    padding: 6rem 0;
    background: var(--cream-50);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.why-card {
    padding: 2.25rem;
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    transition: all 0.35s var(--ease-out-expo);
}

.why-card:hover {
    border-color: var(--emerald-200);
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}

.why-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--emerald-100);
    line-height: 1;
    margin-bottom: 1rem;
}

.why-title {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--ink-900);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

.why-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-500);
}

/* ─── CTA Section ─── */
.cta-section {
    padding: 6rem 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card {
    text-align: center;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cta-card .section-eyebrow {
    color: var(--emerald-400);
}

.cta-card .section-title {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--emerald-100);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.cta-actions .btn-outline-dark {
    border-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.cta-actions .btn-outline-dark:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
}

@media (max-width: 640px) {
    .cta-section {
        padding: 4rem 0;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ─── Contact ─── */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-500);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail svg {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-400);
    margin-bottom: 0.25rem;
}

.contact-value {
    display: block;
    font-size: 15px;
    color: var(--ink-700);
    text-decoration: none;
    line-height: 1.6;
}

.contact-value:hover {
    color: var(--emerald-700);
}

/* ─── Form ─── */
.contact-form-wrapper {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.form-input {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-900);
    background: var(--white);
    border: 1px solid var(--cream-300);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--ink-300);
}

.form-input:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7a72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: 8px;
    color: var(--emerald-800);
    font-size: 14px;
    font-weight: 500;
}

.form-success svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 4rem 0;
    }
}

@media (min-width: 768px) {
    .contact {
        padding: 8rem 0;
    }

    .contact-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 4rem;
        align-items: start;
    }
}

/* ─── Footer ─── */
.footer {
    background: var(--ink-900);
    color: var(--ink-400);
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-500);
    margin-top: 0.75rem;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer-links a {
    color: var(--ink-400);
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 2rem;
    font-size: 13px;
    color: var(--ink-600);
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .footer-bottom {
        justify-content: space-between;
    }
}

/* ─── Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
