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

:root {
    --green-deep: #1b3a2d;
    --green-dark: #162e23;
    --green-mid: #254a39;
    --green-stripe: rgba(255, 255, 255, 0.04);
    --acid: #c8f23a;
    --acid-dim: #a8d424;
    --white: #f0ede6;
    --white-muted: rgba(240, 237, 230, 0.65);
    --dot: rgba(240, 237, 230, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--green-deep);
    color: var(--white);
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Horizontal line texture — only outside hero ── */
.featured::before,
.divider-dots::before,
.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(to bottom,
            transparent 0px,
            transparent 5px,
            var(--green-stripe) 5px,
            var(--green-stripe) 6px);
    pointer-events: none;
    z-index: 0;
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
    overflow: hidden;
}

.hero__wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero__headline {
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: clamp(4rem, 12vw, 9.5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 0.15em;
}

.hero__headline .accent {
    color: var(--acid);
    font-style: italic;
}

.hero__sub {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 400;
    color: var(--white-muted);
    max-width: 52ch;
    margin-top: 1.5rem;
}

.hero__sub .accent {
    color: var(--acid);
    font-weight: 500;
}

/* ── FEATURED STORY ── */
.featured {
    position: relative;
    background: var(--green-dark);
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
}

.featured>* {
    position: relative;
    z-index: 1;
}

.featured__label {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.featured__label::before,
.featured__label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(240, 237, 230, 0.2);
}

.featured__label span {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white-muted);
    white-space: nowrap;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    border: 1px solid rgba(240, 237, 230, 0.3);
    border-radius: 999px;
    padding: 0.3em 0.9em;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white-muted);
    letter-spacing: 0.02em;
}

.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 2rem);
    align-items: center;
}

@media (max-width: 700px) {
    .case-study {
        grid-template-columns: 1fr;
    }
}

.case-study__copy h2 {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1rem;
}

.case-study__copy p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: var(--white-muted);
    max-width: 44ch;
    line-height: 1.75;
}

.case-study__copy p em {
    font-style: italic;
    font-weight: 500;
    color: var(--white);
}

.read-more {
    display: inline-block;
    margin-top: 1.75rem;
    border: 1px solid rgba(240, 237, 230, 0.4);
    border-radius: 4px;
    padding: 0.6em 1.4em;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.read-more:hover {
    background: var(--acid);
    color: var(--green-dark);
    border-color: var(--acid);
}

/* Case study image */
.case-study__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study__image img {
    width: 100%;
    max-width: 673px;
    height: auto;
    border-radius: 8px;
}

/* ── DOT DIVIDER ── */
.divider-dots {
    position: relative;
    height: 120px;
    background: var(--green-mid);
    overflow: hidden;
}

.divider-dots::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
    background-size: 18px 18px;
}

/* ── WORKING WITH ME ── */
.working {
    position: relative;
    background: var(--green-deep);
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
}

.working::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(to bottom,
            transparent 0px,
            transparent 5px,
            var(--green-stripe) 5px,
            var(--green-stripe) 6px);
    pointer-events: none;
    z-index: 0;
}

.working>* {
    position: relative;
    z-index: 1;
}

.working__header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.working__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--acid);
    margin-bottom: 0.75rem;
}

.working__title {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    max-width: 20ch;
}

.working__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.working__card {
    background: var(--green-mid);
    border: 1px solid rgba(240, 237, 230, 0.08);
    border-radius: 8px;
    padding: clamp(1.5rem, 3vw, 2rem);
    transition: border-color 0.2s;
}

.working__card:hover {
    border-color: rgba(200, 242, 58, 0.25);
}

.working__icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.working__card h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.working__card p {
    font-size: 0.92rem;
    color: var(--white-muted);
    line-height: 1.7;
}

/* ── CONTACT ── */
.contact {
    position: relative;
    background: var(--green-dark);
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
}

.contact>* {
    position: relative;
    z-index: 1;
}

.contact h2 {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--acid);
    margin-bottom: 0.75rem;
}

.contact p {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    color: var(--white-muted);
    max-width: 50ch;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(240, 237, 230, 0.25);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.contact-link:hover {
    color: var(--acid);
    border-color: var(--acid);
}

.contact-link__arrow {
    display: inline-block;
    font-size: 0.75em;
    transform: rotate(-45deg);
    opacity: 0.6;
}

/* ── Subtle fade-in on load ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__eyebrow {
    animation: fadeUp 0.6s ease both;
}

.hero__headline {
    animation: fadeUp 0.7s 0.1s ease both;
}

.hero__sub {
    animation: fadeUp 0.7s 0.25s ease both;
}

/* ── STICKY BANNER ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(22, 46, 35, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(200, 242, 58, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem clamp(1.5rem, 5vw, 4rem);
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav.visible {
    transform: translateY(0);
}

.site-nav__logo {
    height: 44px;
    width: auto;
    display: block;
}

.site-nav__links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__links a {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav__links a:hover {
    color: var(--white);
}

.site-nav__links a.active {
    color: var(--acid);
    border-bottom: 1px solid var(--acid);
    padding-bottom: 2px;
}