﻿:root {
    --brand-green: #075d31;
    --brand-green-dark: #044723;
    --brand-green-soft: #e9f0eb;
    --cream: #faf7f0;
    --cream-dark: #ebe4d7;
    --warm-gray: #eeeae2;
    --ink: #2b2b28;
    --muted: #647069;
    --line: #d9ddd9;
    --white: #fff;
    --focus: #ffbf47;
    --shadow-sm: 0 10px 30px rgba(14, 47, 31, .08);
    --shadow-lg: 0 24px 65px rgba(8, 43, 25, .16);
}

body {
    font-family: "Montserrat", Arial, sans-serif;
}

.section-padding {
    padding: 4.5rem 0;
}

.section-eyebrow {
    margin-bottom: .75rem;
    color: var(--brand-green);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.display-title {
    max-width: 760px;
    color: var(--ink);
    font-family: "Calistoga", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 400;
    line-height: 1.08;
}

.section-intro {
    max-width: 560px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.page-header {
    padding: 3.5rem 0;
    background: var(--cream);
}

.page-title {
    margin-bottom: .75rem;
    color: var(--ink);
    font-family: "Calistoga", Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1;
}

.page-intro {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.card {
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
    color: var(--ink);
    padding: 1rem;
}

/* Navbar */

.navbar-nav {
    gap: .25rem;
}


.navbar {
    padding-block: .65rem;
}

    /* Navbar links */
    .navbar .nav-link {
        position: relative;
        padding: .9rem .8rem;
        font-size: .95rem;
        font-weight: 600;
        letter-spacing: .02em;
        color: var(--brand-green-dark);
    }

        .navbar .nav-link::after {
            content: "";
            position: absolute;
            left: .8rem;
            right: .8rem;
            bottom: .45rem;
            height: 2px;
            background: var(--brand-green);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform .2s ease;
        }

        .navbar .nav-link:hover::after,
        .navbar .nav-link:focus-visible::after,
        .navbar .nav-link.active::after {
            transform: scaleX(1);
        }

/* Brand logo */

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-right: .5rem;
    padding: .25rem 0;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

    .brand-logo:hover,
    .brand-logo:focus {
        color: inherit;
        text-decoration: none;
    }

    .brand-logo:focus-visible {
        outline: 3px solid var(--focus);
        outline-offset: 4px;
        border-radius: .35rem;
    }

.brand-clover {
    width: 58px;
    height: auto;
    margin-top: -.7rem;
    margin-right: -.55rem;
    flex-shrink: 0;
    transform: rotate(-8deg);
}

.brand-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.brand-name {
    display: block;
    color: var(--brand-green-dark);
    font-family: "Calistoga", Georgia, serif;
    font-size: 2.15rem;
    font-weight: 400;
    line-height: .82;
    letter-spacing: -.045em;
    -webkit-text-stroke: 2px var(--cream-dark);
    paint-order: stroke fill;
}

.brand-subtitle {
    display: block;
    margin-top: .48rem;
    padding-left: .16em;
    color: var(--brand-green-dark);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: .48rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.brand-star {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    align-self: center;
    gap: .35rem;
    width: 82%;
    margin-top: .2rem;
    color: var(--brand-green-dark);
    font-family: Arial, sans-serif;
    font-size: .55rem;
    line-height: 1;
}

    .brand-star::before,
    .brand-star::after {
        content: "";
        height: 1px;
        background-color: var(--cream-dark);
    }

.site-footer {
    background: var(--brand-green-dark);
    color: rgba(255, 255, 255, .92);
    text-align: center;
}

    .site-footer a {
        color: rgba(255, 255, 255, .9);
        text-decoration-color: rgba(255, 255, 255, .45);
        text-decoration-thickness: 1px;
        text-underline-offset: .22em;
        transition: color .2s ease, text-decoration-color .2s ease;
    }

        .site-footer a:hover,
        .site-footer a:focus-visible {
            color: var(--white);
            text-decoration-color: currentColor;
        }

.footer-title {
    margin-bottom: 1rem;
    color: var(--white);
    font-family: "Calistoga", Georgia, serif;
    font-size: 1.8rem;
}

.footer-address {
    font-style: normal;
    line-height: 1.8;
    opacity: .9;
}

.footer-eho {
    width: auto;
    height: 56px;
}

.footer-wheelchair {
    color: var(--white);
    font-size: 3rem;
    line-height: 1;
}

.site-footer hr {
    border-color: rgba(255, 255, 255, .15);
    opacity: 1;
}

.footer-bottom {
    font-size: .9rem;
}

/* Hero */

.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--brand-green-dark);
    color: var(--white);
}

.home-hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("images/office.jpeg");
    background-position: center 42%;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient( 90deg, rgba(18, 22, 20, .90) 0%, rgba(18, 22, 20, .78) 30%, rgba(18, 22, 20, .48) 52%, rgba(18, 22, 20, .16) 75%, rgba(18, 22, 20, .04) 100% );
}

.min-vh-hero {
    min-height: clamp(500px, 68vh, 720px);
}

.hero-content {
    max-width: 680px;
    padding: 5rem 0;
}

    .hero-content h1 {
        margin-bottom: 1.25rem;
        color: var(--white);
        font-family: "Calistoga", Georgia, serif;
        font-size: clamp(2.65rem, 6vw, 5.3rem);
        font-weight: 400;
        letter-spacing: -.025em;
        line-height: .98;
    }

.hero-lead {
    max-width: 620px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    line-height: 1.75;
}

.btn-cream {
    border: 2px solid var(--cream);
    background: var(--cream);
    color: var(--brand-green-dark);
}

    .btn-cream:hover,
    .btn-cream:focus-visible {
        border-color: var(--white);
        background: var(--white);
        color: var(--brand-green-dark);
    }

.btn-green {
    border: 2px solid var(--brand-green);
    background: var(--brand-green);
    color: #fff;
}

.btn-green:hover,
.btn-green:focus-visible {
    border-color: var(--brand-green-dark);
    background: var(--brand-green-dark);
    color: var(--white);
}

.home-hero .btn {
    border-radius: .45rem;
    padding: .82rem 1.2rem;
    font-weight: 700;
}


/* Mission */

.mission-section {
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

    .mission-section::after {
        content: "★";
        position: absolute;
        right: 4%;
        bottom: -3rem;
        color: rgba(7, 93, 49, .045);
        font-size: 16rem;
        line-height: 1;
        pointer-events: none;
    }

.mission-heading,
.mission-content {
    position: relative;
    z-index: 1;
}

.mission-statement {
    margin-bottom: 1.35rem;
    color: var(--ink);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 600;
    line-height: 1.55;
}

.mission-content > p:not(.mission-statement) {
    max-width: 690px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* Text links */

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--brand-green);
    font-weight: 700;
    text-decoration-color: rgba(7, 93, 49, .38);
    text-decoration-thickness: 1px;
    text-underline-offset: .28em;
}

    .text-link:hover,
    .text-link:focus-visible {
        color: var(--brand-green-dark);
        text-decoration-color: currentColor;
    }


/* Quick Links */

.quick-links-section {
    background: var(--white);
}

.quick-link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

    .quick-link-card:hover,
    .quick-link-card:focus-visible {
        border-color: rgba(7, 93, 49, .35);
        color: var(--ink);
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.quick-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.5rem;
    border-radius: .8rem;
    background: var(--brand-green-soft);
    color: var(--brand-green);
    font-size: 1.25rem;
}

.quick-link-content {
    display: flex;
    flex-direction: column;
}

.quick-link-title {
    margin-bottom: .6rem;
    font-family: "Calistoga", Georgia, serif;
    font-size: 1.4rem;
    line-height: 1.2;
}

.quick-link-text {
    color: var(--muted);
    line-height: 1.65;
}

.quick-link-arrow {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--brand-green);
    transition: transform .2s ease;
}

