/* Homepage only. Loaded after style.css on index.html. */

body.home .hero {
    align-items: center;
}

body.home .hero-background-img {
    object-position: 64% center;
}

body.home .hero .gradient-overlay {
    background:
        linear-gradient(90deg, rgba(8, 10, 16, 0.94) 0%, rgba(8, 10, 16, 0.82) 34%, rgba(8, 10, 16, 0.28) 62%, rgba(8, 10, 16, 0.42) 100%);
}

body.home .hero-container {
    width: 100%;
}

body.home .hero-content {
    text-align: left;
    margin: 0;
    max-width: 40rem;
    padding: 1.5rem 0 2rem;
}

body.home .hero-badge {
    margin-bottom: 1.35rem;
}

body.home .hero-title {
    font-size: clamp(2.8rem, 5vw, 4.7rem);
    line-height: 0.98;
    max-width: 11em;
    margin-bottom: 1.15rem;
}

body.home .hero-subtitle {
    margin: 0 0 1.75rem;
    max-width: 28ch;
    font-size: clamp(1.12rem, 1.5vw, 1.32rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

body.home .hero-buttons {
    justify-content: flex-start;
    margin-bottom: 0;
}

body.home .scroll-indicator {
    display: none;
}

body.home .partners-section {
    padding: 2.4rem 0 1.6rem;
}

body.home .partners-header,
body.home .section-header {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0.7rem 2.75rem;
    align-items: start;
    text-align: left;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

body.home .partners-header {
    margin-bottom: 1.15rem;
}

body.home .section-badge {
    grid-column: 1 / -1;
    justify-self: start;
}

body.home .section-badge::after {
    margin-left: 0;
    margin-right: 0;
}

body.home .section-title {
    margin-bottom: 0;
    font-size: clamp(1.85rem, 3.1vw, 2.75rem);
}

body.home .partners-header .section-title {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

body.home .section-subtitle,
body.home .partners-header .section-subtitle {
    margin: 0;
    max-width: none;
    text-align: left;
    font-size: 1.02rem;
    line-height: 1.6;
}

body.home .about-grid {
    margin-bottom: 2rem;
}

body.home .timeline-item {
    border-image: none;
    border-top: 2px solid #E91E63;
}

body.home .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

body.home .service-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

body.home .service-card h3,
body.home .service-card > p {
    color: #fff;
}

body.home .service-features li {
    color: rgba(255, 255, 255, 0.78);
}

body.home .service-features i {
    color: #F48FB1;
}

body.home .service-lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 2.5rem;
    row-gap: 0.35rem;
    align-items: start;
    padding: 1.7rem 1.7rem 1.45rem;
    background:
        linear-gradient(120deg, rgba(233, 30, 99, 0.2) 0%, rgba(255, 255, 255, 0.05) 48%);
    border-color: rgba(233, 30, 99, 0.45);
}

body.home .service-lead .service-icon,
body.home .service-lead h3,
body.home .service-lead > p,
body.home .service-lead .service-more {
    grid-column: 1;
}

body.home .service-lead h3 {
    font-size: 1.55rem;
    margin-bottom: 0.35rem;
}

body.home .service-lead > p {
    margin-bottom: 0.35rem;
}

body.home .service-lead .service-features {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
    margin: 0;
    padding: 0.2rem 0 0.2rem 1.5rem;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 1.25rem;
}

body.home .service-more {
    margin: 0.85rem 0 0;
}

body.home .service-more a {
    color: #fff;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

body.home .service-more a::after {
    content: "\2192";
}

body.home .service-more a:hover {
    color: #F8BBD0;
}

body.home .service-discovery {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.07) 0%, rgba(233, 30, 99, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.22);
}

body.home .service-card:not(.service-lead) {
    display: flex;
    flex-direction: column;
}

body.home .service-card:not(.service-lead) .service-more {
    margin-top: auto;
}

body.home .philosophy .section-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 2.5rem;
    margin-bottom: 1.6rem;
}

body.home .philosophy .section-badge {
    grid-column: 1;
    grid-row: 1;
}

body.home .philosophy .section-title {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    margin: 0;
    font-size: clamp(1.9rem, 2.7vw, 2.45rem);
    line-height: 1.16;
}

body.home .philosophy .section-header::after {
    content: "";
    grid-column: 2;
    grid-row: 2;
    width: 8.25rem;
    aspect-ratio: 5 / 3;
    justify-self: end;
    align-self: center;
    background: url("../images/union-flag.svg") center / contain no-repeat;
}

body.home .mantra-copy {
    max-width: 1080px;
    margin: 0 auto;
    text-align: left;
}

body.home .mantra-copy p {
    max-width: 40rem;
    margin-left: 0;
    margin-right: 0;
}

body.home .mantra-copy p:first-child {
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
}

body.home .home-courses .section-header {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 0.4rem;
}

body.home .home-courses .section-subtitle {
    max-width: 38rem;
}

body.home .home-course-grid {
    position: relative;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1080px;
    margin: 1.35rem auto 0;
    border-top: 1px solid rgba(26, 29, 46, 0.12);
}

body.home .home-course-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(26, 29, 46, 0.12);
    pointer-events: none;
}

body.home .home-course-grid li {
    border-bottom: 1px solid rgba(26, 29, 46, 0.12);
    min-width: 0;
}

body.home .home-course-grid a {
    display: grid;
    grid-template-columns: 5.6rem minmax(0, 1fr) auto;
    column-gap: 0.85rem;
    row-gap: 0.28rem;
    align-items: baseline;
    height: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 1.15rem 0 1.2rem;
}

body.home .home-course-grid li:nth-child(odd) a {
    padding-right: 1.75rem;
}

body.home .home-course-grid li:nth-child(even) a {
    padding-left: 1.75rem;
}

body.home .home-course-meta {
    display: contents;
}

body.home .home-course-meta > span:first-child {
    grid-column: 1;
    grid-row: 1;
}

body.home .home-course-time {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
}

body.home .home-course-grid h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.2rem;
}

