/* Added 17 Nov 2026: new sections, pages, workflow animation, and page-long gradient. */

.problems-intro,
.how-intro,
.include-intro,
.stories-intro,
.help-intro,
.cyber-intro {
    max-width: 40rem;
}

.problems-grid,
.how-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    align-items: stretch;
}

.problem-card,
.how-step,
.include-col,
.story-card,
.cyber-card,
.help-card,
.hours-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.problem-icon,
.cyber-icon,
.help-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0 0 1rem;
    flex: none;
    border-radius: 12px;
    background: var(--sky-wash);
    color: var(--navy);
}

.problem-icon svg,
.cyber-icon svg,
.help-icon svg {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.problem-card h3,
.how-step h3,
.include-col h3,
.story-card h3,
.cyber-card h3,
.help-card h3,
.hours-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.25rem;
    line-height: 1.25;
}

.problem-card h3 {
    min-height: calc(1.25rem * 1.25 * 2);
}

.problem-card p,
.how-step p:last-child,
.cyber-card p:last-child,
.help-card p:last-child {
    margin: 0;
}

.how-step .idx,
.flow-node .idx {
    margin: 0 0 0.85rem;
}

.how-actions {
    margin-top: 2rem;
}

.privacy-line {
    margin: 0.85rem 0 0;
    font-size: 0.92rem;
}

.form-note {
    margin: 0.85rem 0 0;
    font-size: 0.92rem;
}

/* Client help */
.help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.help-grid,
.hours-grid,
.cyber-grid,
.include-grid,
.stories-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    align-items: stretch;
}

.help-contact dd {
    margin: 0.25rem 0 0;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.help-contact dt {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.help-contact a {
    text-decoration: none;
}

.help-contact a:hover {
    text-decoration: underline;
    text-decoration-color: var(--blue);
    text-underline-offset: 0.12em;
}

.hours-card p + p {
    margin-top: 0.7rem;
}

/* FAQ accordion */
.faq-list {
    display: grid;
    gap: 0.85rem;
    margin: 2rem 0 0;
    max-width: 820px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 560;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    flex: none;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: -0.15rem;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    margin-top: 0.2rem;
    transform: rotate(225deg);
}

.faq-item .faq-body {
    padding: 0 1.25rem 1.2rem;
    border-top: 1px solid var(--line);
}

.faq-item .faq-body > p:first-child,
.faq-item .faq-body > ul:first-child {
    margin-top: 1rem;
}

.faq-item .faq-body p + p,
.faq-item .faq-body ul {
    margin-top: 0.75rem;
}

.faq-item .faq-body ul {
    padding-left: 1.15rem;
}

/* What's included */
.include-col ul {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.include-col li {
    position: relative;
    padding: 0.7rem 0 0.7rem 1.6rem;
    border-top: 1px solid var(--line);
}

.include-col li:first-of-type {
    border-top: 0;
}

.include-col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--sky-wash);
    border: 2px solid var(--blue);
}

.include-col.not-included li::before {
    border-color: rgba(3, 56, 118, 0.35);
    background: var(--white);
}

/* Cybersecurity */
.cyber-card h3 {
    min-height: calc(1.25rem * 1.25 * 2);
}

.cyber-card p {
    margin: 0;
    flex: 1;
}

/* Step workflow animation — original to this site, in The Solution colours. */
.flow-track {
    position: relative;
}

.flow-line {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background: rgba(3, 56, 118, 0.16);
}

.flow-line-draw {
    display: block;
    background: var(--blue);
    border-radius: 99px;
    width: 0;
    height: 0;
}

.flow-track.is-on .flow-line-draw,
.flow-track.is-static .flow-line-draw {
    transition: width 1.05s ease, height 1.05s ease;
}

.flow-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 6px rgba(75, 163, 199, 0.25);
    opacity: 0;
    z-index: 2;
}

.flow-track.flow-row .flow-node .idx {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 2;
}

.flow-track.flow-row .flow-node .idx::before {
    display: none;
}

.flow-track.is-on .flow-node,
.flow-track.is-static .flow-node {
    background: var(--white);
}

