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

:root {
    --forest-50:  #f2f7f2;
    --forest-100: #e3ece3;
    --forest-200: #c5d9c5;
    --forest-400: #6a9a6a;
    --forest-500: #4a7a4a;
    --forest-600: #385e38;
    --forest-700: #2c4a2c;
    --forest-800: #1e331e;
    --forest-900: #142214;
    --forest-950: #0c140c;

    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --cream-dark: #e8e0d0;

    --text-dark: #1a1a1a;
    --text-mid:  #3a3a3a;
    --text-light:#6b6b6b;
    --text-inverse: #f5f0e8;

    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans:  'Inter', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Skip Link ────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--forest-800);
    color: var(--cream);
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 9999;
    font-size: 14px;
}
.skip-link:focus { top: 16px; }

/* ── Navigation ───────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(44, 74, 44, 0.08);
    transition: box-shadow 0.3s var(--ease-out);
}
.nav.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,0.06); }

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-brand-mark {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--forest-700);
    border: 1.5px solid var(--forest-700);
    padding: 2px 7px;
    letter-spacing: -0.02em;
}
.nav-brand-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--forest-800);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.2s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--forest-600);
    transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--forest-700); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
    background: var(--forest-700);
    padding: 10px 22px;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--forest-800); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--forest-800);
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.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);
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
}
.btn-primary {
    background: var(--forest-700);
    color: var(--cream);
    border-color: var(--forest-700);
}
.btn-primary:hover { background: var(--forest-800); border-color: var(--forest-800); transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--forest-700);
    border-color: var(--forest-200);
}
.btn-ghost:hover { border-color: var(--forest-500); background: var(--forest-50); }
.btn-white {
    background: var(--cream);
    color: var(--forest-800);
    border-color: var(--cream);
}
.btn-white:hover { background: #fff; transform: translateY(-1px); }
.btn-outline-light {
    background: transparent;
    color: var(--cream);
    border-color: rgba(245,240,232,0.4);
}
.btn-outline-light:hover { border-color: var(--cream); background: rgba(245,240,232,0.1); }
.btn-full { width: 100%; justify-content: center; }

/* ── Section Shared ───────────────────────────────── */
.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest-500);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--forest-900);
    margin-bottom: 24px;
}
.section-title em {
    font-style: italic;
    color: var(--forest-600);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    background: var(--forest-950);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(245,240,232,0.5) 60px,
            rgba(245,240,232,0.5) 61px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 60px,
            rgba(245,240,232,0.5) 60px,
            rgba(245,240,232,0.5) 61px
        );
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest-400);
    border: 1px solid rgba(106,154,106,0.3);
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--cream);
    margin-bottom: 24px;
}
.hero-headline em {
    font-style: italic;
    color: var(--forest-300);
}

.hero-sub {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(245,240,232,0.6);
    max-width: 440px;
    margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual cards */
.hero-visual {
    position: relative;
    height: 560px;
}

.hero-card-main {
    width: 320px;
    height: 420px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    right: 0;
}
.hero-card-main img { width: 100%; height: 100%; object-fit: cover; }

.hero-card-accent {
    width: 220px;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    position: absolute;
    bottom: 60px;
    left: 0;
    border: 3px solid var(--forest-800);
}
.hero-card-accent img { width: 100%; height: 100%; object-fit: cover; }

.stat-card {
    position: absolute;
    background: rgba(245,240,232,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245,240,232,0.1);
    border-radius: 4px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--cream);
    line-height: 1;
}
.stat-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.5);
}
.stat-card--1 { top: 40px; left: 40px; }
.stat-card--2 { bottom: 0; right: 20px; }
.stat-card--3 { bottom: 40px; left: 50%; transform: translateX(-50%); }

/* ── Services ─────────────────────────────────────── */
.services {
    padding: 120px 0;
    background: var(--cream-light);
}
.services .container { max-width: 1200px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 48px;
}

.service-card {
    background: #fff;
    padding: 40px 32px;
    transition: all 0.3s var(--ease-out);
    position: relative;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--forest-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--forest-50); }

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--forest-600);
    margin-bottom: 24px;
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--forest-900);
    margin-bottom: 12px;
}

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

/* ── About ────────────────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--forest-900);
    color: var(--cream);
}
.about .section-label { color: var(--forest-400); }
.about .section-title { color: var(--cream); }
.about .section-title em { color: var(--forest-300); }

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

.about-visual {
    position: relative;
    height: 640px;
}
.about-img-main {
    width: 360px;
    height: 480px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,0.3);
    position: absolute;
    top: 0;
    left: 0;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
    width: 240px;
    height: 170px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    position: absolute;
    bottom: 0;
    right: 0;
    border: 3px solid var(--forest-800);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }

.about-content .section-title { margin-bottom: 28px; }

.about-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(245,240,232,0.65);
    margin-bottom: 16px;
}

.about-values {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid rgba(245,240,232,0.1);
}

.value-item { display: flex; flex-direction: column; gap: 6px; }
.value-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest-400);
}
.value-text {
    font-size: 14px;
    color: var(--cream);
    line-height: 1.5;
}

/* ── Gallery ──────────────────────────────────────── */
.gallery {
    padding: 120px 0;
    background: var(--cream-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    margin-top: 48px;
}

.gallery-item {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.03); }

