html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    padding: 1.5rem 0;
}

.footer {
    flex-shrink: 0;
    padding: 1.5rem 1.5rem;
}

/* TASK-142: the notice on the waiting page; the dashed edge is a line of stitching. */
.waiting-notice {
    max-width: 38rem;
    padding-left: 1.5rem;
    border-left: 3px dashed var(--bulma-text-weak, #7a7a7a);
}

/* TASK-214: the order timeline is a thread: stitched where the order has yet to go, solid where it has been. */
.steps-list {
    list-style: none;
    margin: 0 0 1rem 0.75rem;
    padding: 0;
}

.steps-list > li {
    position: relative;
    padding: 0 0 1.25rem 1.75rem;
    border-left: 3px dashed var(--bulma-border, #dbdbdb);
}

.steps-list > li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.steps-list > li.is-reached {
    border-left: 3px solid var(--bulma-success, #48c78e);
}

.steps-list > li.is-reached:last-child {
    border-left-color: transparent;
}

.steps-list > li::before {
    content: "";
    position: absolute;
    left: -0.6rem;
    top: 0.2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--bulma-scheme-main, #fff);
    border: 3px solid var(--bulma-border, #dbdbdb);
}

.steps-list > li.is-reached::before {
    background: var(--bulma-success, #48c78e);
    border-color: var(--bulma-success, #48c78e);
}

.steps-list > li.is-current::before {
    border-color: var(--bulma-link, #485fc7);
    background: var(--bulma-link, #485fc7);
}

.steps-list > li.is-current .steps-name {
    font-weight: 700;
}

.about-hero {
    position: relative;
    padding: 5rem 1.5rem 6rem;
    color: #f3f5f8;
    background-color: #1e2a44;
    background-image: repeating-linear-gradient(90deg, rgba(197, 206, 219, 0.14) 0, rgba(197, 206, 219, 0.14) 1px, transparent 1px, transparent 28px);
}

.about-title {
    max-width: 18ch;
    margin-bottom: 1.5rem;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.about-lead {
    max-width: 52ch;
    font-size: 1.2rem;
    line-height: 1.6;
}

.about-tape {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2.25rem;
    background-color: #f0c330;
    background-image:
        repeating-linear-gradient(90deg, #1e2a44 0, #1e2a44 1px, transparent 1px, transparent 8px),
        repeating-linear-gradient(90deg, #1e2a44 0, #1e2a44 2px, transparent 2px, transparent 40px);
    background-size: 100% 35%, 100% 70%;
    background-repeat: no-repeat;
    background-position: left bottom;
}

.about-body {
    max-width: 52rem;
}

.about-intro {
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    line-height: 1.7;
}

.about-list {
    margin-bottom: 2.5rem;
}

.about-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 0.5rem 2rem;
    padding: 1.25rem 0;
    border-top: 2px dashed #c5cedb;
}

.about-row:last-child {
    border-bottom: 2px dashed #c5cedb;
}

.about-row dt {
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e2a44;
}

.about-row dd {
    line-height: 1.65;
}

.about-languages {
    color: #5b6678;
}

@media screen and (max-width: 768px) {
    .about-hero {
        padding: 3rem 1.5rem 4.5rem;
    }

    .about-row {
        grid-template-columns: 1fr;
    }
}
