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

:root {
    --emerald: #166534;
    --emerald-dark: #0f4a26;
    --emerald-light: #1a7a3f;
    --cream: #faf8f4;
    --cream-dark: #f0ece4;
    --cream-mid: #e8e2d6;
    --text-dark: #1a1a1a;
    --text-mid: #3a3a3a;
    --text-light: #6b6b6b;
    --text-inverse: #f5f5f0;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, Helvetica, Arial, sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); font-weight: 400; }

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

.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--emerald); color: #fff;
    padding: 0.5rem 1rem; z-index: 200;
    font-size: 0.875rem; border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

/* ── Typography ───────────────────────────────────── */
.label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald);
    font-weight: 500;
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.section-header { margin-bottom: 4rem; }
.section-header h2 { max-width: 480px; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald);
    color: #fff;
    border: 1px solid var(--emerald);
}
.btn-primary:hover { background: var(--emerald-dark); border-color: var(--emerald-dark); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-light {
    background: #fff;
    color: var(--emerald);
    border: 1px solid #fff;
}
.btn-light:hover { background: var(--cream-dark); }

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { border-color: #fff; }

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

/* ── Nav ──────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 2rem;
    transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
    background: rgba(250,248,244,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav.scrolled .nav-brand-text { color: var(--text-dark); }
.nav.scrolled .nav-cta { color: var(--emerald); }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.01em;
    transition: color 0.4s;
}
.nav-brand-mark { color: var(--emerald-light); }
.nav.scrolled .nav-brand-mark { color: var(--emerald); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease-out);
}
.nav-menu a:hover::after { width: 100%; }
.nav.scrolled .nav-menu a { color: var(--text-mid); }
.nav.scrolled .nav-menu a:hover { color: var(--emerald); }

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.9) !important;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    transition: all 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.nav.scrolled .nav-cta {
    color: var(--emerald) !important;
    border-color: var(--emerald);
}
.nav.scrolled .nav-cta:hover { background: var(--emerald); color: #fff; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 110;
}
.nav-toggle-line {
    width: 22px; height: 1.5px;
    background: #fff;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}
.nav.scrolled .nav-toggle-line { background: var(--text-dark); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 30, 14, 0.55) 0%,
        rgba(10, 30, 14, 0.40) 50%,
        rgba(10, 30, 14, 0.70) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 80px;
}
.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.01em;
    max-width: 820px;
    margin-bottom: 1.5rem;
}
.hero-sub {
    font-size: clamp(1rem, 1.2vw, 1.1875rem);
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hero-scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ── Intro ────────────────────────────────────────── */
.intro { padding: 8rem 0; }
.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.intro-text h2 { margin-bottom: 1.5rem; }
.intro-text p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.intro-image {
    overflow: hidden;
    border-radius: 2px;
}
.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    aspect-ratio: 3/4;
}

/* ── Services ─────────────────────────────────────── */
.services {
    padding: 8rem 0;
    background: var(--cream-dark);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0,0,0,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.service-card {
    background: var(--cream-dark);
    padding: 2.5rem 2rem;
    transition: background 0.3s;
    position: relative;
}
.service-card:hover { background: #fff; }
.service-number {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--emerald);
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}
.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    line-height: 1.3;
}
.service-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

/* ── Gallery ──────────────────────────────────────── */
.gallery { padding: 8rem 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    aspect-ratio: 7/5;
    transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: #fff;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s var(--ease-out);
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ── Process ──────────────────────────────────────── */
.process {
    padding: 8rem 0;
    background: var(--emerald);
    color: #fff;
}
.process .label { color: rgba(255,255,255,0.5); }
.process .section-header h2 { color: #fff; }
.process-steps {
    max-width: 720px;
    margin: 0 auto;
}
.process-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.5rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.process-step:first-child { padding-top: 0; }
.process-step:last-child { border-bottom: none; }
.step-num {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    padding-top: 0.15em;
}
.step-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.625rem;
    line-height: 1.3;
}
.step-content p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-weight: 300;
}

/* ── CTA Strip ────────────────────────────────────── */
.cta-strip {
    padding: 6rem 0;
    background: var(--cream-dark);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}
.cta-text .label { margin-bottom: 0.75rem; }
.cta-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    max-width: 520px;
    line-height: 1.25;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Contact ──────────────────────────────────────── */
.contact { padding: 8rem 0; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-desc {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.375rem; }
.contact-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 500;
}
.contact-value {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}
.contact-value a {
    color: var(--emerald);
    transition: color 0.3s;
}
.contact-value a:hover { color: var(--emerald-dark); text-decoration: underline; }

/* Form */
.contact-form-wrap {
    background: var(--cream-dark);
    padding: 2.5rem;
    border-radius: 2px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cream-mid);
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}
.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(22,101,52,0.08);
    color: var(--emerald);
    font-size: 0.875rem;
    border-radius: 2px;
}
.form-success svg { flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────── */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 2rem;
}
.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: #fff;
}
.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}
.footer-links a:hover { color: #fff; }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.footer-contact a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}
.footer-contact a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
}

/* ── Scroll Reveal (progressive enhancement) ─────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    
    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(250,248,244,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 1.75rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease-out);
    }
    .nav-menu.open { opacity: 1; pointer-events: all; }
    .nav-menu a {
        font-size: 1rem;
        color: var(--text-dark);
    }
    .nav-menu a:hover { color: var(--emerald); }
    .nav-cta {
        border-color: var(--emerald) !important;
        color: var(--emerald) !important;
    }

    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
    .hide-mobile { display: none; }

    .intro-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .intro-image { order: -1; }
    .intro-image img { aspect-ratio: 4/3; }

    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 1.75rem; }

    .footer-inner { flex-direction: column; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; }

    .process-step { grid-template-columns: 32px 1fr; gap: 1rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero-content { padding: 0 1.25rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-scroll { display: none; }
}
