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

html {
    font-size: 16px;
}

body {
    font-family: Roboto, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.4;
    background: #232323;
}

main {
    margin: 0 auto;
}

.full {
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
    padding: clamp(2rem, 5vw, 5rem);
}

section {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    overflow-x: hidden;
}

.max1200 {
    max-width: clamp(640px, 85vw, 1200px);
}


.green {
    background: #85bd3c;
}

.black {
    background: #010101;
}

.charcoal {
    background: #232323;
}

.grey {
    background: #f5f5f5;
}

.white {
    background: #ffffff;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round; 
    stroke-width: 1;
}



/* hero */

.logo {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    background: url("images/virgo-bkg.jpg") no-repeat center center;
    background-size: cover;
    margin: 0 auto;
    padding: clamp(1.7rem, 3vw, 3rem);
}

    .logo img {
        width: clamp(7.25rem, 16vw, 15rem);
    }


.slug {
    display: flex;
    flex: 2;
    justify-content: center;
    align-items: center;
    padding: clamp(1.5rem, 3.5vw, 3rem);
}

 /*  hero */



/* header */

.header {
    display: flex;
    position: sticky;
    align-items: center;
    top: 0;
    z-index: 1000;
    min-height: 6vw;
    padding: 1rem 0;
}

    .bar-left,
    .bar-center,
    .bar-right {
        display: flex;
        align-items: center;
        align-self: stretch;
        justify-content: center;
        transition:
            flex .45s cubic-bezier(.22,.61,.36,1),
            opacity .3s ease,
            transform .45s cubic-bezier(.22,.61,.36,1);
    }

    .bar-right {
        flex: 2;
        padding: 0 3rem;
    }

    .bar-center {
        flex: 1;
        padding: 0 clamp(2.5rem, 3vw, 3rem);
    }

    .bar-left {
        flex: 0;
        overflow: hidden;
        opacity: 0;
    }

    .header.is-sticky .bar-left,
    .header.is-sticky .bar-center,
    .header.is-sticky .bar-right {
        flex: 1;
        padding: 0;
    }

    .header.is-sticky .bar-left {
        opacity: 1;
        transform: translateX(0);
    }

    .mini-logo img {
        display: block;
        max-height: clamp(1.85rem, 4vw, 3.5rem);
        width: auto;
        transform: translateZ(0); /* helps smooth hover */
        transition: transform .2s ease;
    }

    .mini-logo img:hover {
        transform: scale(1.04);
    }

    .cta, .contact input[type="submit"] {
        display: inline-block;
        background: #85bd3c;
        border-radius: 3rem;
        font: 600 clamp(1rem, 2.2vw, 1.8rem) Jost, Arial;
        padding: clamp(0.3rem, 0.3vw, 0.3rem) clamp(0.9rem, 2.5vw, 2.5rem);
        color: #fff;
        transform: translateZ(0); /* helps smooth hover */
        transition: transform .2s ease;
    }

    .cta a {
        color: inherit;
    }

    .cta:hover, .contact input[type="submit"]:hover {
        color: #fff;
        transform: scale(1.04);
    }

        #contact_form { 
            scroll-margin-top: clamp(4rem, 7vw, 5rem);
        }


    .links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(0.75rem, 2vw, 2rem);
    }

    .links a {
        color: #fff;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        line-height: 1;
        font-size: clamp(0.9rem, 1.75vw, 1.1rem);
        background: #010101;
        border-radius: 3rem;
        padding: clamp(0.2rem, 0.4vw, 0.3rem) clamp(1rem, 2vw, 2rem);
        transition: transform .2s ease;
        transform: translateZ(0);
        white-space: nowrap;
    }

    .links .label {
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        max-width: 12rem;
        opacity: 1;
        transition: opacity .2s ease, max-width .3s ease;
    }

    .header.is-sticky .links .label {
        max-width: 0;
        opacity: 0;
    }

    .links a:hover {
        color: #fff;
        transform: scale(1.04);
    }

    .links a span {
        transition: opacity .2s ease;
    }

    .header.is-sticky .links a {
        gap: 0;
        padding: 0.3rem 1rem;
    }

    .header.is-sticky .links a:hover{
        transform: scale(1.06);
    }

    .links svg {
        width: clamp(28px, 3vw, 40px);
        height: auto;
    }            


    /* header -- mobile */

        @media (max-width: 600px) {
            
            .bar-right {
                flex: 1;
                padding: 0 2rem;
                min-width: 0;
            }

            .bar-center {
                flex: 2;
                padding: 0;
                min-width: 0;
            }
            
            .header.is-sticky .bar-center {
                padding: 0 1.5rem;
            }
            
            .header.is-sticky .bar-right {                
                flex: 0;
                overflow: hidden;
                opacity: 0;
            }
            
            .links .label {
                display: none;
            }

            .cta,
            .cta a {
                white-space: nowrap;
            }

            .cta {
                flex-shrink: 0;
            }
            
        }

