/* ======================================
   METRO DETECTIVE AGENCY - ABOUT PAGE
   full-width photo banner, then the three About blocks (Our Experience, Our Approach,
   Confidentiality & Reach) as red-numbered cards in one row.
   All rules are scoped under .mda-about. Side gutters follow the navbar (60 / 47 / 27 / 20px).
====================================== */

.mda-about {
    --mda-red: #ee3939;
    --mda-ink: #000000;
    --mda-muted: #5f5f5f;
    --mda-card: #fdf4f4;
    --mda-card-line: #f6e1e1;
    --mda-gutter: 60px;

    position: relative;
    width: 100%;
    padding: 0;
    overflow: clip;
    background: #ffffff;
    color: var(--mda-ink);
    font-family: "DM Sans", sans-serif;
}

.mda-about *,
.mda-about *::before,
.mda-about *::after {
    box-sizing: border-box;
}

.mda-about a {
    color: inherit;
    text-decoration: none;
}

.mda-red {
    color: var(--mda-red);
}

/* ======================================
   BANNER
====================================== */

.mda-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(380px, 52vh, 500px);
    padding: 70px var(--mda-gutter);
    overflow: hidden;
    isolation: isolate;
    background: #000000;
    color: #ffffff;
}

.mda-banner-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 60% 42%;   /* the team at the desk and the evidence board stay in view */
}

/* dark behind the words on the left, the photo stays clear on the right */
.mda-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.1) 100%);
}

.mda-banner-copy {
    max-width: 640px;
}

/* the eyebrow is the page's H1 (for search); these keep the heading defaults from changing its look */
.mda-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    font-family: inherit;
    line-height: 1.5;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
}

.mda-eyebrow::before {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--mda-red);
}

.mda-title {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(40px, 4.6vw, 66px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.mda-title span {
    display: inline-block;
}

.mda-title .mda-title-red {
    color: var(--mda-red);
}

.mda-rule {
    display: block;
    width: 56px;
    height: 3px;
    margin: 22px 0 18px;
    background: var(--mda-red);
    transform-origin: left center;
}

.mda-tagline {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* ======================================
   ABOUT BLOCKS: three cards in a row
====================================== */

.mda-main {
    padding: 64px var(--mda-gutter) 32px;
}

.mda-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mda-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-left: -10px;                 /* the drawn icon lines up with the paragraph below; the hover circle sits round it */
    border-radius: 50%;
    color: var(--mda-red);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mda-ico svg {
    width: 26px;
    height: 26px;
}

.mda-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* number + icon + title share the first row; the paragraph runs underneath */
.mda-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 4px;
    align-items: center;
    align-content: start;
    padding: 26px 28px 28px;
    border: 1px solid var(--mda-card-line);
    border-radius: 8px;
    background: var(--mda-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.mda-card:hover {
    border-color: rgba(238, 57, 57, 0.45);
    background: #ffffff;
    box-shadow: 0 14px 30px -18px rgba(238, 57, 57, 0.55);
    transform: translateY(-3px);
}

.mda-card:hover .mda-ico {
    background: var(--mda-red);
    color: #ffffff;
}

.mda-card h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--mda-ink);
}

.mda-card p {
    grid-column: 1 / -1;
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--mda-muted);
}

/* ======================================
   VISION BAND
====================================== */

/* sits straight under the cards, same side edges, no band of its own */
.mda-vision-wrap {
    position: relative;
    z-index: 1;
    padding: 0 var(--mda-gutter) 56px;
    background: #ffffff;
}

.mda-vision-wrap .metro-vision {
    margin: 0;
}

/* ======================================
   TABLET AND MOBILE
====================================== */

@media (max-width: 1199px) {
    .mda-about {
        --mda-gutter: 47px;
    }

    .mda-main {
        padding-top: 52px;
        padding-bottom: 28px;
    }

    .mda-card {
        padding: 22px 22px 24px;
    }

    .mda-card h3 {
        font-size: 23px;
    }
}

@media (max-width: 991px) {
    .mda-about {
        --mda-gutter: 27px;
    }

    .mda-banner {
        min-height: 400px;
    }

    .mda-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .mda-about {
        --mda-gutter: 20px;
    }

    .mda-banner {
        min-height: 0;
        padding-top: 64px;
        padding-bottom: 56px;
    }

    .mda-banner-img {
        object-position: 78% 40%;
    }

    .mda-banner::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 100%);
    }

    .mda-tagline {
        font-size: 16px;
    }

    .mda-main {
        padding-top: 44px;
        padding-bottom: 24px;
    }

    .mda-card {
        padding: 22px 20px 24px;
    }

    .mda-vision-wrap {
        padding-bottom: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mda-about *,
    .mda-about *::before,
    .mda-about *::after {
        transition-duration: 0.01ms !important;
    }
}

