﻿:root {
    --ink: #17233c;
    --blue: #079ee7;
    --mint: #34d8bb;
    --green: #17653e;
    --wood: #9b5929;
    --cream: #fffdf8;
    --line: #d7e9df;
    --shadow: 0 18px 45px rgba(28,72,52,.12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 9% 40%,#ebf8e7 0,transparent 32%),radial-gradient(circle at 92% 65%,#e7f8f1 0,transparent 30%),#fbfdf8;
    color: var(--ink);
    font: 16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif
}

a {
    color: inherit
}

.site-header {
    background: linear-gradient(180deg,#eaf7ee 0,#f9fcf5 100%);
    overflow: hidden
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 17px clamp(20px,4vw,42px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: clamp(1.15rem,2vw,1.55rem);
    font-weight: 900;
    letter-spacing: -.045em
}

    .brand strong {
        color: var(--blue)
    }

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--mint);
    color: var(--green);
    transform: rotate(-8deg)
}

.header-link {
    border: 2px solid var(--green);
    border-radius: 999px;
    padding: 8px 18px;
    text-decoration: none;
    color: var(--green);
    font-weight: 750
}

    .header-link:hover {
        background: var(--green);
        color: #fff
    }

.hero {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: clamp(350px,46vw,356px);
    display: grid;
    place-items: center;
    padding: 30px 20px 70px
}

.hero-art {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(48%,540px);
    margin: 0 3% 2% 0;
    text-align: center
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--green);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase
}

.hero h1 {
    margin: 0;
    color: var(--blue);
    font-size: clamp(1.45rem,4.3vw,3.8rem);
    line-height: 1.03;
    letter-spacing: -.06em;
    font-weight: 950;
    text-shadow: 2px 3px 0 white
}

.hero-copy > p:last-child {
    max-width: 430px;
    margin: 14px auto 0;
    font-size: clamp(.75rem,1.3vw,1.05rem);
    font-weight: 650
}

.main-content {
    max-width: 950px;
    margin: 20px auto 80px;
    padding: 0 20px
}

.form-card {
    background: white;
    border: 1px solid #e3eee7;
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: clamp(22px,5vw,48px)
}
.shadowHeading {
    margin: 0;
    color: #17653e;
    font-size: clamp(1.45rem,4.3vw,3.8rem);
    line-height: 1.03;
    letter-spacing: -.06em;
    font-weight: 950;
    text-shadow: 2px 3px 0 var(--mint);

}
.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px
}

.section-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #d8f9ef;
    display: grid;
    place-items: center;
    color: #087e69;
    font-size: 1.7rem
}

.section-heading h2 {
    margin: 0;
    font-size: 3.65rem;
    line-height: 1.15
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.field-wide {
    grid-column: 1/-1
}

label {
    font-size: .9rem;
    font-weight: 750
}

    label span {
        color: #c44966
    }

input, select, textarea {

    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 12px 14px;
    outline: none;

}

    input:focus, select:focus, textarea:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px #079ee726
    }

textarea {
    resize: vertical;

}

::placeholder {
    color: #7a8a87
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px
}

    .form-actions p {
        font-size: .82rem;
        color: #64736e
    }