body.home .home-course-grid p {
    grid-column: 2 / span 2;
    grid-row: 2;
}

body.home .home-course-grid a:hover,
body.home .home-course-grid a:focus-visible {
    transform: none;
    box-shadow: none;
    background: transparent;
}

body.home .home-course-grid a:hover h3 {
    color: #E91E63;
}

body.home .home-course-grid a:focus-visible {
    outline: 2px solid #E91E63;
    outline-offset: 3px;
}

body.home .home-courses .section-actions {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    justify-content: flex-start;
}

body.home .cta.section {
    background:
        radial-gradient(ellipse 42% 90% at 0% 50%, rgba(233, 30, 99, 0.14) 0%, transparent 58%),
        #12141c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(3.25rem, 6vw, 4.75rem) 0;
}

body.home .cta.section::before {
    display: none;
}

body.home .cta .container {
    max-width: 1200px;
}

body.home .cta-content {
    max-width: 1080px;
    margin: 0 auto;
    text-align: left;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2.5rem;
    row-gap: 0.7rem;
    align-items: center;
    background: none;
    border-radius: 0;
    padding: 0;
}

body.home .cta-eyebrow,
body.home .cta-content h2,
body.home .cta-content p {
    grid-column: 1;
}

body.home .cta-eyebrow {
    color: #E91E63;
    letter-spacing: 0.12em;
    margin-bottom: 0;
}

body.home .cta-eyebrow::after {
    content: "";
    display: block;
    width: 22px;
    height: 1px;
    margin-top: 0.55rem;
    background: currentColor;
    opacity: 0.85;
}

body.home .cta-content h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.12;
}

body.home .cta-content p {
    margin: 0;
    max-width: 36rem;
}

body.home .cta-buttons {
    grid-column: 2;
    grid-row: 1 / span 3;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    gap: 0.75rem;
}

@media (max-width: 900px) {
    body.home .partners-header,
    body.home .section-header,
    body.home .service-lead,
    body.home .cta-content {
        grid-template-columns: 1fr;
    }

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

    body.home .service-lead .service-features {
        grid-column: 1;
        grid-row: auto;
        padding: 0.75rem 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    body.home .philosophy .section-header {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    body.home .philosophy .section-header::after,
    body.home .home-course-grid::before {
        display: none;
    }

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

    body.home .home-course-grid li:nth-child(odd) a,
    body.home .home-course-grid li:nth-child(even) a {
        padding-left: 0;
        padding-right: 0;
    }

    body.home .cta-buttons {
        grid-column: 1;
        grid-row: auto;
        justify-content: flex-start;
        margin-top: 0.75rem;
    }
}

@media (max-width: 700px) {
    body.home .hero .gradient-overlay {
        background: linear-gradient(180deg, rgba(8, 10, 16, 0.55) 0%, rgba(8, 10, 16, 0.78) 38%, rgba(8, 10, 16, 0.92) 100%);
    }

    body.home .hero-background-img {
        object-position: 68% center;
    }

    body.home .hero-title {
        font-size: clamp(2.5rem, 12vw, 3.3rem);
    }

    body.home .service-lead .service-features {
        grid-template-columns: 1fr;
    }

    body.home .home-course-grid a {
        grid-template-columns: 1fr auto;
        row-gap: 0.35rem;
    }

    body.home .home-course-meta > span:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    body.home .home-course-time {
        grid-column: 2;
        grid-row: 1;
    }

    body.home .home-course-grid h3 {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    body.home .home-course-grid p {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    body.home .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