/* header */


.stickyheader-container {
    position: relative;
}


/* cards */

.cards {
     --scroll-gutter: max(0px, calc((100vw - 1200px) / 2));
}

    .cards-row {
        display: flex;
        flex-wrap: nowrap;         /* keep them on one row on desktop */
        gap: clamp(1rem, 1.5vw, 1.6rem);
        padding-top: clamp(1rem, 2vw, 2rem);
    }

        .card {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .card-img {
            min-height: clamp(9rem, 18vw, 18rem);
            background-size: cover;
            background-position: center center;
            border-radius: clamp(1rem, 1.7vw, 1.5rem);
            margin: 0 0 clamp(1rem, 2vw, 2rem) 0;
        }

        /* cna */

            .cna .card {
                --card-pad-right: clamp(1.8rem, 4.2vw, 5rem);
                padding-right: var(--card-pad-right);
            }

                @media (max-width: 900px) {
                    .cna .card {
                        --card-pad-right: 1rem;
                    }
                }

            .cna .card-img {
                margin-right: calc(-1 * var(--card-pad-right));
            }

            .card-img.website { background-image: url("images/virgo-cna-web.webp"); }
            .card-img.social  { background-image: url("images/virgo-cna-social.webp"); }
            .card-img.email   { background-image: url("images/virgo-cna-email.webp"); }

        /* cna */

        /* proof */

            .proof .card-img {
                position: relative;
                cursor: pointer;
                transform: translateZ(0);
                transition: transform .2s ease;
            }

            .proof .card-img:hover {
                transform: scale(1.04);
            }

            .proof .card-img::after {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: inherit;
                background: linear-gradient(
                    to top,
                    rgba(0,0,0,0.55) 0%,
                    rgba(0,0,0,0.25) 25%,
                    rgba(0,0,0,0.0) 60%
                );
            }

            .proof .card-img svg.plus {
                position: absolute;
                right: 0.3rem;
                bottom: 0.3rem;
                fill: #85bd3c;
                stroke-width: 2;
                stroke: #fff;
                width: clamp(22px, 3vw, 34px);
                height: clamp(22px, 3vw, 34px);
                z-index: 1;
            }

            .card-img.ecommerce     { background-image: url("images/virgo-popup-ecommerce.webp"); }
            .card-img.earnedmedia   { background-image: url("images/virgo-popup-earnedmedia.webp"); }
            .card-img.newsletter    { background-image: url("images/virgo-popup-newsletter.webp"); }
            .card-img.branding      { background-image: url("images/virgo-popup-branding.webp"); }
            .card-img.fundraising   { background-image: url("images/virgo-popup-fundraising.webp"); }
            .card-img.copywriting   { background-image: url("images/virgo-popup-copywriting.webp"); }

        /* proof */

            /* mobile */

                @media (max-width: 600px) {

                    .cards {
                        padding-left: 0;
                        padding-right: 0;
                        --scroll-gutter: 1.5rem;
                    }

                    .cards .max1200 {
                        max-width: none;
                        width: 100%;
                    }

                    .cards-row {
                        overflow-x: auto;
                        align-self: stretch;
                        padding-left: var(--scroll-gutter);
                        padding-right: var(--scroll-gutter);
                        scroll-padding-left: var(--scroll-gutter);
                        -ms-overflow-style: none;
                        scrollbar-width: none;
                    }

                    .cards-row::-webkit-scrollbar {
                        display: none;
                    }

                        .cna .card {
                            flex: 0 0 65%;
                        }

                        .proof .card { 
                            flex: 0 0 27%;
                        }

                }

            /* mobile */

/* cards */ 


/* skills */

.skills {
    position: relative;
    z-index: 0;
}

.skills::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("images/virgo-symbol.png") center 16% / 95% no-repeat;
    opacity: 0.08;
    z-index: -1;
}