@media (min-width: 800px) {
    .problems-grid,
    .how-steps,
    .cyber-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .include-grid,
    .hours-grid,
    .help-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        align-items: stretch;
    }

    .stories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .help-split {
        display: grid;
        margin-top: 2rem;
    }

    /* Horizontal connector through the numbered beads. */
    .flow-track.flow-row .flow-line {
        left: 16.666%;
        right: 16.666%;
        top: calc(1.25rem + 1.35rem);
        height: 2px;
        width: auto;
    }

    .flow-track.flow-row .flow-line-draw {
        height: 100%;
        width: 0;
    }

    .flow-track.flow-row.is-on .flow-line-draw,
    .flow-track.flow-row.is-static .flow-line-draw {
        width: 100%;
    }

    .flow-track.flow-row .flow-dot {
        top: 50%;
        left: 0;
        transform: translate(-50%, -50%);
    }

    .flow-track.flow-row.is-on:not(.is-static) .flow-dot {
        opacity: 1;
        animation: flow-travel-x 6s ease-in-out 1s infinite;
    }

    .flow-track.flow-row.is-on:not(.is-static) .flow-node[data-s="0"] {
        animation: flow-lit-0 6s ease-in-out 1s infinite;
    }

    .flow-track.flow-row.is-on:not(.is-static) .flow-node[data-s="1"] {
        animation: flow-lit-1 6s ease-in-out 1s infinite;
    }

    .flow-track.flow-row.is-on:not(.is-static) .flow-node[data-s="2"] {
        animation: flow-lit-2 6s ease-in-out 1s infinite;
    }
}

/* Vertical connector (mobile row-tracks, story cards, stacked flows). */
.flow-track.flow-col {
    padding-left: 0;
}

.flow-track.flow-col .flow-line,
.flow-track.flow-row .flow-line {
    /* mobile row falls back to vertical */
}

@media (max-width: 799px) {
    .flow-track.flow-row .flow-line,
    .flow-track.flow-col .flow-line {
        left: 1.25rem;
        top: 1.4rem;
        bottom: 1.4rem;
        width: 2px;
        height: auto;
    }

    .flow-track.flow-row .flow-line-draw,
    .flow-track.flow-col .flow-line-draw {
        width: 100%;
        height: 0;
    }

    .flow-track.flow-row.is-on .flow-line-draw,
    .flow-track.flow-row.is-static .flow-line-draw,
    .flow-track.flow-col.is-on .flow-line-draw,
    .flow-track.flow-col.is-static .flow-line-draw {
        height: 100%;
    }

    .flow-track.flow-row .flow-dot,
    .flow-track.flow-col .flow-dot {
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
    }

    .flow-track.flow-row.is-on:not(.is-static) .flow-dot,
    .flow-track.flow-col.is-on:not(.is-static) .flow-dot {
        opacity: 1;
        animation: flow-travel-y 6s ease-in-out 1s infinite;
    }

    .flow-track.flow-row .flow-node,
    .flow-track.flow-col .flow-node {
        padding-left: 3.35rem;
    }

    .flow-track.flow-row .flow-node .idx {
        margin: 0 0 0.7rem;
        width: 2.4rem;
        height: 2.4rem;
    }

    .flow-track.flow-row.is-on:not(.is-static) .flow-node[data-s="0"],
    .flow-track.flow-col.is-on:not(.is-static) .flow-node[data-s="0"] {
        animation: flow-lit-0 6s ease-in-out 1s infinite;
    }

    .flow-track.flow-row.is-on:not(.is-static) .flow-node[data-s="1"],
    .flow-track.flow-col.is-on:not(.is-static) .flow-node[data-s="1"] {
        animation: flow-lit-1 6s ease-in-out 1s infinite;
    }

    .flow-track.flow-row.is-on:not(.is-static) .flow-node[data-s="2"],
    .flow-track.flow-col.is-on:not(.is-static) .flow-node[data-s="2"] {
        animation: flow-lit-2 6s ease-in-out 1s infinite;
    }
}

@media (min-width: 800px) {
    .flow-track.flow-col .flow-line {
        left: 1.55rem;
        top: 0.4rem;
        bottom: 0.4rem;
        width: 2px;
        height: auto;
    }

    .flow-track.flow-col .flow-line-draw {
        width: 100%;
        height: 0;
    }

    .flow-track.flow-col.is-on .flow-line-draw,
    .flow-track.flow-col.is-static .flow-line-draw {
        height: 100%;
    }

    .flow-track.flow-col .flow-dot {
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
    }

    .flow-track.flow-col.is-on:not(.is-static) .flow-dot {
        opacity: 1;
        animation: flow-travel-y 6s ease-in-out 1s infinite;
    }

    .flow-track.flow-col.is-on:not(.is-static) .flow-node[data-s="0"] {
        animation: flow-lit-0 6s ease-in-out 1s infinite;
    }

    .flow-track.flow-col.is-on:not(.is-static) .flow-node[data-s="1"] {
        animation: flow-lit-1 6s ease-in-out 1s infinite;
    }

    .flow-track.flow-col.is-on:not(.is-static) .flow-node[data-s="2"] {
        animation: flow-lit-2 6s ease-in-out 1s infinite;
    }
}

