/* Harthenshade homepage refinements */
.home-page {
    --home-ink: #2f3c32;
    --home-sage: #6f8a73;
    --home-cream: #f5f2ea;
    --home-blush: #ead8ca;
    overflow-x: hidden;
}

.home-page .container {
    width: min(100% - 3rem, 1280px);
    margin-inline: auto;
}

.home-page .announcement-bar {
    padding: 0.65rem 1rem;
    background: var(--home-ink);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
}

.home-page .announcement-bar a {
    display: inline-block;
    margin-left: 0.55rem;
    text-underline-offset: 3px;
}

.home-page .header-inner {
    padding-block: 0.7rem;
}

.home-page .logo img {
    height: 54px;
}

.home-page .nav {
    gap: clamp(0.8rem, 1.4vw, 1.65rem);
}

.home-page .nav-link {
    font-size: 0.91rem;
}

.home-page .header-icons {
    gap: 0.35rem;
}

.home-page .icon-btn {
    padding: 0.6rem;
}

.home-page main>section {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.home-page .hero {
    padding-block: clamp(3rem, 6vw, 5.5rem);
    background: radial-gradient(circle at 15% 15%, #fffdf8 0, transparent 38%), var(--home-cream);
}

.home-page .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 5.5rem);
}

.home-page .hero-content {
    padding-right: 0;
    max-width: 560px;
}

.home-page .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--home-sage);
    font-size: 0.76rem;
    letter-spacing: 0.17em;
}

.home-page .hero-eyebrow::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

.home-page .hero-title {
    max-width: 570px;
    margin-bottom: 1.25rem;
    color: var(--home-ink);
    background: none;
    font-size: clamp(2.8rem, 5.2vw, 5rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
    -webkit-text-fill-color: currentColor;
}

.home-page .hero-description {
    max-width: 470px;
    margin-bottom: 1.8rem;
    color: #687168;
    font-size: 1.08rem;
    line-height: 1.8;
}

.home-page .hero-buttons {
    gap: 0.75rem;
}

.home-page .hero-buttons .btn,
.home-page .newsletter-form button {
    min-height: 50px;
    border-radius: 999px;
    padding-inline: 1.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.home-page .btn-primary {
    background: var(--home-sage);
}

.home-page .btn-primary:hover {
    background: #526b57;
}

.home-page .btn-secondary {
    border: 1px solid #d8d5cb;
    background: rgba(255, 255, 255, 0.55);
}

.home-page .btn-secondary:hover {
    color: #201818;
}

.home-page .hero-image {
    min-height: 390px;
    border-radius: 48% 48% 22px 22px;
    background: var(--home-blush);
    box-shadow: 18px 18px 0 rgba(111, 138, 115, 0.12);
}

.home-page .hero-image img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
    box-shadow: none;
}

.home-page .service-strip {
    border-block: 1px solid #ece8df;
    background: #fffefa;
    padding-block: 1.35rem;
}

.home-page .service-strip-inner {
    gap: 1.25rem;
}

.home-page .service-item {
    min-width: 0;
}

.home-page .service-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f2f2e9;
}

.home-page .service-icon svg {
    width: 21px;
    height: 21px;
    color: var(--home-sage);
}

.home-page .service-content h4 {
    color: var(--home-ink);
    font-size: 0.9rem;
}

.home-page .service-content p {
    font-size: 0.78rem;
    line-height: 1.4;
}

