/* Basic CSS Boilerplate */

/* variables */

:root {
    --genco-green: #3f5f58;
    --genco-gold: #c6a24d;
    --genco-gold-light: color-mix(in oklab, var(--genco-gold), white 80%);
    --genco-text: #2e2e2e;
    --genco-bg: #f7f5f1;
    --genco-font-base: "Inter", sans-serif;
    --genco-font-serif: "Playfair Display", serif;
    --genco-font-cursive: "Allura", cursive;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--genco-font-base);
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--genco-text);
    background-color: var(--genco-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--genco-green);
    font-family: var(--genco-font-serif);
    font-optical-sizing: auto;
    font-style: normal;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5rem;
}

.allura-regular {
  font-family: var(--genco-font-cursive);
  font-weight: 400;
  font-style: normal;
}


/* Landing Page Styles */
.landing-page {
    min-height: 100vh;
}

.landing-page .content {
    padding-top: 2rem;
}

.banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

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

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.25rem, 5vw, 4rem);
    background:
        linear-gradient(
            100deg,
            rgba(16, 22, 20, 0.75) 0%,
            rgba(16, 22, 20, 0.56) 35%,
            rgba(16, 22, 20, 0.22) 62%,
            rgba(16, 22, 20, 0.05) 100%
        ),
        radial-gradient(circle at 88% 12%, rgba(198, 162, 77, 0.24) 0%, transparent 40%);
}

.banner-copy {
    width: min(100%, 54rem);
    padding: clamp(1rem, 2.4vw, 1.65rem);
    border-radius: 0.75rem;
    background: linear-gradient(145deg, rgba(11, 15, 14, 0.56), rgba(11, 15, 14, 0.22));
    backdrop-filter: blur(2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
    animation: banner-copy-enter 900ms ease-out both;
}

.banner-kicker {
    margin: 0;
    color: #fff;
    font-family: var(--genco-font-cursive);
    font-size: clamp(2.3rem, 5.4vw, 4rem);
    line-height: 0.9;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.banner-title {
    color: #fff;
    margin: 0;
    font-family: var(--genco-font-serif);
    font-size: clamp(2.1rem, 7vw, 5.1rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.48);
}

.banner-tagline {
    margin: clamp(0.5rem, 1.5vw, 0.9rem) 0 0;
    color: color-mix(in oklab, var(--genco-green), white 45%);
    font-family: var(--genco-font-cursive);
    font-size: clamp(1.75rem, 3.3vw, 2.85rem);
    line-height: 1.08;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
}

.banner-subheading {
    margin: clamp(0.6rem, 1.8vw, 1rem) 0 0;
    max-width: 50ch;
    color: color-mix(in oklab, white, var(--genco-bg) 12%);
    font-size: clamp(1rem, 1.85vw, 1.32rem);
    font-weight: 500;
    line-height: 1.45;
    text-wrap: balance;
}

.banner-copy::after {
    content: "";
    display: block;
    width: clamp(4.5rem, 9vw, 7rem);
    height: 0.22rem;
    margin-top: clamp(0.85rem, 1.9vw, 1.2rem);
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--genco-gold),
        color-mix(in oklab, var(--genco-gold), white 50%)
    );
}

@keyframes banner-copy-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@media (prefers-reduced-motion: reduce) {
    .banner-copy {
        animation: none;
    }
}

@media (max-width: 900px) {
    .banner {
        min-height: 25rem;
    }

    .banner-overlay {
        align-items: flex-end;
        padding: 1rem;
    }

    .banner-copy {
        width: 100%;
        padding: 0.95rem;
    }

    .banner-title {
        letter-spacing: 0.08em;
    }

    .banner-tagline {
        line-height: 1.18;
    }
}

@media (max-width: 520px) {
    .banner {
        height: 72vh;
    }

    .banner-subheading {
        font-size: 0.98rem;
        line-height: 1.4;
    }
}

/* Navigation Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--genco-bg);
}

.navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.nav-logo {
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.35rem;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 1.5rem;
    height: 2px;
    margin: 0;
    background-color: var(--genco-green);
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--genco-green);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--genco-font-serif);
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-link.is-current-page {
    text-decoration: underline;
}

.nav-link:hover {
    text-decoration: underline;
}

/* Dropdown Styles */
.has-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: block;
}