.flow-bead {
    position: absolute;
    left: 0.15rem;
    top: 0.95rem;
    z-index: 2;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue);
}

.story-stage .flow-bead {
    left: 0.85rem;
    top: 1rem;
}

@keyframes flow-travel-x {
    0%, 4% { left: 0; opacity: 1; }
    18% { left: 0; opacity: 1; }
    28%, 43% { left: 50%; opacity: 1; }
    53% { left: 50%; opacity: 1; }
    63%, 82% { left: 100%; opacity: 1; }
    92%, 100% { left: 100%; opacity: 0; }
}

@keyframes flow-travel-y {
    0%, 4% { top: 0; opacity: 1; }
    18% { top: 0; opacity: 1; }
    28%, 43% { top: 50%; opacity: 1; }
    53% { top: 50%; opacity: 1; }
    63%, 82% { top: 100%; opacity: 1; }
    92%, 100% { top: 100%; opacity: 0; }
}

@keyframes flow-lit-0 {
    0%, 18% {
        background: var(--sky-wash);
        box-shadow: 0 24px 50px rgba(3, 56, 118, 0.12);
        border-top-color: var(--navy);
    }
    28%, 100% {
        background: var(--white);
        box-shadow: var(--shadow);
        border-top-color: var(--blue);
    }
}

@keyframes flow-lit-1 {
    0%, 22% {
        background: var(--white);
        box-shadow: var(--shadow);
        border-top-color: var(--blue);
    }
    28%, 43% {
        background: var(--sky-wash);
        box-shadow: 0 24px 50px rgba(3, 56, 118, 0.12);
        border-top-color: var(--navy);
    }
    53%, 100% {
        background: var(--white);
        box-shadow: var(--shadow);
        border-top-color: var(--blue);
    }
}

@keyframes flow-lit-2 {
    0%, 57% {
        background: var(--white);
        box-shadow: var(--shadow);
        border-top-color: var(--blue);
    }
    63%, 82% {
        background: var(--sky-wash);
        box-shadow: 0 24px 50px rgba(3, 56, 118, 0.12);
        border-top-color: var(--navy);
    }
    90%, 100% {
        background: var(--white);
        box-shadow: var(--shadow);
        border-top-color: var(--blue);
    }
}

.flow-track.is-static .flow-line-draw {
    transition: none;
}

.flow-track.is-static .flow-dot {
    display: none;
}

.flow-track.is-static .flow-node,
.flow-track.is-static .story-stage {
    animation: none !important;
    background: var(--white);
}

@media (prefers-reduced-motion: reduce) {
    .flow-line-draw,
    .flow-track.is-on .flow-line-draw {
        transition: none;
        width: 100%;
        height: 100%;
    }

    .flow-dot,
    .flow-track.is-on .flow-dot {
        display: none;
        animation: none;
    }

    .flow-node,
    .story-stage,
    .flow-track.is-on .flow-node {
        animation: none !important;
    }
}

/* A seventh nav item, "Client support", needs a slightly tighter desktop gap. */
@media (min-width: 1040px) {
    .nav-panel ul {
        gap: 0.8rem;
    }

    .nav-panel a {
        font-size: 0.9rem;
    }
}

.help-split {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: start;
}

/* IT page: grouped service category cards, styled after the reference, in our colours. */
.service-cats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

.svc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    background: var(--white);
    border: 1px solid rgba(3, 56, 118, 0.10);
    border-radius: 22px;
    padding: 1.7rem 1.55rem 1.4rem;
    box-shadow: 0 12px 36px rgba(3, 56, 118, 0.07);
}

.svc-card-head {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.1rem 0.9rem;
    align-items: start;
}

.svc-icon {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: #e4f3f8;
    color: var(--blue);
}

