:root {
    --capy-green: #3b6c4e;
    --capy-yellow: #eed793;
    --color-white: #ffffff;
    --header-height: 100px;
    --font-body:
        system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
}

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

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.5;
    background: var(--color-white);
    color: var(--capy-green);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

/* Header */
.site-header {
    background: var(--color-white);
    color: var(--capy-green);
    min-height: var(--header-height);
    width: 100%;
    border: 0;
}

.header-inner {
    min-height: var(--header-height);
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.site-title {
    margin: 0;
    font-size: clamp(1.25rem, 2.3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--capy-green);
}

/* Navigation */
.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 600;
    color: var(--capy-green);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover,
.nav-link:focus-visible,
.brand-link:hover,
.brand-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Hamburger button (mobile only) */
.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--capy-green);
    padding: 0.5rem;
    margin: 0;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--capy-green);
}

/* Content */
.site-main {
    background: var(--color-white);
    color: var(--capy-green);
    width: 100%;
    margin: 0;
    padding: 0;
}

.site-main .block {
    padding: 0px 50px 50px 50px;
}

.site-main .block.block-white {
    background-color: var(--color-white);
    color: var(--capy-green);
}

.site-main .block.block-green {
    background-color: var(--capy-green);
    color: var(--color-white);
}

.site-main .block.block-yellow {
    background-color: var(--capy-yellow);
    color: var(--capy-green);
}

.target-logo {
    text-align: center;
    max-width: 500px;
}

.content-placeholder {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
}

/* Footer */
.site-footer {
    background: var(--capy-yellow);
    color: var(--capy-green);
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: auto;
    overflow: hidden;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 0;
}

.footer-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-text {
    max-width: 600px;
    flex: 1;
}

.footer-badge {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background-image: url("img/circle-badge.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg);
}

.footer-badge-text {
    color: var(--capy-yellow);
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    line-height: 1.2;
}

.footer-heading {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--capy-green);
}

.footer-body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--capy-green);
}

.footer-capys {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.footer-capy {
    width: 300px;
    flex-shrink: 0;
    display: block;
    margin-left: -120px;
    position: relative;
}

.footer-capy:first-child {
    margin-left: 0;
}

.footer-capy:nth-child(1) {
    z-index: 1;
}
.footer-capy:nth-child(2) {
    z-index: 2;
    width: 280px;
}
.footer-capy:nth-child(3) {
    z-index: 3;
    margin-right: -40px;
    width: 350px;
}
.footer-capy:nth-child(4) {
    z-index: 4;
}

@media (max-width: 768px) {
    .footer-capy {
        width: 35vw;
        margin-left: -15vw;
    }

    .footer-capy:first-child {
        margin-left: 0;
    }

    .footer-capy:nth-child(2) {
        width: 32.8vw;
    }

    .footer-capy:nth-child(3) {
        width: 40.4vw;
        margin-right: -6vw;
    }

    .footer-capy:nth-child(4) {
        width: 35vw;
    }
}

.target-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.target-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.target-logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: var(--color-white);
    width: 100%;
}

.target-logo img {
    width: 100%;
    height: auto;
}

.target-details {
    color: var(--capy-green);
}

.detail-row {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(59, 108, 78, 0.2);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row dt {
    font-weight: 600;
}

.detail-row dd {
    margin: 0;
}

/* Responsive nav */
@media (max-width: 768px) {
    .header-inner {
        position: relative;
        align-items: center;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--color-white);
        padding: 0.25rem 1rem 0.75rem;
        z-index: 1000;
    }

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

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