/* The hero row: a flat fresh-green banner with real product photos on white wells, and two side tiles. */
.hero-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 20px;
}
.hero-main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    min-height: 448px;
    padding: 44px 44px 44px 52px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--primary);
    color: var(--on-fill);
}
.hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--deep) 22%, var(--clear));
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.hero-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--on-fill);
}
.hero-copy h1 {
    margin: 20px 0 16px;
    color: var(--on-fill);
    font-family: var(--font-display);
    font-size: clamp(40px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}
.hero-copy p {
    max-width: 34ch;
    margin: 0 0 28px;
    color: color-mix(in srgb, var(--on-fill) 84%, var(--clear));
    font-size: 17px;
    line-height: 1.55;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}
.storefront .hero-cta {
    padding-inline: 24px 20px;
}
.hero-link,
.hero-link:hover {
    color: var(--on-fill);
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.hero-link:hover {
    text-decoration-thickness: 3px;
}
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 32px 0 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
}
.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-points li::before {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("../check.svg") center / contain no-repeat;
    mask: url("../check.svg") center / contain no-repeat;
}

/* Three real product photos as a small bento: one large well, two beside it. */
.hero-photos {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    height: 360px;
}
.hero-photos-1 {
    grid-template-columns: minmax(0, 1fr);
}
.hero-photos-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-photo,
.hero-photo:hover {
    color: var(--deep);
}
.hero-photo {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--photo);
    box-shadow: 0 20px 44px color-mix(in srgb, var(--deep) 18%, var(--clear));
    transition: transform 0.25s ease;
}
.hero-photo:hover {
    transform: translateY(-4px);
}
.hero-photo:first-child {
    grid-row: 1 / 3;
}
.hero-photos-2 .hero-photo:last-child {
    grid-row: 1 / 3;
}
.hero-photo img {
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    object-fit: contain;
    transition: transform 0.35s ease;
}
.hero-photo:hover img {
    transform: scale(1.04);
}
.hero-photo-tag {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 4px 2px;
    border-top: 1px solid color-mix(in srgb, var(--deep) 8%, var(--clear));
    line-height: 20px;
}
.hero-photo-name {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hero-photo-price {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
}
.hero-photo:not(:first-child) {
    padding-bottom: 38px;
}
.hero-photo:not(:first-child) .hero-photo-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 2px 10px;
    border: 0;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--primary) 22%, var(--photo));
}
.hero-photo:not(:first-child) .hero-photo-name {
    display: none;
}
.hero-photo:not(:first-child) .hero-photo-price {
    font-size: 13px;
}

/* Side tiles: a light green tint and a black one, each with a large photo on a white well. */
.hero-side {
    display: grid;
    grid-template-rows: repeat(auto-fit, minmax(0, 1fr));
    gap: 20px;
}
.hero-tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding: 20px 20px 20px 28px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.hero-tile-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}
.hero-tile-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
}
.hero-tile-text {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.hero-tile-link {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
}
.hero-tile-photo {
    display: block;
    flex: none;
    width: 172px;
    aspect-ratio: 1;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--photo);
}
.hero-tile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}
.hero-tile:hover .hero-tile-photo img {
    transform: scale(1.06);
}
.hero-tile-soft,
.hero-tile-soft:hover {
    background: var(--primary-soft);
    color: var(--ink);
}
.hero-tile-soft .home-label,
.hero-tile-soft .hero-tile-link {
    color: var(--accent-strong);
}
.hero-tile-soft .hero-tile-text {
    color: var(--text);
}
.hero-tile-deep,
.hero-tile-deep:hover {
    background: var(--deep);
    color: var(--inverse);
}
.hero-tile-deep {
    border: 1px solid color-mix(in srgb, var(--inverse) 8%, var(--clear));
}
.hero-tile-deep .home-label,
.hero-tile-deep .hero-tile-link {
    color: var(--primary);
}
.hero-tile-deep .hero-tile-text {
    color: color-mix(in srgb, var(--inverse) 72%, var(--clear));
}

@media (max-width: 1199px) {
    .hero-row {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-side {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        grid-template-rows: none;
    }
}
@media (max-width: 899px) {
    .hero-main {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding: 36px;
    }
    .hero-photos {
        height: 320px;
    }
    .hero-tile-photo {
        width: 132px;
    }
}
@media (max-width: 639px) {
    .hero-row {
        gap: 12px;
    }
    .hero-main {
        gap: 24px;
        padding: 28px 20px 20px;
        border-radius: var(--radius);
        background: var(--primary);
    }
    .hero-copy h1 {
        margin: 16px 0 12px;
        font-size: 36px;
    }
    .hero-copy p {
        margin-bottom: 22px;
        font-size: 15px;
    }
    .hero-actions {
        gap: 12px 20px;
    }
    .hero-points {
        margin-top: 22px;
        gap: 6px 16px;
        font-size: 13px;
    }
    .hero-photos {
        height: 250px;
        gap: 10px;
    }
    .hero-photo {
        padding: 10px;
    }
    .hero-photo-name {
        font-size: 13px;
    }
    .hero-photo-price {
        font-size: 15px;
    }
    .hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .hero-tile {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 12px;
        padding: 12px 12px 16px;
        border-radius: var(--radius);
    }
    .hero-tile-photo {
        width: 100%;
        aspect-ratio: 1.35;
        padding: 8px;
    }
    .hero-tile-copy {
        gap: 4px;
        padding-inline: 4px;
    }
    .hero-tile-title {
        font-size: 20px;
    }
    .hero-tile-text {
        font-size: 13px;
        line-height: 18px;
    }
    .hero-tile-link {
        margin-top: 4px;
        font-size: 13px;
    }
}
