.home {
    width: min(100% - 2rem, 1200px);
    margin-inline: auto;
    padding-block: 1.5rem 4rem;
}


.home-section {
    margin-top: 4rem;
}


.home-section-heading {
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.home-section-heading h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.1;
}

.home-section-heading p {
    margin: 0;
    color: var(--text-muted, #617068);
    font-size: 1.05rem;
}


/* HERO */

.home-hero {
    display: grid;
    overflow: hidden;

    background: var(--surface, #ffffff);

    border: 1px solid var(--border, #d7dfda);
    border-radius: 1.25rem;
}

.home-hero-content {
    padding: 2rem 1.4rem;
}

.home-eyebrow {
    margin: 0 0 0.8rem;

    color: #287052;

    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 720px;

    margin: 0;

    font-size: clamp(2.5rem, 9vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.home-hero-text {
    max-width: 650px;

    margin: 1.5rem 0 0;

    color: var(--text-muted, #536159);

    font-size: 1.08rem;
    line-height: 1.65;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;

    margin-top: 1.6rem;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0.7rem 1.15rem;

    border-radius: 0.65rem;

    font-weight: 700;
    text-decoration: none;
}

.home-button-primary {
    background: #267052;
    color: #ffffff;
}

.home-button-primary:hover {
    background: #1e5e44;
}

.home-button-secondary {
    background: #edf4ef;
    color: #183f31;
}

.home-button-secondary:hover {
    background: #e1ece5;
}

.home-hero-media {
    min-height: 260px;
}

.home-hero-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* CATEGORIES */

.home-category-grid {
    display: grid;
    gap: 1rem;
}

.home-category-card {
    padding: 1.35rem;

    background: var(--surface, #ffffff);

    border: 1px solid var(--border, #d7dfda);
    border-radius: 1rem;
}

.home-category-card-title {
    margin: 0;

    font-size: 1.25rem;
}

.home-category-card-description {
    margin: 0.8rem 0 1rem;

    color: var(--text-muted, #617068);
    line-height: 1.55;
}

.home-category-card-links {
    margin: 0;
    padding-left: 1.2rem;
}

.home-category-card-links li + li {
    margin-top: 0.45rem;
}

.home-category-card-links a {
    font-weight: 650;
}


/* FEATURED */

.home-featured-grid {
    display: grid;
    gap: 1rem;
}

.home-featured-card {
    overflow: hidden;

    background: var(--surface, #ffffff);

    border: 1px solid var(--border, #d7dfda);
    border-radius: 1rem;
}

.home-featured-card-image {
    display: block;

    aspect-ratio: 16 / 9;

    overflow: hidden;
}

.home-featured-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.home-featured-card:hover
.home-featured-card-image img {
    transform: scale(1.025);
}

.home-featured-card-content {
    padding: 1.25rem;
}

.home-featured-card-content h3 {
    margin: 0;

    font-size: 1.35rem;
}

.home-featured-card-content h3 a {
    color: inherit;
    text-decoration: none;
}

.home-featured-card-content p {
    margin: 0.8rem 0 1rem;

    color: var(--text-muted, #617068);
    line-height: 1.55;
}

.home-card-more {
    font-weight: 750;
}


/* JOURNEY */

.home-journey {
    margin-top: 4rem;
    padding: 1.5rem;

    background: #e9f2ec;

    border-radius: 1.25rem;
}

.home-journey-steps {
    display: grid;
    gap: 0.75rem;

    margin: 1.5rem 0 0;
    padding: 0;

    list-style: none;
}

.home-journey-step a {
    display: flex;
    gap: 1rem;
    align-items: center;

    padding: 1rem;

    background: rgba(255, 255, 255, 0.72);

    border-radius: 0.8rem;

    color: inherit;
    text-decoration: none;
}

.home-journey-number {
    display: grid;
    flex: 0 0 2.3rem;

    width: 2.3rem;
    height: 2.3rem;

    place-items: center;

    border-radius: 50%;

    background: #267052;
    color: #ffffff;

    font-weight: 800;
}

.home-journey-content {
    display: grid;
    gap: 0.2rem;
}

.home-journey-content strong {
    font-size: 1.05rem;
}

.home-journey-content span {
    color: var(--text-muted, #617068);
    font-size: 0.92rem;
}


/* ABOUT */

.home-about {
    display: grid;
    overflow: hidden;

    background: var(--surface, #ffffff);

    border: 1px solid var(--border, #d7dfda);
    border-radius: 1.25rem;
}

.home-about-content {
    padding: 1.6rem;
}

.home-about-content h2 {
    margin-top: 0;

    font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.home-about-content p {
    margin-bottom: 0;

    font-size: 1.05rem;
    line-height: 1.7;
}

.home-about-media img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 240px;

    object-fit: cover;
}


/* TOPICS */

.home-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.home-topic-list a {
    padding: 0.6rem 0.85rem;

    background: var(--surface, #ffffff);

    border: 1px solid var(--border, #d7dfda);
    border-radius: 999px;

    font-weight: 650;
    text-decoration: none;
}

.home-topic-list a:hover {
    background: #edf4ef;
}


/* GALLERY */

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.home-gallery-grid img {
    display: block;

    width: 100%;
    height: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 0.75rem;
}


/* TABLET */

@media (min-width: 700px) {

    .home {
        padding-block: 2rem 5rem;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .home-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}


/* DESKTOP */

@media (min-width: 960px) {

    .home {
        width: min(100% - 3rem, 1200px);
    }

    .home-hero {
        grid-template-columns: 1.1fr 0.9fr;
        min-height: 500px;
    }

    .home-hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;

        padding: 3.5rem;
    }

    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-journey {
        padding: 2rem;
    }

    .home-journey-steps {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .home-journey-step a {
        height: 100%;

        flex-direction: column;
        align-items: flex-start;
    }

    .home-about {
        grid-template-columns: 1fr 1fr;
    }

    .home-about-content {
        display: flex;
        flex-direction: column;
        justify-content: center;

        padding: 3rem;
    }

}