/* ======================================
   MISSION & VALUES (dark glass cards + case-file note, GSAP)
====================================== */

.mv {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 0;
    background: #09090b;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
}

/* dark desk photo with blurred papers on it */
.mv-bg {
    position: absolute;
    inset: -3%;
    z-index: -2;
    pointer-events: none;
    background: url("../images/mission-bg.jpg") center 60% / cover no-repeat;
}

.mv-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 9, 0.28);
}

.mv-inner {
    position: relative;
    padding: clamp(64px, 8vw, 110px) clamp(24px, 7vw, 120px) clamp(70px, 8vw, 120px);
}

.mv-title {
    margin: 0 0 clamp(28px, 3.4vw, 48px);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 3.8vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1px;
    color: #ffffff;
}

.mv-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    column-gap: 8%;
    align-items: start;
}

.mv-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- glass cards ---- */
.mv-card {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.mv-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.mv-card.is-active {
    border-color: rgba(238, 57, 57, 0.85);
    background: rgba(238, 57, 57, 0.07);
    box-shadow: 0 0 0 1px rgba(238, 57, 57, 0.2), 0 0 32px rgba(238, 57, 57, 0.3), inset 0 0 34px rgba(238, 57, 57, 0.1);
}

.mv-head {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 22px 24px;
    border: 0;
    background: none;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.mv-head:focus-visible {
    outline: 2px solid #ee3939;
    outline-offset: -4px;
    border-radius: 14px;
}

.mv-ico {
    flex: 0 0 auto;
    width: 0;
    height: 36px;
    margin-right: 0;
    overflow: hidden;
    opacity: 0;
    color: #ee3939;
    transition: width 0.4s ease, margin 0.4s ease, opacity 0.4s ease;
}

.mv-ico svg {
    display: block;
    width: 36px;
    height: 36px;
}

.mv-card.is-active .mv-ico {
    width: 36px;
    margin-right: 14px;
    opacity: 1;
}

.mv-name {
    flex: 1;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(20px, 1.9vw, 28px);
    font-weight: 600;
    line-height: 1.2;
}

.mv-chev {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin: -4px 4px 0 14px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform 0.4s ease, margin 0.4s ease;
}

.mv-card.is-active .mv-chev {
    margin-top: 4px;
    transform: rotate(-135deg);
}

.mv-body {
    height: 0;
    overflow: hidden;
}

.mv-card.is-active .mv-body {
    height: auto;
}

.mv-body p {
    margin: 0;
    padding: 0 24px 24px;
    font-size: clamp(15px, 1.12vw, 17px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

/* ---- red wire from the open card to the target ---- */
.mv-wire {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.mv-wire path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mv-wire-line {
    stroke: #ee3939;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px rgba(238, 57, 57, 0.9));
}

.mv-wire-pulse {
    stroke: #ffb0b0;
    stroke-width: 2.6;
    filter: drop-shadow(0 0 6px rgba(255, 90, 90, 1));
}

.mv-wire-dot {
    fill: #ff4a4a;
    filter: drop-shadow(0 0 6px rgba(255, 70, 70, 1));
}

.mv-wire-halo {
    fill: none;
    stroke: rgba(255, 74, 74, 0.7);
    stroke-width: 1.5;
}

/* ---- case-file panel ---- */
.mv-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    aspect-ratio: 410 / 495;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.mv-redcard {
    position: absolute;
    left: 9.3%;
    top: 6%;
    width: 83.6%;
    height: 70%;
    border: 1px solid rgba(238, 57, 57, 0.8);
    border-radius: 14px;
    box-shadow: 0 0 22px rgba(238, 57, 57, 0.25);
}

.mv-note {
    position: absolute;
    left: 3.2%;
    top: 2.6%;
    width: 87.3%;
    height: 94.6%;
    padding: clamp(56px, 6.6vw, 84px) clamp(18px, 2.2vw, 30px) 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.mv-note-text {
    margin: 0;
    font-size: clamp(14px, 1.08vw, 16.5px);
    line-height: 1.7;
    color: #ffffff;
}

.mv-clip {
    position: absolute;
    left: 6%;
    top: -9%;
    width: 9%;
    height: auto;
    overflow: visible;
    transform: rotate(-8deg);
    filter: drop-shadow(0 0 6px rgba(255, 60, 60, 0.9));
}

.mv-cross {
    position: absolute;
    left: 45.9%;
    top: 55.4%;
    width: 17.5%;
    height: auto;
    margin: -4.4% 0 0 -8.7%;
    overflow: visible;
    filter: drop-shadow(0 0 4px rgba(255, 60, 60, 0.8));
}

.mv-polaroid {
    position: absolute;
    right: 2.5%;
    bottom: 3.5%;
    z-index: 2;
    width: 47.6%;
    margin: 0;
    padding: 4.4% 4.4% 7%;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
    transform: rotate(4deg);
}

.mv-polaroid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 166 / 172;
    object-fit: cover;
}

.mv-tape {
    position: absolute;
    left: 26%;
    top: -7%;
    width: 48%;
    height: 12%;
    background: rgba(226, 214, 168, 0.88);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: rotate(-3deg);
}

.mv-stamp {
    position: absolute;
    left: 9%;
    top: 71%;
    z-index: 3;
    padding: 0.35em 0.7em;
    border: 3px solid rgba(214, 52, 52, 0.9);
    border-radius: 5px;
    color: rgba(214, 52, 52, 0.95);
    font-size: clamp(14px, 1.7vw, 24px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    white-space: nowrap;
    transform: rotate(-9deg);
}

.mv-tick {
    position: absolute;
    right: -2.2%;
    top: 75.8%;
    z-index: 3;
    width: 3.4%;
    height: 1px;
    background: #ff4d4d;
}

.mv-tick:after {
    content: "";
    position: absolute;
    right: -3px;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d4d;
    box-shadow: 0 0 8px rgba(255, 70, 70, 1);
}

/* ---- tablet and phone ---- */
@media (max-width: 991px) {
    .mv-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 44px;
    }

    .mv-wire,
    .mv-note-text {
        display: none;
    }

    .mv-panel {
        max-width: 460px;
        margin: 0 auto;
        aspect-ratio: 1 / 0.82;
    }

    .mv-note {
        padding: 0;
    }

    .mv-polaroid {
        width: 48%;
        right: 9%;
        bottom: 8%;
    }

    .mv-stamp {
        left: 7%;
        top: 60%;
    }

    .mv-cross {
        left: 44%;
        top: 40%;
    }
}

@media (max-width: 575px) {
    .mv-head {
        padding: 18px 18px;
    }

    .mv-body p {
        padding: 0 18px 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .mv-card,
    .mv-ico,
    .mv-chev {
        transition: none;
    }
}

/* ======================================
   WHO WE WORK FOR, AND WHERE (local SEO copy)
   a dark side column (head office, centres, cities) beside the story: heading, three client groups as
   numbered rows, and the four steps of a case. Compact: about one screen on a laptop.
   Sits after Mission & Values; uses the site's plain .container for the navbar edges.
====================================== */

.mal {
    --mal-red: #ee3939;
    --mal-ink: #171717;
    --mal-text: #444444;
    --mal-line: #e5e5e5;
    --mal-pink: #fff0f0;
    background: #ffffff;
    font-family: "DM Sans", sans-serif;
}

.mal-grid {
    display: grid;
    grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 60px);
    align-items: stretch;
}

/* ---- dark side column (as tall as the story beside it) ---- */
.mal-side {
    display: grid;
    gap: 22px;
    align-content: space-between;
    padding: 28px;
    background: #0b0b0c;
    color: #ffffff;
}

.mal-office-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mal-red);
}

.mal-office-addr {
    margin: 0 0 10px;
    font-style: normal;
    font-size: 13.5px;
    line-height: 1.55;
    color: #ffffff;
}

.mal-office-lines {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.mal-office-lines li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mal-office-lines i {
    flex: none;
    font-size: 16px;
    color: var(--mal-red);
}

.mal-office-lines a {
    color: #ffffff;
    word-break: break-word;
}

.mal-office-lines a:hover,
.mal-office-lines a:focus {
    color: var(--mal-red);
}

.mal-office-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.mal-office-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--mal-red);
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
}

.mal-office-links a:hover,
.mal-office-links a:focus {
    color: var(--mal-red);
}

.mal-office-links a i {
    transition: transform 0.25s ease;
}

.mal-office-links a:hover i,
.mal-office-links a:focus i {
    transform: translateX(3px);
}

.mal-reach-h {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #3a3a3d;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
}

.mal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mal-chips li {
    padding: 4px 11px;
    border: 1px solid #3a3a3d;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.78);
}

.mal-chips-links li {
    padding: 0;
}

.mal-chips-links a {
    display: block;
    padding: 4px 11px;
    border-radius: 999px;
    color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mal-chips-links a:hover,
.mal-chips-links a:focus {
    background: var(--mal-red);
    color: #ffffff;
}

/* ---- the story ---- */
.mal-main {
    min-width: 0;
}

.mal-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mal-red);
}

.mal-eyebrow i {
    display: block;
    width: 34px;
    height: 2px;
    background: var(--mal-red);
}

.mal-title {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--mal-ink);
}