.svc-icon svg,
.svc-mini svg {
    display: block;
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.svc-mini svg {
    width: 1.1rem;
    height: 1.1rem;
}

.svc-card-head h3 {
    margin: 0;
    font-family: var(--sans);
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.svc-sub {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(3, 56, 118, 0.72);
}

.svc-divide {
    height: 0;
    margin: 1.2rem 0 0.55rem;
    border: 0;
    border-top: 1px solid rgba(3, 56, 118, 0.10);
}

.svc-list {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    flex: 1;
}

.svc-list li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.05rem 0.75rem;
    padding: 0.55rem 0;
    border: 0;
}

.svc-list li:first-child {
    padding-top: 0.15rem;
}

.svc-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-top: 0.05rem;
    border-radius: 9px;
    background: #e4f3f8;
    color: var(--blue);
    grid-row: 1 / span 2;
}

.svc-list h4 {
    margin: 0;
    font-family: var(--sans);
    font-size: 0.98rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.3;
}

.svc-list p {
    margin: 0.12rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(3, 56, 118, 0.72);
}

.svc-card .button,
.svc-card .button-outline {
    width: 100%;
    margin-top: auto;
}

.button-outline,
.button-outline:visited {
    background: var(--white);
    color: var(--navy);
    border: 1px solid rgba(3, 56, 118, 0.22);
    box-shadow: none;
}

.button-outline:hover {
    background: var(--sky-wash);
    border-color: var(--navy);
    color: var(--navy);
}

.footer-hours {
    margin: 0.65rem 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.86);
    max-width: 22rem;
}

.svc-also {
    margin-top: 3rem;
}

.svc-also .lede {
    margin-top: 0.85rem;
}

@media (min-width: 800px) {
    .service-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.flow-node {
    position: relative;
    z-index: 1;
}

/* Continuous page-long sky fade: lightest at the top, deepest light-blue at the bottom.
   Section bands are transparent so there are no hard colour seams. Footer is unchanged. */
html {
    background-color: #b7dbe8;
}

body {
    background-color: #f7fcfd;
    background-image: linear-gradient(
        180deg,
        #f7fcfd 0%,
        #eef7fa 22%,
        #e5f3f8 48%,
        #d4eef6 74%,
        #b7dbe8 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: scroll;
}

.band-sky,
.hero,
.page-hero {
    background: transparent;
}

/* Open step lists (same as the solar service-list) with a slim animated path beside them. */
.how-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 1.25rem;
}

.how-split .service-list {
    margin-top: 0;
}

.how-path {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 3rem;
    padding: 0 0.35rem;
}

.how-path-line {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    top: 50%;
    height: 2px;
    width: auto;
    background: rgba(3, 56, 118, 0.16);
    pointer-events: none;
}

.how-path-draw {
    display: block;
    height: 100%;
    width: 0;
    background: var(--blue);
    border-radius: 99px;
}

.how-split.is-on .how-path-draw,
.how-split.is-static .how-path-draw {
    transition: width 1.05s ease, height 1.05s ease;
}

.how-path-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.25);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.how-path-node {
    position: relative;
    z-index: 1;
    flex: none;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blue);
    box-sizing: border-box;
}

@media (min-width: 800px) {
    .how-split {
        grid-template-columns: minmax(0, 1fr) 4.75rem;
        gap: 1.75rem 2rem;
        align-items: stretch;
    }

    .how-path {
        flex-direction: column;
        height: auto;
        min-height: 100%;
        padding: 0.85rem 0;
        justify-content: space-between;
    }

    .how-path-line {
        left: 50%;
        right: auto;
        top: 0.9rem;
        bottom: 0.9rem;
        width: 2px;
        height: auto;
        margin-left: -1px;
    }

    .how-path-draw {
        width: 100%;
        height: 0;
    }

    .how-split.is-on .how-path-draw,
    .how-split.is-static .how-path-draw {
        height: 100%;
        width: 100%;
    }

    .how-path-dot {
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
    }

    .how-split.is-on:not(.is-static) .how-path-dot {
        opacity: 1;
    }

    .how-split[data-steps="3"].is-on:not(.is-static) .how-path-dot {
        animation: flow-travel-y 6s ease-in-out 1s infinite;
    }

    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-dot {
        animation: path-travel-y-5 8s ease-in-out 1s infinite;
    }

    .how-split[data-steps="3"].is-on:not(.is-static) .how-path-node[data-s="0"] {
        animation: path-node-3-0 6s ease-in-out 1s infinite;
    }

    .how-split[data-steps="3"].is-on:not(.is-static) .how-path-node[data-s="1"] {
        animation: path-node-3-1 6s ease-in-out 1s infinite;
    }

    .how-split[data-steps="3"].is-on:not(.is-static) .how-path-node[data-s="2"] {
        animation: path-node-3-2 6s ease-in-out 1s infinite;
    }

    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="0"] { animation: path-node-5-0 8s ease-in-out 1s infinite; }
    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="1"] { animation: path-node-5-1 8s ease-in-out 1s infinite; }
    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="2"] { animation: path-node-5-2 8s ease-in-out 1s infinite; }
    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="3"] { animation: path-node-5-3 8s ease-in-out 1s infinite; }
    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="4"] { animation: path-node-5-4 8s ease-in-out 1s infinite; }
}