.nav-submenu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--genco-green);
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
}

.nav-submenu-icon {
    position: relative;
    display: block;
    width: 1rem;
    height: 1rem;
    margin: 0 auto;
}

.nav-submenu-icon::before,
.nav-submenu-icon::after {
    content: "";
    position: absolute;
    background-color: currentcolor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-submenu-icon::before {
    width: 1rem;
    height: 2px;
}

.nav-submenu-icon::after {
    width: 2px;
    height: 1rem;
}

.dropdown-toggle::after {
    content: "▼";
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    border: 1px solid #e9ecef;
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    margin-left: 1rem;
}

@media (max-width: 900px) {
    .navigation {
        flex-wrap: wrap;
        align-items: center;
        align-content: flex-start;
        min-height: auto;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        will-change: max-height;
    }

    .navigation.is-open .nav-menu {
        max-height: 80vh;
    }

    .nav-item {
        border-bottom: 1px solid color-mix(in oklab, var(--genco-green), white 80%);
    }

    .nav-link {
        padding: 0.85rem 0;
    }

    .nav-dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .nav-submenu-toggle {
        display: inline-block;
        flex-shrink: 0;
    }

    .has-dropdown .dropdown-toggle::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: block;
        max-height: 0;
        overflow: hidden;
        padding-left: 1rem;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        min-width: 0;
        transition: max-height 0.25s ease;
    }

    .has-dropdown.is-open .dropdown-menu {
        max-height: 40vh;
    }

    .has-dropdown.is-open .nav-submenu-icon::after {
        opacity: 0;
    }

    .dropdown-item {
        margin-left: 0;
    }

    .dropdown-item .nav-link {
        padding-left: 0.75rem;
    }
}

/* Button Styles */
.btn-choose {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--genco-gold);
    color: var(--genco-bg);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.link-list-item {
    margin: 0;
}

.content-divider {
    border: 0;
    border-top: 1px solid #000;
    margin: 2rem 0;
}

.image-link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
}

.image-link-list-item {
    margin: 0;
}

.image-link {
    display: block;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.image-link:focus-visible {
    outline: 3px solid var(--genco-gold);
    outline-offset: 3px;
}

.image-link-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.72);
}

.image-link-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 1rem 1rem 1.2rem;
    color: var(--genco-gold);
}

.image-link-headline {
    font-family: var(--genco-font-serif);
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--genco-gold);
}

.audience-list {
    margin: 2.5rem 0;
    padding: 1.5rem;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 100% 0%, color-mix(in oklab, var(--genco-gold), white 72%) 0, transparent 40%),
        radial-gradient(circle at 0% 100%, color-mix(in oklab, var(--genco-green), white 84%) 0, transparent 45%),
        color-mix(in oklab, var(--genco-bg), white 18%);
    border: 1px solid color-mix(in oklab, var(--genco-green), white 80%);
}

.audience-list-eyebrow {
    margin: 0;
    color: color-mix(in oklab, var(--genco-green), black 15%);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

.audience-list-heading {
    margin: 0.45rem 0 1.25rem;
    color: var(--genco-green);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.audience-list-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.audience-list-item {
    margin: 0;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    background-color: color-mix(in oklab, white, var(--genco-bg) 75%);
    border-radius: 0.75rem;
    border: 1px solid color-mix(in oklab, var(--genco-green), white 84%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.audience-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--genco-green);
    background: linear-gradient(
        145deg,
        color-mix(in oklab, var(--genco-gold), white 68%),
        color-mix(in oklab, var(--genco-gold), white 82%)
    );
}

.audience-icon svg,
.audience-icon img {
    width: 1.45rem;
    height: 1.45rem;
}

.audience-list-text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.35;
    color: color-mix(in oklab, var(--genco-text), black 8%);
    font-weight: 600;
}

@media (max-width: 700px) {
    .link-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .image-link-list {
        grid-template-columns: 1fr;
    }

    .image-link-overlay {
        padding: 0.85rem 0.75rem 0.75rem;
    }

    .image-link-headline {
        font-size: 1.55rem;
    }

    .audience-list {
        margin: 1.8rem 0;
        padding: 1rem;
    }

    .audience-list-grid {
        grid-template-columns: 1fr;
    }

    .audience-list-item {
        padding: 0.75rem;
    }

    .audience-list-text {
        font-size: 0.98rem;
    }
}

.page-layout {
    /* accounting for header height */
    min-height: calc(100vh - 70px);
    margin: 0;
    display: flex;
    flex-direction: column;
}

.page-layout > .content {
    flex: 1;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.content > .post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.content > .post-content {
    margin-bottom: 3rem;
    display: block;
}

.content > .post-content::after {
    content: "";
    clear: both;
    display: block;
}

.content-page .post-content figure,
.content-page .post-content .richtext-image,
.content-page .post-content img {
    max-width: 100%;
}

.content-page .post-content img {
    height: auto;
    display: block;
}

.content-page .post-content figure {
    margin: 1.5rem 0;
}

.richtext-image {
    height: auto;
    width: 100%;
}

.richtext-image.left {
    display: block;
    margin-left: 0;
    margin-right: auto;
    width: auto;
    float: left;
    margin: 1rem;
}

.richtext-image.right {
    display: block;
    margin-left: auto;
    margin-right: 0;
    width: auto;
    float: right;
    left: 1rem;
}

@media (max-width: 700px) {
    .richtext-image.right {
        float: none;
        display: block;
        margin: 1rem auto;
        max-width: 100%;
    }

    .richtext-image.left {

        float: none;
        display: block;
        margin: 1rem auto;
        max-width: 100%;
    }
}

/* Social Sharing Styles */
.social-sharing {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--genco-bg);
    color: var(--genco-green);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--genco-green);
}