.mal-title em {
    font-style: normal;
    color: var(--mal-red);
}

.mal-lead {
    margin: 0;
    font-size: clamp(14.5px, 1.05vw, 15.5px);
    line-height: 1.65;
    color: var(--mal-text);
}

/* three client groups: numbered rows between thin lines */
.mal-cards {
    margin: clamp(18px, 3vh, 26px) 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--mal-ink);
}

.mal-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    column-gap: 14px;
    padding: clamp(14px, 2.2vh, 20px) 0;
    border-bottom: 1px solid var(--mal-line);
}

.mal-card-no {
    grid-row: 1 / span 2;
    margin-top: 1px;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--mal-red);
}

.mal-card-h {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(19px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--mal-ink);
}

.mal-card-p {
    grid-column: 2 / span 2;
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--mal-text);
}

/* the link sits at the right of the group's title */
.mal-card-go {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: start;
    justify-self: end;
    margin-top: 3px;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    font-weight: 600;
    color: var(--mal-red);
}

.mal-card-go:hover,
.mal-card-go:focus {
    color: #c92b2b;
}

.mal-card-go i {
    transition: transform 0.25s ease;
}

.mal-card-go:hover i,
.mal-card-go:focus i {
    transform: translateX(4px);
}

/* how a case starts: four steps in two rows */
.mal-how {
    margin-top: clamp(18px, 3vh, 26px);
}