@media (max-width: 799px) {
    .how-path-dot {
        top: 50%;
        left: 0;
        transform: translate(-50%, -50%);
    }

    .how-split.is-on .how-path-draw,
    .how-split.is-static .how-path-draw {
        width: 100%;
    }

    .how-split.is-on:not(.is-static) .how-path-dot {
        opacity: 1;
    }

    .how-split[data-steps="3"].is-on:not(.is-static) .how-path-dot {
        animation: flow-travel-x 6s ease-in-out 1s infinite;
    }

    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-dot {
        animation: path-travel-x-5 8s ease-in-out 1s infinite;
    }

    .how-split[data-steps="3"].is-on:not(.is-static) .how-path-node[data-s="0"] { animation: path-node-3-0 6s ease-in-out 1s infinite; }
    .how-split[data-steps="3"].is-on:not(.is-static) .how-path-node[data-s="1"] { animation: path-node-3-1 6s ease-in-out 1s infinite; }
    .how-split[data-steps="3"].is-on:not(.is-static) .how-path-node[data-s="2"] { animation: path-node-3-2 6s ease-in-out 1s infinite; }
    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="0"] { animation: path-node-5-0 8s ease-in-out 1s infinite; }
    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="1"] { animation: path-node-5-1 8s ease-in-out 1s infinite; }
    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="2"] { animation: path-node-5-2 8s ease-in-out 1s infinite; }
    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="3"] { animation: path-node-5-3 8s ease-in-out 1s infinite; }
    .how-split[data-steps="5"].is-on:not(.is-static) .how-path-node[data-s="4"] { animation: path-node-5-4 8s ease-in-out 1s infinite; }
}

@keyframes path-travel-y-5 {
    0%, 3% { top: 0; opacity: 1; }
    14% { top: 0; opacity: 1; }
    18%, 26% { top: 25%; opacity: 1; }
    30% { top: 25%; opacity: 1; }
    34%, 42% { top: 50%; opacity: 1; }
    46% { top: 50%; opacity: 1; }
    50%, 58% { top: 75%; opacity: 1; }
    62% { top: 75%; opacity: 1; }
    66%, 82% { top: 100%; opacity: 1; }
    90%, 100% { top: 100%; opacity: 0; }
}

@keyframes path-travel-x-5 {
    0%, 3% { left: 0; opacity: 1; }
    14% { left: 0; opacity: 1; }
    18%, 26% { left: 25%; opacity: 1; }
    30% { left: 25%; opacity: 1; }
    34%, 42% { left: 50%; opacity: 1; }
    46% { left: 50%; opacity: 1; }
    50%, 58% { left: 75%; opacity: 1; }
    62% { left: 75%; opacity: 1; }
    66%, 82% { left: 100%; opacity: 1; }
    90%, 100% { left: 100%; opacity: 0; }
}

@keyframes path-node-3-0 {
    0%, 18% { background: var(--blue); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.22); }
    28%, 100% { background: var(--white); border-color: var(--blue); box-shadow: none; }
}

@keyframes path-node-3-1 {
    0%, 22% { background: var(--white); border-color: var(--blue); box-shadow: none; }
    28%, 43% { background: var(--blue); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.22); }
    53%, 100% { background: var(--white); border-color: var(--blue); box-shadow: none; }
}

@keyframes path-node-3-2 {
    0%, 57% { background: var(--white); border-color: var(--blue); box-shadow: none; }
    63%, 82% { background: var(--blue); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.22); }
    90%, 100% { background: var(--white); border-color: var(--blue); box-shadow: none; }
}

