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

:root {
    --bg: #0a0b0a;
    --bg-2: #101210;
    --surface: #14161400;
    --text: #eaeee9;
    --muted: #9aa39e;
    --border: rgba(255, 255, 255, 0.1);
    --accent: #00843D;
    --accent-2: #34b06a;
    --accent-deep: #034a25;
    --accent-rgb: 0, 132, 61;
    --max: 1240px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a { color: var(--accent-2); text-decoration: none; }

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    background-image: linear-gradient(180deg, #3fc079 0%, var(--accent) 55%, var(--accent-deep) 120%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: rgba(10, 11, 10, 0);
    transition: background 0.3s, border-color 0.3s, padding 0.3s;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(10, 11, 10, 0.82);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
    padding: 12px 28px;
}

.site-header .brand { font-size: 19px; }

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: var(--text);
    font-size: 14px;
    letter-spacing: 0.02em;
    opacity: 0.85;
    transition: opacity 0.2s, color 0.2s;
}

.nav a:hover { opacity: 1; color: var(--accent-2); }

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10,11,10,0.55) 0%, rgba(10,11,10,0.15) 35%, rgba(10,11,10,0.85) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 76px;
}

.hero h1 {
    font-size: clamp(44px, 8vw, 104px);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.hero .tagline {
    font-size: clamp(16px, 2.2vw, 22px);
    color: var(--text);
    max-width: 640px;
    opacity: 0.92;
}

.hero .eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 22px;
    font-weight: 500;
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* Sections */
section { padding: 96px 0; }

.section-head { margin-bottom: 44px; }

.section-head .kicker {
    display: block;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 14px;
    font-weight: 500;
}

.section-head h2 { font-size: clamp(28px, 4vw, 44px); }

.section-head p { color: var(--muted); max-width: 620px; margin-top: 14px; font-size: 16px; }

/* Gallery — masonry */
.gallery {
    column-count: 3;
    column-gap: 14px;
}

.gallery figure {
    position: relative;
    margin: 0 0 14px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 6px;
    cursor: zoom-in;
    background: var(--bg-2);
}

.gallery img {
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s;
    filter: saturate(1.02);
}

.gallery figure:hover img { transform: scale(1.045); filter: saturate(1.1) brightness(1.03); }

.gallery figure::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    border-radius: 6px;
    pointer-events: none;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.about-grid img { width: 100%; border-radius: 8px; object-fit: cover; }

.about-copy h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 22px; }

.about-copy p { color: #cdd4cf; margin-bottom: 18px; font-size: 16.5px; }

.about-copy .kicker {
    display: block;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 16px;
    font-weight: 500;
}

.stats {
    display: flex;
    gap: 44px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: 0.02em; }

/* Contact */
.contact {
    background:
        radial-gradient(60% 120% at 50% 0%, rgba(var(--accent-rgb), 0.10), transparent 60%),
        var(--bg-2);
    border-top: 1px solid var(--border);
    text-align: center;
}

.contact h2 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 18px; }

.contact p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; font-size: 17px; }

.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 26px rgba(var(--accent-rgb), 0.4);
    transition: filter 0.2s, transform 0.06s;
}

.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }

.contact-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 44px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.contact-meta a { color: var(--text); }
.contact-meta a:hover { color: var(--accent-2); }
.contact-meta .lbl { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 7px; }

/* Footer */
.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-size: 13px;
}

.site-footer .brand { font-size: 16px; }

/* Lightbox */
.lb {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(6, 7, 6, 0.94);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}

.lb.open { display: flex; opacity: 1; }

.lb img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

.lb-btn {
    position: absolute;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}

.lb-btn:hover { background: rgba(255,255,255,0.14); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
    .gallery { column-count: 2; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-grid .about-img { max-width: 460px; }
    section { padding: 72px 0; }
}

@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .site-header { padding: 14px 18px; }
    .nav { gap: 18px; }
    .nav a.nav-work { display: none; }
    .gallery { column-count: 1; }
    .hero-inner { padding-bottom: 54px; }
    .contact-meta { gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scroll-cue { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .gallery img { transition: none; }
}