.mal-how .mal-reach-h {
    border-bottom-color: var(--mal-line);
    color: var(--mal-ink);
}

.mal-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: mal-step;
}

.mal-steps li {
    position: relative;
    display: grid;
    gap: 2px;
    padding-left: 38px;
    counter-increment: mal-step;
}

.mal-steps li::before {
    content: counter(mal-step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--mal-red);
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
}

.mal-steps strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--mal-ink);
}

.mal-steps span {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--mal-text);
}

/* ---- short laptop screens: a little tighter so it stays close to one screen ---- */
/* wide screens: the four steps run in one row */
@media (min-width: 1500px) {
    .mal-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0 22px;
    }
}

@media (min-width: 992px) and (max-height: 860px) {
    .mal-side {
        gap: 16px;
        padding: 22px 24px;
    }

    .mal-card-p {
        margin: 4px 0 0;
        font-size: 13.5px;
        line-height: 1.55;
    }

    .mal-steps span {
        font-size: 13px;
    }
}

/* ---- tablet and phone: the story first, then the dark panel ---- */
@media (max-width: 991px) {
    .mal-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .mal-side {
        order: 2;
    }

    .mal-main {
        order: 1;
    }
}

@media (max-width: 575px) {
    /* on phones the link goes back under the text */
    .mal-card-p {
        grid-column: 2;
        margin-bottom: 10px;
    }

    .mal-card-go {
        grid-column: 2;
        grid-row: 3;
        justify-self: start;
        margin-top: 0;
    }

    .mal-side {
        padding: 22px 18px;
    }

    .mal-eyebrow {
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    .mal-card {
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 10px;
    }

    .mal-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mal-office-links a i,
    .mal-card-go i,
    .mal-chips-links a {
        transition: none;
    }
}