.skills-row {
    display: flex;
    gap: clamp(1.25rem, 3vw, 3rem);
    padding-top: clamp(1rem, 2vw, 2rem);
}

.skills-icons {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    text-align: center;
    color: #fff;
}

.skills-icons svg {
    width: clamp(64px, 8vw, 110px);
    height: auto;
    padding-bottom: clamp(0.5rem, 1vw, 1rem);
}
        
    @media (max-width: 600px) {
        
        .skills-row {
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.25rem;
        }

        .skills-icons {
            flex: 0 1 calc(33.333% - 1rem);
        }
        
        .skills h2 {
            max-width: 26ch;
        }
    }

/* skills */


/* contact */

.contact form {
    width: 60%;
    max-width: 700px;
    margin: 1rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: clamp(1rem, 2vw, 2rem);
}

    .contact h2 {
        color: #010101;
    }

.contact input {
    font-size: clamp(0.8rem, 1.8vw, 1.2rem);
    font-family: inherit;
    color: #333;
    padding: 0.85rem 1rem;
    border: 1px solid #85bd3c;
    border-radius: 12px;
    width: 100%;
    resize: vertical;
}

.contact input:focus {
    outline: none;
    border: 1px solid #010101;
}

.contact input[type="submit"] {
    width: 60%;
    background: #010101;
    align-self: center;
}

.contact input[type="submit"]:hover {
    transform: scale(1.04);
}

.contact-success {
    flex-direction: column;
    justify-content: center;
    min-height: 540px;
}

.contact-success a {
    color: #85bd3c; 
}

    .services {
        width: 100%;
        margin: 1rem auto;
        text-align: left;
    }

    .services h3 {
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .services label {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        margin-bottom: 0.5rem;
        cursor: pointer;
    }

    .services input[type="checkbox"] {
        flex: 0 0 auto;
        width: clamp(13px, 2vw, 20px);
        height: clamp(13px, 2vw, 20px);
        margin: 0;
        accent-color: #000;
    }

        @media (max-width: 600px) {

            .contact form {
                width: 80%;
            }

            .services input[type="checkbox"] {
                transform: scale(0.8);
            }
        }

/* contact */



/* footer */

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: clamp(10rem, 18vw, 18rem);
    padding: 2rem 1.25rem;
    text-align: center;
}

footer p, footer .credit {
    font: 400 clamp(0.7rem, 1.25vw, 1.25rem) Roboto, Arial;
    line-height: 2.5;
    color: #999;
}

footer .credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

footer img {
    width: clamp(9rem, 14vw, 13rem);
    height: auto;
    opacity: 0.6;
    display: block;
}

    @media (max-width: 460px) {
        
        footer img {
            width: 8rem;
        }
    }

/* footer */



/* MAINS */


.nowrap {
    white-space: nowrap;
}


p, ul, li {
    font-weight: 400;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    color: #010101; 
}


h1 {
    font: 400 clamp(1.05rem, 3.5vw, 3em) / 1.4 Jost, Arial;
    letter-spacing: -0.03em;
    color: #000000;
}

    @media (max-width: 600px) {
    
        h1 {
            font-size: 1.08rem;
        }
    }


h2 {
    font: 600 clamp(1.3rem, 3.1vw, 2.5rem) / 1.3 Jost, Arial;
    letter-spacing: -0.015em;
    color: #85bd3c;
    text-align: center;
    margin: 0 auto;
}

    .cards h2 {
        max-width: 36ch;
    }

    .proof h2 {
        max-width: 36ch;
    }

    .contact h2 {
        max-width: 40ch;
    }

    @media (max-width: 600px) {
        
        h2 {
            line-height: 1.3;
        }
        
        .cards h2 {
            max-width: 26ch;
            padding-left: var(--scroll-gutter);
            padding-right: var(--scroll-gutter);
        }
    }


h3, .services label {
    font-size: clamp(0.94rem, 1.7vw, 1.4rem);
    margin-bottom: clamp(0.5rem, 1vw, 2vw);
}

    .skills h3 {
        font-weight: 400;
    }


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

a:hover {
    color: #85bd3c;
}




