:root {
    --bg-top: #f3fff4;
    --bg-mid: #e8f7ff;
    --bg-bottom: #fff4e7;
    --ink: #102218;
    --ink-soft: #335647;
    --white: #ffffff;

    --green-900: #0e5a34;
    --green-700: #15884d;
    --green-500: #22b465;
    --mint-300: #8fefb9;

    --sky-600: #1a87e8;
    --sky-400: #5ab6ff;
    --sun-500: #ff8a3d;
    --sun-300: #ffc36f;

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-pill: 999px;

    --shadow-soft: 0 16px 40px rgba(19, 71, 43, 0.12);
    --shadow-pop: 0 18px 36px rgba(21, 136, 77, 0.28);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
    min-height: 100vh;
    line-height: 1.5;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    width: min(40vw, 420px);
    aspect-ratio: 1;
    filter: blur(6px);
    opacity: 0.5;
    pointer-events: none;
}

body::before {
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(90, 182, 255, 0.7) 0%, rgba(90, 182, 255, 0) 70%);
}

body::after {
    bottom: -160px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 138, 61, 0.65) 0%, rgba(255, 138, 61, 0) 72%);
}

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

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

.section {
    width: min(1120px, 92vw);
    margin-inline: auto;
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--green-900);
    background: rgba(34, 180, 101, 0.14);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.8rem;
}

.section-head {
    margin-bottom: 1.8rem;
}

.section-head h2,
.about h2,
.contact h2 {
    font-family: "Bricolage Grotesque", "Verdana", sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.12;
    margin-top: 0.8rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem min(4vw, 2.2rem);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(16, 34, 24, 0.08);
}

.brand {
    font-family: "Bricolage Grotesque", "Verdana", sans-serif;
    font-weight: 800;
    font-size: clamp(1.1rem, 2.3vw, 1.4rem);
    color: var(--green-900);
    line-height: 1;
}

.brand span {
    display: block;
    margin-top: 0.2rem;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sky-600);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav > a {
    font-weight: 600;
    color: var(--ink);
}

.site-nav > a:not(.btn):hover {
    color: var(--green-700);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: rgba(26, 135, 232, 0.1);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--green-900);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: var(--radius-pill);
    color: var(--white);
    background: linear-gradient(120deg, var(--green-700), var(--green-500));
    box-shadow: var(--shadow-pop);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(21, 136, 77, 0.35);
}

.btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

.btn-xl {
    margin-top: 0.7rem;
    background: var(--white);
    color: var(--green-900);
    padding: 0.95rem 1.8rem;
    font-size: clamp(1.1rem, 2.8vw, 1.35rem);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.hero {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: clamp(1.6rem, 4vw, 3.3rem);
    align-items: center;
    padding-top: clamp(2.2rem, 5vw, 4rem);
}

.hero h1 {
    font-family: "Bricolage Grotesque", "Verdana", sans-serif;
    font-size: clamp(2rem, 5.4vw, 3.8rem);
    line-height: 0.98;
    margin: 0.9rem 0 1rem;
}

.hero-lead {
    font-size: clamp(1rem, 1.9vw, 1.15rem);
    color: var(--ink-soft);
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.7rem;
}

.text-link {
    font-weight: 700;
    color: var(--sky-600);
}

.text-link:hover {
    color: var(--green-700);
}

.hero-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.6rem;
}

.hero-tags li {
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(16, 34, 24, 0.08);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: min(62vw, 500px);
    box-shadow: var(--shadow-soft);
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(175deg, rgba(26, 135, 232, 0.08), rgba(14, 90, 52, 0.42));
    z-index: 1;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media figcaption {
    position: absolute;
    z-index: 2;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    color: var(--white);
    font-weight: 500;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    background: rgba(7, 28, 18, 0.56);
}

.services .section-head {
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.3rem;
    border: 1px solid rgba(16, 34, 24, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--card-start), var(--card-end));
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 36px rgba(16, 34, 24, 0.16);
}