.social-link:hover {
    background-color: var(--genco-green);
    color: var(--genco-bg);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}


.footer {
    background-color: var(--genco-gold-light);
    border-top: 1px solid var(--genco-green);
    padding: 2rem;
}

.footer-message {
    margin: 0 0 1rem;
}

.footer-message-text {
    color: var(--genco-green);
    font-weight: 600;
}

.form.-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form.-inline > div {
    flex: 1 1 12rem;
    min-width: 0;
}

.form.-inline .cf-turnstile {
    flex: 1 1 100%;
    order: -1;
}

.form .input {
    background-color: transparent;
    border: 1px solid var(--genco-green);
    font-size: 1rem;
    padding: 1rem;
    width: 100%;
}

.form .submit {
    font-size: 1rem;
    background-color: var(--genco-green);
    padding: 1rem 2rem;
    border: none;
    color: var(--genco-bg);
    border-radius: 4rem;
    width: 100%;
}

.lead-capture-form-block {
    margin: 1.5rem 0;
}

.lead-capture-form-messages {
    margin: 0 0 0.75rem;
}

.lead-capture-form-message {
    margin: 0;
    color: var(--genco-green);
    font-weight: 600;
}

.contact-page-form-block {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--genco-green);
}

.contact-page-form-block > h2 {
    margin: 0 0 1rem;
}

.contact-page-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-page-form > div {
    flex: 1 1 16rem;
    min-width: 0;
}

.contact-page-form label {
    display: block;
    margin: 0 0 0.4rem;
    font-weight: 600;
}

.contact-page-form-services {
    flex: 1 1 100%;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--genco-green);
    padding: 1rem;
}

.contact-page-form-services legend {
    font-weight: 600;
    padding: 0 0.35rem;
}

.contact-page-form-services input[type="checkbox"] {
    margin-right: 0.5rem;
}

.contact-page-form .contact-page-form-message-field {
    flex-basis: 100%;
}

.contact-page-form textarea.input {
    resize: vertical;
}

.contact-page-form-messages {
    margin: 0 0 0.75rem;
}

.contact-page-form-message {
    margin: 0;
    color: var(--genco-green);
    font-weight: 600;
}

.blog-intro {
    display: flex; 
    gap: 2rem;
    margin-bottom: 1rem;
}

.blog-list {
    margin-top: 1rem;
}

/* About Page */
.about-page .content {
    max-width: 1100px;
}

.about-people {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 3rem;
}

.about-person {
    flex: 1 1 16rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-person-photo img {
    display: block;
    border-radius: 0.5rem;
    max-width: 100%;
    height: auto;
}

.about-person-name {
    margin-bottom: 0;
}

.about-person-bio p:last-child {
    margin-bottom: 0;
}

.about-bottom-photo {
    margin-top: 2rem;
}

.about-bottom-photo img {
    width: 100%;
    height: auto;
    display: block;
}
