/* ---------- HOMEPAGE ---------- */

.homepage-hero {
    min-height: 82vh;
    min-height: 82svh;
    background-color: #101f3c;
    position: relative;
    overflow: hidden;
}

.homepage-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-hero__overlay {
    min-height: 82vh;
    min-height: 82svh;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .45) 100%);
    position: relative;
    z-index: 1;
}

.homepage-hero__content {
    position: absolute;
    left: var(--homepage-side-gap);
    bottom: 30px;
    color: white;
    max-width: 700px;
}

.homepage-hero__content h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.homepage-hero__content p {
    font-family: "brother-1816", sans-serif;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 0;
}

.js .scroll-reveal > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .scroll-reveal.is-visible > * {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js .scroll-reveal > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


@media (max-width: 1330px) {
    .homepage-intro {
        display: flex;
        flex-direction: column;
    }

    .homepage-intro__content {
        padding: 55px var(--homepage-side-gap);
        box-sizing: border-box;
    }

    .homepage-intro__media {
        max-width: 100%;
    }

    .homepage-intro__media img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 1331px) {
    .homepage-intro {
        display: flex;
        align-items: stretch;
    }

    .homepage-intro__content {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 55px 85px 55px var(--homepage-side-gap);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .homepage-intro__media {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .homepage-intro__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

.homepage-intro__brand {
    font-family: "brother-1816", sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.homepage-intro__heading {
    font-family: "brother-1816", sans-serif;
    font-size: 30px;
    color: #007161;
    text-transform: uppercase;
}

.homepage-intro__journey {
  font-family: "brother-1816", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #007161;
  text-decoration: none;
  margin-top: 20px;
}

.homepage-intro__journey:hover,
.homepage-intro__journey:focus {
    color: #007161;
    text-decoration: none;
}

.homepage-intro__journey img {
    margin-left: 20px;
}

.homepage-intro__text {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    margin-top: 30px;
    font-weight: 300;
}

.homepage-stats {
    background-color: #067f73;
    color: #fff;
    height: 400px;
    padding: 0;
    box-sizing: border-box;
}

.homepage-stats__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 130px;
    width: calc(100% - (var(--homepage-side-gap) * 2));
    max-width: 1520px;
    margin: 0 auto;
    height: 100%;
    align-items: center;
}

.homepage-stats__item {
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.homepage-stats__item:first-child {
    justify-self: start;
}

.homepage-stats__item:first-child .homepage-stats__value {
    min-width: 0;
}

.homepage-stats__item:last-child {
    justify-self: end;
}

.homepage-stats__item:last-child .homepage-stats__value {
    width: 4ch;
    min-width: 4ch;
    text-align: right;
}

.homepage-stats__value {
    font-family: "brother-1816", sans-serif;
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
    min-width: 5ch;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.homepage-stats__label {
    font-family: "brother-1816", sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-top: 8px;
    line-height: 1.2;
}

.homepage-news {
    background-color: #000;
    padding: 60px 0 70px;
}

.homepage-news__inner {
    width: calc(100% - (var(--homepage-side-gap) * 2));
    max-width: 1520px;
    margin: 0 auto;
}

.homepage-news__title {
    color: #067f73;
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 40px;
}

.homepage-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, calc((100vw - 1024px) * 0.12 + 20px), 130px);
}

.homepage-news__viewport {
    overflow: hidden;
}

.homepage-news__nav {
    display: none;
}

.homepage-news__dot {
    border: 0;
    border-radius: 50%;
    background-color: #9f9f9f;
    width: 18px;
    height: 18px;
    padding: 0;
    cursor: pointer;
}

.homepage-projects__arrow:focus,
.homepage-projects__arrow:focus-visible,
.homepage-projects__arrow:active {
    outline: none;
    box-shadow: none;
}

.homepage-news__dot:focus,
.homepage-news__dot:focus-visible {
    outline: none;
    box-shadow: none;
}

.homepage-news__dot.is-active {
    background-color: #007060;
}

.homepage-news-card {
    background-color: #000;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease;
}

.homepage-news-card:hover,
.homepage-news-card:focus {
    text-decoration: none;
    color: inherit;
    transform: translateY(-4px);
}

.homepage-news-card__image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.homepage-news-card__meta {
    background-color: #067f73;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 22px;
    font-size: 20px;
    font-weight: 700;
    font-family: "brother-1816", sans-serif;
}

.homepage-news-card__arrow {
    width: auto;
    height: 30px;
    display: block;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.homepage-news-card:hover .homepage-news-card__arrow,
.homepage-news-card:focus .homepage-news-card__arrow {
    transform: translateX(4px);
}

.homepage-news-card__headline {
    margin: 0;
    padding: 18px 22px 22px;
    background-color: #fff;
    color: #b08f4a;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.3;
    min-height: calc((2 * 1.3em) + 40px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.homepage-accreditations-heading {
    background-color: #e4e4e4;
    padding: 45px 0 20px;
}

.homepage-accreditations-heading__inner {
    width: calc(100% - (var(--homepage-side-gap) * 2));
    max-width: 1520px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.homepage-accreditations-heading__title {
    margin: 0;
    font-size: 30px;
    color: #007161;
    text-transform: uppercase;
}

.logo-strip--accreditations {
    --logo-strip-bg: #e4e4e4;
    background-color: #e4e4e4;
}

.logo-strip--accreditations .logo-strip__list li img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

.homepage-services {
    background-color: #a1833f;
    color: #fff;
    padding: 65px 0;
}

.homepage-services__inner {
    width: 100%;
}

.homepage-services__header {
    width: min(1350px, calc(100% - var(--homepage-side-gap)));
    margin-left: var(--homepage-side-gap);
    margin-right: 0;
}

.homepage-services__content {
    --services-indent: 120px;
    width: min(1350px, calc(100% - var(--homepage-side-gap) - var(--services-indent) - var(--homepage-side-gap)));
    margin-left: calc(var(--homepage-side-gap) + var(--services-indent));
    margin-right: var(--homepage-side-gap);
}

@media (max-width: 1800px) {
    .homepage-services__content {
        --services-indent: 90px;
    }
}

@media (max-width: 1600px) {
    .homepage-services__content {
        --services-indent: 70px;
    }
}

@media (max-width: 1400px) {
    .homepage-services__content {
        --services-indent: 50px;
    }
}

@media (max-width: 1200px) {
    .homepage-services__content {
        --services-indent: 30px;
    }
}

.homepage-services__title {
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 38px;
}

.homepage-services__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 120px;
    position: relative;
}

.homepage-services__columns::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.65);
    transform: translateX(-0.5px);
}

.homepage-services__column {
    padding: 0;
}

.homepage-services__column:first-child {
    border-right: 0;
    padding-right: 0;
}

.homepage-services__column:last-child {
    padding-left: 0;
}

.homepage-services__heading {
    margin: 0 0 16px;
    font-size: 30px;
    color: #fff;
}

.homepage-services__text {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.homepage-projects {
    background-color: #fff;
    padding: 65px 0 70px;
}

.homepage-projects__inner {
    width: calc(100% - (var(--homepage-side-gap) * 2));
    max-width: 1520px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.homepage-projects__title {
    font-size: 30px;
    color: #b08f4a;
    text-transform: uppercase;
    margin-bottom: 36px;
}

.homepage-projects__viewport {
    overflow: hidden;
}

.homepage-projects__viewport--mobile {
    display: none;
}

.homepage-projects__slides {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.homepage-projects__page {
    flex: 0 0 100%;
    min-width: 100%;
}

.homepage-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, calc((100vw - 1024px) * 0.12 + 20px), 130px);
}

.homepage-project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    width: 420px;
    max-width: 100%;
    justify-self: center;
    transition: transform 0.25s ease;
}

.homepage-project-card:hover,
.homepage-project-card:focus {
    text-decoration: none;
    color: inherit;
    transform: translateY(-4px);
}

.homepage-project-card__image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.homepage-project-card__meta {
    background-color: #000;
    color: #fff;
    font-family: "brother-1816", sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 22px;
    min-height: calc((2 * 1.2em) + 24px);
    box-sizing: border-box;
}

.homepage-project-card__meta span {
    flex: 1;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-project-card__arrow {
    width: auto;
    height: 30px;
    display: block;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.homepage-project-card:hover .homepage-project-card__arrow,
.homepage-project-card:focus .homepage-project-card__arrow {
    transform: translateX(4px);
}

.homepage-projects__footer {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.homepage-projects__cta {
    display: inline-block;
    background-color: #b08f4a;
    color: #fff;
    font-family: "brother-1816", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 20px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.homepage-projects__cta:hover,
.homepage-projects__cta:focus {
    background-color: #9f813f;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.homepage-projects__nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.homepage-projects__arrow {
    border: 0;
    background: transparent;
    width: 56px;
    height: 56px;
    padding: 0;
    cursor: pointer;
}

.homepage-projects__arrow img {
    width: auto;
    height: 100%;
    display: block;
}

.homepage-projects__arrow:disabled {
    opacity: .35;
    cursor: default;
}

.homepage-careers {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.homepage-careers__column {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    position: relative;
}

.homepage-careers__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.homepage-careers__column--vacancies {
    background-color: #007060;
}

.homepage-careers__column--apprenticeships {
    background-color: #007060;
}

.homepage-careers__column--vacancies::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.65);
}

.homepage-careers__column:hover,
.homepage-careers__column:focus {
    background-color: #00947F;
    text-decoration: none;
}

.homepage-careers__label {
    font-family: "brother-1816", sans-serif;
    font-size: 30px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.homepage-careers__text {
    font-family: "brother-1816", sans-serif;
    font-size: 22px;
    line-height: 1.35;
    color: #fff;
}

.homepage-apprentice-stories {
    background-color: #fff;
    padding: 65px 0 70px;
}

.homepage-apprentice-stories__inner {
    width: calc(100% - (var(--homepage-side-gap) * 2));
    max-width: 1520px;
    margin: 0 auto;
}

.homepage-apprentice-stories__title {
    color: #007060;
    font-size: 30px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.homepage-apprentice-stories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, calc((100vw - 1024px) * 0.12 + 20px), 130px);
}

.homepage-apprentice-stories__viewport {
    overflow: hidden;
}

.homepage-apprentice-stories__nav {
    display: none;
}

.homepage-apprentice-stories__dot {
    border: 0;
    border-radius: 50%;
    background-color: #9f9f9f;
    width: 18px;
    height: 18px;
    padding: 0;
    cursor: pointer;
}

.homepage-apprentice-stories__dot:focus,
.homepage-apprentice-stories__dot:focus-visible {
    outline: none;
    box-shadow: none;
}

.homepage-apprentice-stories__dot.is-active {
    background-color: #007060;
}

.homepage-apprentice-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    transition: transform 0.25s ease;
}

.homepage-apprentice-card:hover,
.homepage-apprentice-card:focus {
    text-decoration: none;
    color: inherit;
    transform: translateY(-4px);
}

.homepage-apprentice-card__image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.homepage-apprentice-card__meta {
    background-color: #007060;
    color: #fff;
    padding: 13px 16px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "brother-1816", sans-serif;
}

.homepage-apprentice-card__quote {
    background-color: #26262b;
    color: #fff;
    padding: 18px 16px 20px;
    font-size: 16px;
    line-height: 1.35;
    font-family: "brother-1816", sans-serif;
    font-weight: 300;
    height: 130px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-align:center;
}

.homepage-apprentice-footer {
    background-color: #007060;
    padding: 65px 0;
}

.homepage-apprentice-footer__inner {
    width: calc(100% - (var(--homepage-side-gap) * 2));
    max-width: 1520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 550px) auto;
    align-items: center;
    justify-content: center;
    column-gap: 150px;
}

.homepage-apprentice-footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}

.homepage-apprentice-footer__quotes {
    width: 85px;
    height: auto;
    margin-bottom: 24px;
}

.homepage-apprentice-footer__text {
    font-family: "brother-1816", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2.2;
    margin-bottom: 24px;
    max-width: 550px;
}

.homepage-apprentice-footer__subtitle {
    font-family: "brother-1816", sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    color: #000;
    font-weight: 700;
}

.homepage-apprentice-footer__media {
    display: flex;
    justify-content: center;
}

.homepage-apprentice-footer__media img {
    width: 100%;
    max-width: 430px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* ---------- BLOG on Homepage ---------- */

.blog-promoImage {
    width:100%;
    height: 200px;
    background-position: center;
    background-size: cover;
    margin-bottom:20px;
    border-radius: 3px;
}

.box-blog {
    padding-top: 50px;
    height:500px;
}

.box-blog .blog-meta {
    font-style: italic;
    color: rgba(0, 0, 0, .7);
    font-size: 13px;
}

.blog-box-btn {
    margin-bottom:10px;
}

@media (max-width: 992px) {
    .box-blog {
        height:600px;
    }
}

@media (max-width: 1024px) {
    .box-blog {
        height:450px;
    }

    .homepage-hero,
    .homepage-hero__overlay {
        min-height: 82vh;
        min-height: 82svh;
    }

    .homepage-intro {
        display: flex;
        flex-direction: column;
    }

    .homepage-intro__content {
        padding: 20px 40px 0 20px;
        box-sizing: border-box;
    }

    .homepage-intro__media {
        margin-top: 40px;
        max-width: 100%;
    }

    .homepage-intro__media img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .homepage-hero__content {
        left: 20px;
        right: 80px;
        bottom: 20px;
    }

    .homepage-hero__content p {
        font-size: 1.25rem;
    }

    .homepage-stats {
        height: auto;
        padding: 50px 0;
    }

    .homepage-stats__inner {
        display: flex;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        flex-direction: column;
        gap: 100px;
        height: auto;
    }

    .homepage-news {
        padding: 40px 20px 24px;
    }

    .homepage-news__inner {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .homepage-news__title {
        font-size: 28px;
        margin-top: 0;
        margin-bottom: 40px;
        text-align: left;
    }

    .homepage-news__grid {
        display: flex;
        gap: 0;
        transition: transform 0.45s ease;
        will-change: transform;
    }

    .homepage-news-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .homepage-news-card,
    .homepage-project-card,
    .homepage-apprentice-card,
    .homepage-news-card__arrow,
    .homepage-project-card__arrow {
        transition: none;
    }

    .homepage-news-card:hover,
    .homepage-news-card:focus,
    .homepage-project-card:hover,
    .homepage-project-card:focus,
    .homepage-apprentice-card:hover,
    .homepage-apprentice-card:focus,
    .homepage-news-card:hover .homepage-news-card__arrow,
    .homepage-news-card:focus .homepage-news-card__arrow,
    .homepage-project-card:hover .homepage-project-card__arrow,
    .homepage-project-card:focus .homepage-project-card__arrow {
        transform: none;
    }

    .homepage-news__nav {
        margin-top: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
    }

    .homepage-news-card__meta {
        height: 100px;
        font-size: 20px;
    }

    .homepage-news-card__headline {
        font-size: 20px;
    }

    .homepage-accreditations-heading {
        padding: 30px 0 16px;
    }

    .homepage-accreditations-heading__inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .homepage-news-card__arrow,
    .homepage-project-card__arrow {
        width: 30px;
        height: auto;
    }

    .homepage-services {
        padding: 45px 0;
    }

    .homepage-services__header,
    .homepage-services__content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .homepage-services__title {
        font-size: 30px;
        margin-bottom: 24px;
    }

    .homepage-services__columns {
        grid-template-columns: 1fr;
        gap: 24px;
        column-gap: 0;
        padding-left: 0;
        box-sizing: border-box;
    }

    .homepage-services__columns::after {
        display: none;
    }

    .homepage-services__column {
        padding: 0;
    }

    .homepage-services__column:first-child {
        border-right: 0;
        border-bottom: 0;
        padding-right: 0;
        padding-bottom: 12px;
    }

    .homepage-services__column:last-child {
        padding-left: 0;
    }

    .homepage-services__heading {
        font-size: 30px;
    }

    .homepage-services__text {
        font-size: 20px;
    }

    .homepage-projects {
        padding: 40px 0 34px;
    }

    .homepage-projects__inner {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .homepage-projects__viewport {
        display: none;
    }

    .homepage-projects__viewport--mobile {
        display: block;
    }

    .homepage-projects__title {
        font-size: 28px;
        margin-top: 0;
        margin-bottom: 40px;
    }

    .homepage-projects__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .homepage-project-card__meta {
        height: 100px;
        font-size: 20px;
    }

    .homepage-project-card {
        width: 100%;
    }

    .homepage-projects__footer {
        gap: 18px;
    }

    .homepage-projects__arrow {
        width: 42px;
        height: 42px;
    }

    .homepage-careers__column--vacancies {
        border-right: 0;
    }

    .homepage-careers__column--vacancies::after {
        right: auto;
        top: auto;
        bottom: 0;
        left: 15%;
        width: 70%;
        height: 1px;
    }

    .homepage-apprentice-stories {
        padding: 40px 0 24px;
    }

    .homepage-apprentice-stories__inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .homepage-apprentice-stories__title {
        font-size: 28px;
        margin-top: 0;
        margin-bottom: 40px;
    }

    .homepage-apprentice-stories__grid {
        display: flex;
        gap: 0;
        transition: transform 0.45s ease;
        will-change: transform;
    }

    .homepage-apprentice-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .homepage-apprentice-stories__nav {
        margin-top: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
    }

    .homepage-apprentice-card__quote {
        font-size: 16px;
        height: 130px;
    }

    .homepage-apprentice-footer {
        padding: 45px 0;
    }

    .homepage-apprentice-footer__inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .homepage-apprentice-footer__content {
        align-items: center;
        text-align: center;
    }

    .homepage-apprentice-footer__media {
        order: -1;
    }

    .homepage-apprentice-footer__media img {
        max-width: min(65vw, 350px);
    }

    .homepage-apprentice-footer__text {
        font-size: 16px;
    }

    .homepage-apprentice-footer__subtitle {
        font-size: 16px;
    }
}

@media (max-width: 700px) {
    .homepage-careers__label {
        font-size: 24px;
    }

    .homepage-careers__text {
        font-size: 18px;
    }

    .homepage-careers__text {
        font-size: 18px;
    }
}

@media (max-width: 800px) {
    .homepage-intro__heading,
    .homepage-intro__journey,
    .homepage-accreditations-heading__title,
    .homepage-services__title,
    .homepage-services__heading {
        font-size: 24px;
    }

    .homepage-news__title,
    .homepage-projects__title,
    .homepage-apprentice-stories__title {
        font-size: 22.4px;
    }

    .homepage-careers__label {
        font-size: 24px;
    }

    .homepage-careers__text {
        font-size: 18px;
    }

    .homepage-hero__content h1 {
        font-size: 30px;
    }

    .homepage-hero__content p {
        font-size: 20px;
    }

    .homepage-intro__text {
        font-size: 17px;
    }

    .homepage-news-card__meta {
        height: 70px;
        font-size: 20px;
    }

    .homepage-news-card__arrow {
        width: 21px;
    }

    .homepage-project-card__meta {
        height: 70px;
        font-size: 20px;
    }

    .homepage-project-card__arrow {
        width: 21px;
    }

    .homepage-services__header,
    .homepage-services__content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .homepage-services__columns {
        padding-left: 0;
    }

    .homepage-services__text {
        font-size: 17px;
    }

    .homepage-stats__inner {
        gap: 50px;
    }

    .homepage-stats__value {
        font-size: 60px;
    }

    .homepage-apprentice-footer__text {
        line-height: 1.6;
    }
}

@media (min-width: 500px) and (max-width: 1024px) {
    .homepage-news-card__image,
    .homepage-project-card__image,
    .homepage-apprentice-card__image {
        width: min(100%, 800px);
        max-width: 800px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin-left: auto;
        margin-right: auto;
    }

    .homepage-news-card__meta,
    .homepage-news-card__headline,
    .homepage-project-card__meta,
    .homepage-apprentice-card__meta,
    .homepage-apprentice-card__quote {
        width: min(100%, 800px);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .homepage-careers {
        grid-template-columns: 1fr;
    }

    .homepage-careers__column {
        min-height: auto;
        padding: 24px 0;
    }

    .homepage-careers__column--vacancies::after {
        right: auto;
        top: auto;
        bottom: 0;
        left: 15%;
        width: 70%;
        height: 1px;
    }
}