.service-card h3 {
    font-family: "Bricolage Grotesque", "Verdana", sans-serif;
    margin-top: 0.6rem;
    font-size: 1.2rem;
}

.service-card ul {
    margin-top: 0.8rem;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.48rem;
    color: var(--ink-soft);
    font-size: 0.96rem;
}

.service-card li::before {
    content: "";
    position: absolute;
    top: 0.56rem;
    left: 0;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: var(--dot-color);
}

.tone-green {
    --card-start: var(--green-700);
    --card-end: var(--green-500);
    --dot-color: var(--green-700);
}

.tone-blue {
    --card-start: var(--sky-600);
    --card-end: var(--sky-400);
    --dot-color: var(--sky-600);
}

.tone-sun {
    --card-start: #ff7f32;
    --card-end: var(--sun-300);
    --dot-color: #ff7f32;
}

.tone-mint {
    --card-start: #39be8e;
    --card-end: var(--mint-300);
    --dot-color: #2e9d78;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    padding-top: 2.2rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(16, 34, 24, 0.08);
    box-shadow: var(--shadow-soft);
}

.project-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.project-copy {
    padding: 1rem 1.1rem 1.2rem;
}

.project-copy h3 {
    font-family: "Bricolage Grotesque", "Verdana", sans-serif;
    font-size: 1.25rem;
}

.project-copy p {
    margin-top: 0.4rem;
    color: var(--ink-soft);
}

.about-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 230, 0.82));
    border: 1px solid rgba(16, 34, 24, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.4rem, 3vw, 2.2rem);
}

.about-lead {
    color: var(--ink-soft);
    margin-top: 0.85rem;
    max-width: 65ch;
}

.feature-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.feature {
    background: var(--white);
    border: 1px solid rgba(16, 34, 24, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.feature h3 {
    font-family: "Bricolage Grotesque", "Verdana", sans-serif;
    font-size: 1.05rem;
}

.feature p {
    margin-top: 0.45rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.contact {
    padding-top: 2rem;
}

.contact-card {
    position: relative;
    text-align: center;
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: clamp(1.8rem, 4vw, 2.8rem);
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 40%, var(--sky-600) 100%);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.contact-card::before,
.contact-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.2;
}

.contact-card::before {
    width: 240px;
    height: 240px;
    right: -80px;
    top: -80px;
    background: radial-gradient(circle, var(--sun-300) 0%, transparent 70%);
}

.contact-card::after {
    width: 200px;
    height: 200px;
    left: -70px;
    bottom: -70px;
    background: radial-gradient(circle, var(--sky-400) 0%, transparent 72%);
}

.contact-card .eyebrow {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.contact-card h2 {
    margin-top: 0.85rem;
}

.contact-card p {
    margin-top: 0.55rem;
    max-width: 48ch;
    margin-inline: auto;
}

.mini-note {
    font-size: 0.92rem;
    opacity: 0.9;
}

.site-footer {
    width: min(1120px, 92vw);
    margin: 1rem auto 2rem;
    border-top: 1px solid rgba(16, 34, 24, 0.15);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

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

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.footer-link img {
    width: 18px;
    height: 18px;
}

.photo-credit {
    width: 100%;
    font-size: 0.8rem;
    opacity: 0.85;
    text-align: center;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.2, 1);
    transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1020px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: min(72vw, 420px);
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        right: min(4vw, 2rem);
        top: calc(100% + 0.55rem);
        width: min(320px, 90vw);
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(16, 34, 24, 0.1);
        border-radius: 14px;
        box-shadow: 0 22px 40px rgba(16, 34, 24, 0.2);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.7rem;
        gap: 0.35rem;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a {
        padding: 0.55rem 0.65rem;
        border-radius: 10px;
    }

    .site-nav > a:not(.btn):hover {
        background: rgba(34, 180, 101, 0.12);
    }

    .site-nav .btn {
        justify-content: center;
    }

    .menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

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

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

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

    .hero h1 {
        font-size: clamp(1.85rem, 10vw, 2.7rem);
    }

    .site-footer {
        justify-content: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