.home-page .section-title {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.home-page .section-title h2 {
    color: var(--home-ink);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    letter-spacing: -0.035em;
}

.home-page .section-title p {
    color: #777d73;
    font-size: 1rem;
}

.home-page .category-section {
    background: #fffefa;
}

.home-page .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.home-page .category-card {
    border: 1px solid #eeeae1;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(47, 60, 50, 0.045);
}

.home-page .category-card:hover {
    box-shadow: 0 14px 34px rgba(47, 60, 50, 0.1);
}

.home-page .category-image {
    height: clamp(155px, 17vw, 220px);
    background: var(--home-cream);
}

.home-page .category-image img {
    transition: transform 0.45s ease;
}

.home-page .category-content {
    padding: 1.1rem 1rem 1.2rem;
}

.home-page .category-content h3 {
    color: var(--home-ink);
    font-size: 1.05rem;
}

.home-page .category-content p {
    font-size: 0.82rem;
    line-height: 1.55;
}

.home-page #featured-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.home-page .product-card {
    display: flex;
    flex-direction: column;
    border-color: #eeeae1;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(47, 60, 50, 0.05);
}

.home-page .product-card:hover {
    border-color: #cbd5c8;
    box-shadow: 0 14px 32px rgba(47, 60, 50, 0.11);
    transform: translateY(-5px);
}

.home-page .product-image {
    height: clamp(205px, 24vw, 300px);
    border-radius: 16px 16px 0 0;
    background: #f6f4ef;
}

.home-page .product-image img {
    padding: 0.8rem;
}

.home-page .product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.1rem;
}

.home-page .product-name {
    min-height: 2.9em;
    font-size: 1rem;
}

.home-page .product-add-cart {
    margin-top: auto;
    border-radius: 999px;
    background: var(--home-sage);
}

.home-page .text-center .btn-outline {
    border-color: var(--home-sage);
    border-radius: 999px;
    color: var(--home-sage);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.home-page .banner {
    margin: 0;
    padding-block: 1rem;
    background: #fffefa;
}

.home-page .banner-inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #526b57;
}

.home-page .banner-content {
    align-self: stretch;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 0;
    background: transparent;
}

.home-page .banner-content h2 {
    color: #fffdf7;
    font-size: clamp(1.9rem, 3.3vw, 3rem);
    letter-spacing: -0.035em;
}

.home-page .banner-content p {
    color: #e3e9dd;
    line-height: 1.8;
}

.home-page .banner-content .btn-primary {
    background: #f0e6d2;
    color: var(--home-ink);
}

.home-page .banner-content .btn-primary:hover {
    background: #fff;
}

.home-page .banner-image {
    min-height: 350px;
    overflow: hidden;
}

.home-page .banner-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 0;
    object-fit: cover;
}

.home-page .stage-section {
    background: #fffefa;
}

.home-page .stage-card,
.home-page .why-card,
.home-page .testimonial-card {
    border: 1px solid #eeeae1;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(47, 60, 50, 0.045);
}

.home-page .stage-card {
    padding: 2rem 1.5rem;
}

.home-page .stage-card:hover {
    border-color: #d6ded1;
    box-shadow: 0 14px 32px rgba(47, 60, 50, 0.09);
}

.home-page .stage-icon,
.home-page .why-card-icon {
    background: #f1f2e9;
}

.home-page .stage-icon svg,
.home-page .why-card-icon svg {
    color: var(--home-sage);
}

.home-page .stage-card h3,
.home-page .why-card h3 {
    color: var(--home-ink);
}

.home-page .why-choose {
    background: var(--home-cream);
}

.home-page .why-card {
    height: 100%;
    padding: 1.6rem 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(47, 60, 50, 0.09);
}

.home-page .testimonials {
    background: #fffefa;
}

.home-page .testimonial-card {
    padding: 1.7rem;
}

.home-page .testimonial-text {
    color: #59645a;
    line-height: 1.75;
}

.home-page .testimonial-author {
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #eeeae1;
}

.home-page .testimonial-author-name {
    color: var(--home-ink);
}

.home-page .testimonial-product {
    color: #7b8279;
}

.home-page .newsletter {
    padding-block: clamp(3rem, 6vw, 5rem);
    background: #e9eee5;
    text-align: center;
}

.home-page .newsletter h2 {
    color: var(--home-ink);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.035em;
}

