/* Shared responsive refinements. Loaded after the shared stylesheets. */
@media (max-width: 700px) {
    .page-banner.about-banner {
        height: 200px;
        min-height: 200px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .team-page .team-intro {
        display: block;
        text-align: center;
    }

    .team-page .team-intro-heading,
    .team-page .team-intro .h2,
    .team-page .team-intro .sub {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .team-page .team-intro .sub {
        margin-top: 14px;
    }

    .about-page .page-banner.about-banner {
        height: 200px;
        min-height: 200px;
        padding: 20px 0;
    }

    .about-page main > .section {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .about-page .about-visual {
        height: 250px;
        min-height: 250px;
    }

    .about-page .about-visual img {
        width: 50%;
        max-width: 220px;
        height: 150px;
        min-height: 0;
        object-fit: contain;
    }

    .about-page .copy {
        text-align: center;
    }

    .about-page .copy p,
    .about-page .about-values .feat p,
    .about-page .timeline .tl p {
        text-align: justify;
    }

    .about-page .section-head {
        display: block;
        margin: 0 auto 24px;
        text-align: center;
    }

    .about-page .story-layout {
        gap: 18px;
    }

    .about-page .timeline::before {
        content: none;
    }

    .about-page .timeline .tl:not(:last-child)::after {
        content: "";
        position: absolute;
        z-index: 0;
        left: 26px;
        top: 41px;
        bottom: -41px;
        border-left: 1px dashed rgba(0, 208, 132, .7);
        pointer-events: none;
    }

    .about-page .about-story {
        padding-bottom: 36px !important;
    }
}

@media (max-width: 700px) {
    .home-page main > .section {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .home-page .hero {
        min-height: 0;
        padding: 42px 0 0;
        background-image: radial-gradient(ellipse at 78% 18%, rgba(0, 208, 132, .18), transparent 48%), linear-gradient(145deg, #07140d, #050a08 72%);
    }

    .home-page .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .home-page .hero-grid > div:first-child {
        max-width: none;
        text-align: center;
    }

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

    .home-page .hero .eyebrow::before {
        display: none;
    }

    .home-page .hero h1,
    .home-page .hero .lead {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .home-page .hero .lead {
        margin-top: 16px;
        margin-bottom: 0;
    }

    .home-page .hero .actions,
    .home-page .hero .micro {
        justify-content: center;
    }

    .home-page .hero .actions {
        margin-top: 22px;
    }

    .home-page .hero .micro {
        margin-top: 24px;
    }

    .home-page .hero-art {
        display: none !important;
    }

    .home-page .hero-art .orb,
    .home-page .hero-art .float {
        display: none;
    }

    .home-page .about-visual {
        height: 250px;
        min-height: 250px;
    }

    .home-page .about-visual img {
        width: 50%;
        max-width: 250px;
        height: 190px;
        min-height: 0;
        object-fit: contain;
    }

    .home-page .copy p {
        max-width: 65ch;
        margin-left: auto;
        margin-right: auto;
        text-align: justify;
    }

    .home-page .copy,
    .home-page .section-head {
        text-align: center;
    }

    .home-page .copy .actions {
        justify-content: center;
    }

    .home-page .section-head {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }

    .home-page .section-head > div {
        width: 100%;
    }

    .home-page .section-head .sub {
        max-width: 65ch;
        margin: 14px auto 0;
        text-align: center;
    }

    .home-page .cards,
    .home-page .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-page .steps {
        row-gap: 52px;
    }

    .home-page .steps .process-step:not(:last-child) .process-arrow {
        display: block;
        top: calc(100% + 10px);
        left: calc(50% - 11px);
        right: auto;
        transform: rotate(90deg);
        font-size: 22px;
        line-height: 1;
        color: var(--green);
        opacity: 1;
        animation: none;
    }

    .home-page .testimonial-track {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-page .testimonial-track > .quote:not([hidden]) {
        width: 100%;
    }

    .home-page .testimonial-controls {
        justify-content: center;
        margin-top: 18px;
    }

    .home-page .cta {
        background: #070a08;
    }

    .home-page .cta-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 0;
        padding: 0 20px;
        text-align: center;
    }

    .home-page .cta-inner > div {
        width: 100%;
    }

    .home-page .cta-inner .btn {
        margin-inline: auto;
    }
}

@media (min-width: 981px) {
    .home-page .steps .process-step:not(:last-child) .process-arrow {
        display: block;
        top: 70px;
        right: -14px;
        font-size: 26px;
        line-height: 1;
        color: var(--green);
        opacity: 1;
    }
}

@media (max-width: 420px) {
    .home-page .hero .actions {
        gap: 12px;
    }

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

/* Service descriptions stay justified at every viewport size. */
.services-page .svc .copy > p {
    text-align: justify;
}

@media (max-width: 700px) {
    .foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 28px;
    }

    .foot-grid > .footer-brand,
    .foot-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .foot-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .project-update-copy {
        text-align: center;
    }

    .project-update-label {
        display: flex;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .project-update-copy h2 {
        text-align: center;
    }

    .project-update-intro {
        text-align: justify;
    }

    .contact-grid > .rv > .kicker,
    .contact-grid > .rv > .h2,
    .contact-grid > .rv > p {
        text-align: center;
    }
}