@keyframes path-node-5-0 {
    0%, 14% { background: var(--blue); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.22); }
    22%, 100% { background: var(--white); border-color: var(--blue); box-shadow: none; }
}
@keyframes path-node-5-1 {
    0%, 16% { background: var(--white); border-color: var(--blue); box-shadow: none; }
    18%, 26% { background: var(--blue); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.22); }
    32%, 100% { background: var(--white); border-color: var(--blue); box-shadow: none; }
}
@keyframes path-node-5-2 {
    0%, 32% { background: var(--white); border-color: var(--blue); box-shadow: none; }
    34%, 42% { background: var(--blue); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.22); }
    48%, 100% { background: var(--white); border-color: var(--blue); box-shadow: none; }
}
@keyframes path-node-5-3 {
    0%, 48% { background: var(--white); border-color: var(--blue); box-shadow: none; }
    50%, 58% { background: var(--blue); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.22); }
    64%, 100% { background: var(--white); border-color: var(--blue); box-shadow: none; }
}
@keyframes path-node-5-4 {
    0%, 64% { background: var(--white); border-color: var(--blue); box-shadow: none; }
    66%, 82% { background: var(--blue); border-color: var(--navy); box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.22); }
    88%, 100% { background: var(--white); border-color: var(--blue); box-shadow: none; }
}

.how-split.is-static .how-path-draw {
    transition: none;
}

.how-split.is-static .how-path-dot {
    display: none;
}

.how-split.is-static .how-path-node {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .how-path-draw,
    .how-split.is-on .how-path-draw {
        transition: none;
        width: 100%;
        height: 100%;
    }

    .how-path-dot,
    .how-split.is-on .how-path-dot {
        display: none;
        animation: none;
    }

    .how-path-node,
    .how-split.is-on .how-path-node {
        animation: none !important;
    }
}

.how-split-tight {
    margin-top: 0.85rem;
}

@media (min-width: 800px) {
    .how-split-tight {
        grid-template-columns: minmax(0, 1fr) 3.25rem;
        gap: 0.75rem 1rem;
    }
}

/* Standalone step lists: keep the path close to the rows, not at the far edge of the wrap. */
#how-it-works .how-split,
#hours .how-split {
    max-width: 44rem;
}


#field-topic-other {
    grid-column: 1 / -1;
}

/* What we do intro on homepage */
.what-we-do-intro{max-width:46rem;margin:3rem 0 1.75rem;text-align:left}
.what-we-do-intro h2{margin:.25rem 0 .75rem}
.what-we-do-intro .lede{margin:0}

/* Path nodes placed by flow.js so they line up with each step. */
@media (min-width: 800px) {
    .how-split.is-aligned .how-path { display: block; padding: 0; }
    .how-split.is-aligned .how-path-node { position: absolute; left: 50%; transform: translate(-50%, -50%); }
    .how-split.is-aligned[data-steps="3"].is-on:not(.is-static) .how-path-dot { animation-name: path-travel-y-3v; }
    .how-split.is-aligned[data-steps="5"].is-on:not(.is-static) .how-path-dot { animation-name: path-travel-y-5v; }
}

@keyframes path-travel-y-3v {
    0%, 4% { top: 0; opacity: 1; }
    18% { top: 0; opacity: 1; }
    28%, 43% { top: var(--p1, 50%); opacity: 1; }
    53% { top: var(--p1, 50%); opacity: 1; }
    63%, 82% { top: 100%; opacity: 1; }
    92%, 100% { top: 100%; opacity: 0; }
}

@keyframes path-travel-y-5v {
    0%, 3% { top: 0; opacity: 1; }
    14% { top: 0; opacity: 1; }
    18%, 26% { top: var(--p1, 25%); opacity: 1; }
    30% { top: var(--p1, 25%); opacity: 1; }
    34%, 42% { top: var(--p2, 50%); opacity: 1; }
    46% { top: var(--p2, 50%); opacity: 1; }
    50%, 58% { top: var(--p3, 75%); opacity: 1; }
    62% { top: var(--p3, 75%); opacity: 1; }
    66%, 82% { top: 100%; opacity: 1; }
    90%, 100% { top: 100%; opacity: 0; }
}

/* Moving dot is exactly the size of the step circles and sits centred on them. */
.how-path-dot {
    width: 0.85rem;
    height: 0.85rem;
    box-sizing: border-box;
    border: 2px solid var(--blue);
    box-shadow: none;
    margin: 0;
}
@media (min-width: 800px) {
    .how-path-dot { left: 50%; transform: translate(-50%, -50%); }
}
.how-path-node { box-shadow: none !important; }
.how-path-dot { box-shadow: 0 0 0 5px rgba(75, 163, 199, 0.25); }
.how-path-dot { box-shadow: 0 0 0 8px rgba(75, 163, 199, 0.28), 0 0 14px 6px rgba(75, 163, 199, 0.22); }