.button {
    border: 0;
    border-radius: 999px;
    padding: 13px 27px;
    background: linear-gradient(110deg,var(--green), #e2f4ea);
    color: white;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 0 var(--mint);
}

    button:hover {
        filter: brightness(.95)
    }

    button:active {
        transform: translateY(3px);
        box-shadow: 0 3px 0 #087b94
    }
.itemImage {
    max-width: 100px;
    min-width: 100px;
    width: 100%; /* Ensures the image scales fluidly between the min/max bounds */
    height: auto; /* Maintains original aspect ratio */
}
.site-footer {
    text-align: center;
    padding: 0 20px 36px;
    color: #557268;
    font-size: .85rem
}
.image-list {
   
    border: 1px solid #aaa;
    border-radius: 6px;
}



.image-list {
    max-height: 360px;
    overflow-y: auto;
    border: 1px solid #aaa;
    border-radius: 6px;
    container-type: inline-size;
}

.image-option {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 90px minmax(220px, 45%);
    align-items: center;
    gap: 16px;
    height: 80px;
    box-sizing: border-box;
    padding: 10px;
    border-bottom: 1px solid #eee;
}
    .image-option .item-quantity {
        width: 90px;
        height: 42px;
        padding: 6px;
    }
    .image-option label {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        cursor: pointer;
    }

    .image-option img {
        width: 48px;
        height: 48px;
        object-fit: contain;
        flex: none;
    }

    .image-option label span {
        min-width: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        white-space: normal;
    }

    .image-option textarea {
        display: none;
        width: 100%;
        height: 52px;
        box-sizing: border-box;
        resize: none;
    }

    .image-option:has(input[type="checkbox"]:checked) {
        background: #e8f2ff;
    }

        .image-option:has(input[type="checkbox"]:checked) textarea {
            display: block;
        }

@container (max-width: 800px) {
    .image-option {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 48px 42px 52px;
        height: 180px;
        gap: 4px;
    }

        .image-option .item-quantity {
            grid-column: 1;
            grid-row: 2;
        }

        .image-option textarea {
            grid-column: 1;
            grid-row: 3;
        }

        .image-option label {
            grid-row: 1;
        }

        .image-option textarea {
            grid-column: 1;
            grid-row: 2;
        }
}

.main-content {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
}

.form-card {
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

    .form-card .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-card .field {
        min-width: 0;
    }

        .form-card .field > input,
        .form-card .field > select,
        .form-card .field > textarea,
        .form-card .image-list {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

.image-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    flex: 0 0 18px;
}

@media (max-width: 700px) {
    .form-card .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}




@media(max-width:680px) {
    .header-link {
        font-size: .78rem;
        padding: 7px 12px
    }

    .hero {
        min-height: 380px;
        display: block;
        padding: 0
    }

    .hero-art {
        height: 270px;
        top: 0;
        object-position: center top
    }

    .hero-copy {
        width: auto;
        margin: 252px 20px 0;
        padding: 12px 10px 0
    }

    .hero h1 {
        font-size: 2rem
    }

    .hero-copy > p:last-child {
        font-size: .9rem
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column
    }

        .form-actions p {
            margin: 0
        }

        .form-actions button {
            align-self: flex-start
        }
}
@media (max-width: 800px) {
    .image-list {
        max-height: none;
        overflow: visible;
    }

    .image-option {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 64px 42px 52px;
        height: 192px;
        gap: 4px;
    }

        .image-option label {
            grid-column: 1;
            grid-row: 1;
            display: grid;
            grid-template-columns: 22px 56px minmax(0, 1fr);
            align-items: center;
            gap: 10px;
            width: 100%;
        }

    .form-card .image-option input[type="checkbox"] {
        display: block;
        width: 18px;
        min-width: 18px;
        height: 18px;
        margin: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        appearance: auto;
        accent-color: var(--blue);
    }

    .image-option img {
        width: 56px;
        min-width: 0;
        max-width: 56px;
        height: 56px;
        object-fit: contain;
    }

    .image-option label span {
        color: var(--ink);
    }

    .image-option .item-quantity {
        grid-column: 1;
        grid-row: 2;
    }

    .image-option textarea {
        grid-column: 1;
        grid-row: 3;
    }
}
/* Show the whole item list without an inner scrollbar. */
.image-list {
    max-height: none;
    overflow: visible;
}

/* Use identical columns for the headings and item rows. */
.image-list-header,
.image-option {
    grid-template-columns: minmax(180px, 1fr) 90px minmax(220px, 45%);
    column-gap: 16px;
}

.image-list-header {
    display: grid;
    padding: 10px;
    border-bottom: 2px solid var(--line);
    color: var(--green);
    font-size: .85rem;
    font-weight: 800;
}

.quantity-cell,
.notes-cell {
    min-width: 0;
}

.mobile-column-label {
    display: none;
}

.notes-cell {
    display: none;
}

.image-option:has(input[type="checkbox"]:checked) .notes-cell {
    display: block;
}

@media (max-width: 800px) {
    .image-list-header {
        display: none;
    }

    .image-option {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 64px 42px 76px;
        height: 216px;
        gap: 4px;
    }

    .quantity-cell {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .notes-cell {
        grid-column: 1;
        grid-row: 3;
    }

    .mobile-column-label {
        display: block;
        font-size: .8rem;
        font-weight: 750;
    }
}
/* Hide column headings until at least one critter is checked. */
.image-list .image-list-header {
    display: none;
}

@media (min-width: 801px) {
    .image-list:has(input[type="checkbox"]:checked) .image-list-header {
        display: grid;
    }
}

/* Hide each row's quantity and notes until that row is checked. */
.image-option .quantity-cell,
.image-option .notes-cell {
    display: none;
}

.image-option:has(input[type="checkbox"]:checked) .quantity-cell,
.image-option:has(input[type="checkbox"]:checked) .notes-cell {
    display: block;
}

@media (max-width: 800px) {
    .image-option:has(input[type="checkbox"]:checked) .quantity-cell {
        display: flex;
    }
}
.faq-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--green);
    font-size: .9rem;
    font-weight: 750;
}