.gallery-item--wide { grid-column: span 7; }
.gallery-item:not(.gallery-item--wide) { grid-column: span 5; }

.gallery-item:nth-child(1) { grid-row: 1; }
.gallery-item:nth-child(2) { grid-row: 2; }
.gallery-item:nth-child(3) { grid-row: 2; }
.gallery-item:nth-child(4) { grid-row: 1; }
.gallery-item:nth-child(5) { grid-row: 2; }

/* ── CTA Banner ───────────────────────────────────── */
.cta-banner {
    padding: 100px 0;
    background: var(--forest-700);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 8px;
}
.cta-title em { font-style: italic; color: var(--forest-200); }
.cta-sub {
    font-size: 15px;
    color: rgba(245,240,232,0.6);
}
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Contact ──────────────────────────────────────── */
.contact {
    padding: 120px 0;
    background: var(--cream);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 400px;
}

.contact-details { display: flex; flex-direction: column; gap: 28px; }

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--forest-200);
    border-radius: 50%;
    color: var(--forest-600);
    flex-shrink: 0;
}
.contact-detail-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}
.contact-detail-value {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.5;
}
.contact-link {
    color: var(--forest-700);
    border-bottom: 1px solid var(--forest-200);
    transition: border-color 0.2s;
}
.contact-link:hover { border-color: var(--forest-600); }

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.form-group { margin-bottom: 24px; }
.form-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--cream-light);
    border: 1px solid var(--cream-dark);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder { color: var(--text-light); }
.form-input:focus {
    border-color: var(--forest-500);
    box-shadow: 0 0 0 3px rgba(74,122,74,0.08);
}
.form-select { cursor: pointer; appearance: none; 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='%236b6b6b' 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 16px center; padding-right: 40px; }
.form-textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--forest-50);
    border: 1px solid var(--forest-200);
    border-radius: 2px;
    color: var(--forest-700);
    font-size: 14px;
}
.form-success svg { color: var(--forest-600); flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────── */
.footer {
    background: var(--forest-950);
    color: var(--cream);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(245,240,232,0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cream);
}
.footer-tagline {
    font-size: 14px;
    color: rgba(245,240,232,0.45);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest-400);
    margin-bottom: 4px;
}
.footer-links a, .footer-contact a {
    font-size: 14px;
    color: rgba(245,240,232,0.6);
    transition: color 0.2s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--cream); }
.footer-contact span { font-size: 14px; color: rgba(245,240,232,0.6); line-height: 1.6; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 12px;
    color: rgba(245,240,232,0.3);
}

/* ── Scroll Reveal ────────────────────────────────── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { height: 440px; }
    .hero-card-main { width: 260px; height: 340px; }
    .hero-card-accent { width: 180px; height: 120px; }
    .about-visual { height: 480px; }
    .about-img-main { width: 280px; height: 380px; }
    .about-img-float { width: 180px; height: 130px; }
    .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(245,240,232,0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(44,74,44,0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s var(--ease-out), opacity 0.3s;
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-toggle { display: flex; }

    .hero { padding: 100px 24px 60px; min-height: auto; }
    .hero-grid { gap: 40px; }
    .hero-visual { height: 360px; }
    .hero-card-main { width: 200px; height: 270px; }
    .hero-card-accent { width: 150px; height: 100px; bottom: 30px; left: 10px; }
    .stat-card--1 { top: 20px; left: 20px; }
    .stat-card--2 { bottom: 0; right: 10px; }
    .stat-card--3 { bottom: 30px; left: 50%; transform: translateX(-50%); }
    .stat-number { font-size: 22px; }

    .services { padding: 80px 0; }
    .services-grid { grid-template-columns: 1fr; gap: 2px; }

    .about { padding: 80px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { height: 360px; }
    .about-img-main { width: 220px; height: 300px; }
    .about-img-float { width: 150px; height: 110px; }
    .about-values { grid-template-columns: 1fr; }

    .gallery { padding: 80px 0; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item--wide { grid-column: span 2; }
    .gallery-item:not(.gallery-item--wide) { grid-column: span 1; }
    .gallery-item:nth-child(1) { grid-row: auto; }
    .gallery-item:nth-child(2) { grid-row: auto; }
    .gallery-item:nth-child(3) { grid-row: auto; }
    .gallery-item:nth-child(4) { grid-row: auto; }
    .gallery-item:nth-child(5) { grid-row: auto; }

    .cta-banner { padding: 60px 0; }
    .cta-inner { flex-direction: column; align-items: flex-start; }

    .contact { padding: 80px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-visual { height: 300px; }
    .hero-card-main { width: 160px; height: 220px; }
    .hero-card-accent { width: 120px; height: 80px; }
    .stat-card { padding: 12px 14px; }
    .stat-number { font-size: 18px; }
    .stat-label { font-size: 9px; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
}