/* modal overlay */

.modal-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: rgba(40,40,40,.38);
	backdrop-filter: blur(14px) saturate(110%);
	-webkit-backdrop-filter: blur(14px) saturate(110%);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
	z-index: 5000;
}

.modal-overlay.open {
	opacity: 1;
	visibility: visible;
}

.modal-window {
	position: relative;
	width: min(900px, 90vw);
	overflow-y: auto;
	background: #fff;
	border-radius: 1.5rem;
	padding: 3rem;
	box-shadow: 0 2rem 4rem rgba(0,0,0,.22);
	transform: translateY(0) scale(.97);
	transition: transform .25s ease;
	will-change: transform;
}

    @media (max-width: 600px) {
        
        .modal-window {
            width: min(860px, 80vw);
            padding: 2rem 2rem 2.5rem 2rem;
            max-height: calc(100dvh - 2rem);
        }
    }

.modal-feature {
	display: flex;
	align-items: stretch;
	gap: 2rem;
}

    @media (max-width: 600px) {
        
        .modal-feature {
            flex-direction: column;
        }
    }
        
.modal-photo {
    flex: 0 0 45%;
    min-height: 1px;
    margin: -3rem 0 -3rem -3rem;
    background-size: cover;
    background-position: center 0;
    background-repeat: no-repeat;
}
        
    @media (max-width: 1040px) {

        .modal-photo {
            flex: 0 0 48%;
            min-height: 400px;
            padding-right: 1rem;
        }
    }

    @media (max-width: 600px) {

        .modal-photo {
            flex: none;
            margin: -2rem -2rem 0 -2rem;
            min-height: 300px;
            background-size: cover;
            background-position: center 0;
        }
    }

.modal-copy {
	flex: 1;
	padding-right: 1rem;
}

    @media (max-width: 600px) {
        
        .modal-copy {
            padding: 0;
        }
    }

.modal-copy h2 {
    font-size: 1.75rem;
	padding-bottom: 1rem;
    text-align: left;
}

    @media (max-width: 600px) {
        
        .modal-copy h2 {
            font-size: 1.35rem;
            line-height: 1.75rem;
        }
    }

.modal-copy p + p {
	padding-top: 1rem;
}

    @media (max-width: 600px) {
        
        .modal-copy p + p {
	       padding-top: 0.7rem;
        }
    }

.modal-overlay.open .modal-window {
	transform: translateY(0) scale(1);
}

.modal-close {
	position: absolute;
	bottom: 1rem;
	right: 1.25rem;
	border: 0;
	background: transparent;
	font: 400 2.25rem Jost, Arial;
	line-height: 1;
	cursor: pointer;
	color: #232323;
}

.modal-close:hover {
	color: #85bd3c;
}

/* modal overlay */


/* email signup modal overlay */

.signup {
	width: min(520px, 90vw);
	padding: 2.5rem;
}

.signup-form h2 {
	padding-bottom: .75rem;
    color: #85bd3c;
}

.signup-form label {
	display: block;
	padding: .65rem 0 .25rem;
	font-weight: 600; 
    font-size: 1rem;
	color: #232323;
}

.signup-form label span {
	color: #85bd3c;
}

.signup-form input {
	width: 100%;
	box-sizing: border-box;
	padding: .75rem;
	border: 2px solid #ddd;
	border-radius: .35rem;
	font: 400 1rem Roboto, Arial, sans-serif;
}

.signup-form input:focus {
	outline: none;
	border: 2px solid #85bd3c;
}

.signup-form input[type="submit"] {
    width: 60%;
    margin: 2rem auto 0 auto; /* this centers it */
    display: block;
    border: none;
}

.field-shift {
	position: absolute;
	left: -9999px;
}

/* email signup modal overlay */


/* shut off zoom on mobile */

@media (hover: none) and (pointer: coarse) {
    .cta,
    .links a,
    .proof .card-img,
    .mini-logo img,
    .contact input[type="submit"],
    .cta:hover,
    .links a:hover,
    .proof .card-img:hover,
    .mini-logo img:hover,
    .contact input[type="submit"]:hover,
    .cta:focus,
    .links a:focus,
    .proof .card-img:focus,
    .mini-logo img:focus,
    .contact input[type="submit"]:focus {
        transform: none;
        transition: none;
    }
}