.quick-link-card:hover .quick-link-arrow,
.quick-link-card:focus-visible .quick-link-arrow {
    transform: translateX(4px);
}

.quick-link-card:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}


/* News */

.news-section {
    background: var(--cream);
}


.news-item {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(7,93,49,.15);
}

.news-date {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--brand-green);
    text-transform: uppercase;
    margin-bottom: .6rem;
}

.news-title {
    font-family: "Calistoga", serif;
    font-size: 1.5rem;
    margin-bottom: .75rem;
}

.news-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

    .news-links a {
        color: var(--brand-green);
        font-weight: 600;
        text-decoration-line: underline;
        text-decoration-color: rgba(7, 93, 49, .45);
        text-decoration-thickness: 1px;
        text-underline-offset: .22em;
        transition: color .2s ease, text-decoration-color .2s ease;
    }

        .news-links a:hover,
        .news-links a:focus-visible {
            color: var(--brand-green-dark);
            text-decoration-color: currentColor;
        }

.document-heading {
    margin-bottom: .5rem;
    color: var(--ink);
    font-family: "Calistoga", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
}

.document-list {
    border-top: 1px solid var(--line);
}

.document-item {
    border-bottom: 1px solid var(--line);
}

.document-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    transition: color .2s ease;
}

    .document-link i {
        flex-shrink: 0;
        color: var(--brand-green);
        font-size: 1.15rem;
    }

    .document-link:hover,
    .document-link:focus-visible {
        color: var(--brand-green);
    }

    .document-link:focus-visible {
        outline: 3px solid var(--focus);
        outline-offset: 3px;
    }