.home-page .newsletter>.container>p {
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.home-page .newsletter-form {
    display: flex;
    max-width: 540px;
    gap: 0.65rem;
    margin-inline: auto;
}

.home-page .newsletter-form input {
    min-width: 0;
    border: 1px solid #d9dfd4;
    border-radius: 999px;
    background: #fffefa;
    padding-inline: 1.25rem;
}

.home-page .newsletter-form button {
    flex: 0 0 auto;
    border: 0;
    background: var(--home-sage);
    color: #fff;
    cursor: pointer;
}

.home-page .footer {
    background: #2f3c32;
}

.home-page .footer h4,
.home-page .footer p,
.home-page .footer a {
    color: #e7ebe4;
}

.home-page .footer a:hover {
    color: #c5d4bf;
}

.home-page .footer-bottom {
    border-color: rgba(255, 255, 255, 0.16);
}

.home-page :focus-visible {
    outline: 3px solid #b58d70;
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .home-page .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-page #featured-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-page .hero-inner {
        gap: 2.5rem;
    }
}

@media (max-width: 1023px) {
    .home-page .header-inner {
        padding-block: 0.65rem;
    }

    .home-page .hero-inner {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .home-page .hero-content {
        margin-bottom: 0;
    }

    .home-page .hero-buttons {
        justify-content: flex-start;
    }

    .home-page .hero-description {
        margin-inline: 0;
    }

    .home-page .banner-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .home-page .container {
        width: min(100% - 2rem, 560px);
    }

    .home-page .header-inner>.logo {
        flex: 0 0 auto;
    }

    .home-page .logo img {
        height: 40px;
        flex: 0 0 auto;
    }

    .home-page .header-icons {
        gap: 0.05rem;
        flex: 0 0 auto;
    }

    .home-page .icon-btn {
        padding: 0.45rem;
    }

    .home-page .icon-btn[aria-label="Account"] {
        display: none;
    }

    .home-page .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-page .hero-content {
        margin: 0 auto;
    }

    .home-page .hero-eyebrow {
        justify-content: center;
    }

    .home-page .hero-title {
        margin-inline: auto;
        font-size: clamp(2.6rem, 11vw, 4rem);
    }

    .home-page .hero-description {
        margin-inline: auto;
    }

    .home-page .hero-buttons {
        justify-content: center;
    }

    .home-page .hero-image,
    .home-page .hero-image img {
        min-height: 0;
        aspect-ratio: 1.15;
    }

    .home-page .service-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.75rem;
    }

    .home-page .service-icon {
        width: 38px;
        height: 38px;
    }

    .home-page .service-content h4 {
        font-size: 0.82rem;
    }

    .home-page .service-content p {
        font-size: 0.72rem;
    }

    .home-page .category-grid,
    .home-page #featured-products,
    .home-page .stage-grid,
    .home-page .why-choose-grid,
    .home-page .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .category-image {
        height: 170px;
    }

    .home-page .category-content {
        padding: 0.9rem;
    }

    .home-page .category-content h3 {
        font-size: 0.98rem;
    }

    .home-page .product-image {
        height: 220px;
    }

    .home-page .product-info {
        padding: 0.9rem;
    }

    .home-page .product-name {
        font-size: 0.92rem;
    }

    .home-page .banner-inner {
        grid-template-columns: 1fr;
    }

    .home-page .banner-image {
        order: -1;
        min-height: 230px;
    }

    .home-page .banner-image img {
        min-height: 230px;
    }

    .home-page .banner-content {
        padding: 1.6rem;
    }

    .home-page .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 479px) {
    .home-page .announcement-bar {
        font-size: 0.68rem;
    }

    .home-page .category-grid,
    .home-page #featured-products,
    .home-page .stage-grid,
    .home-page .why-choose-grid,
    .home-page .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .home-page .category-image {
        height: 225px;
    }

    .home-page .product-image {
        height: 280px;
    }

    .home-page .hero-buttons .btn {
        width: 100%;
    }

    .home-page .mobile-nav {
        max-width: min(340px, 88vw);
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}