.program-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .7rem;
    border-radius: .4rem;
    background: var(--brand-green);
    color: var(--white);
}

    .program-badge i {
        font-size: .85rem;
    }

.program-number {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
}

.program-unit-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
}


.hcv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--cream);
    color: var(--brand-green);
    font-size: .9rem;
}

/* Small tablets */
@media (min-width: 576px) {
    .brand-logo {
        gap: .6rem;
        margin-right: .75rem;
        padding: .3rem 0;
    }

    .brand-clover {
        width: 50px;
    }

    .brand-name {
        font-size: 2.3rem;
        -webkit-text-stroke-width: 4px;
    }

    .brand-subtitle {
        margin-top: .55rem;
        font-size: .57rem;
        letter-spacing: .2em;
    }

    .brand-star {
        grid-template-columns: minmax(32px, 1fr) auto minmax(32px, 1fr);
        gap: .4rem;
        margin-top: .32rem;
        font-size: .68rem;
    } 
}

/* Tablets */
@media (min-width: 768px) {
    .navbar {
        padding-block: .75rem;
    }

    .brand-logo {
        gap: .7rem;
        margin-right: 1rem;
    }

    .brand-clover {
        width: 56px;
    }

    .brand-name {
        font-size: 2.65rem;
    }

    .brand-subtitle {
        font-size: .64rem;
        letter-spacing: .22em;
    }

    .brand-star {
        grid-template-columns: minmax(38px, 1fr) auto minmax(38px, 1fr);
        font-size: .72rem;
    }
}

@media (max-width: 991.98px) {
    .home-hero::after {
        background: linear-gradient( 90deg, rgba(18, 22, 20, .88), rgba(18, 22, 20, .62) );
    }
}

/* Desktop */
@media (min-width: 992px) {
    .brand-clover {
        width: 58px;
        margin-top: -.72rem;
        margin-right: -.6rem;
    }

    .brand-name {
        font-size: 2.8rem;
        -webkit-text-stroke-width: 3px;
    }

    .brand-subtitle {
        margin-top: .6rem;
        font-size: .67rem;
        letter-spacing: .22em;
    }

    .brand-star {
        width: 84%;
        margin-top: .3rem;
        font-size: .72rem;
    }

    .section-padding {
        padding: 6rem 0;
    }   
}

/* Large desktops */
@media (min-width: 1200px) {
    .brand-logo {
        margin-right: 2rem;
    }

    .brand-clover {
        width: 66px;
    }

    .brand-name {
        font-size: 3.05rem;
    }

    .brand-subtitle {
        font-size: .72rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 3.75rem 0;
    }

    .min-vh-hero {
        min-height: 560px;
    }

    .home-hero-image {
        background-position: 62% center;
    }

    .home-hero::after {
        background: rgba(3, 42, 21, .76);
    }

    .hero-content {
        padding: 4.25rem 0;
    }

    .quick-link-card {
        min-height: 220px;
    }

    .home-hero::after {
        background: rgba(18, 22, 20, .74);
    }
}
