/* ===========================================================
   MTL Electric - About page
   Implements the "About Page" design (Claude Design).
   Loaded after css/shared.css and css/service.css (which
   provide the design tokens, base reset, buttons, .svc-crumbs,
   .svc-eyebrow/.svc-h2/.svc-head/.svc-more and .svc-cta).
   =========================================================== */

/* -----------------------------------------------------------
   Hero
   ----------------------------------------------------------- */
.ab-hero {
    padding-top: 72px;
}

.ab-hero__grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 64px;
    align-items: end;
}

.ab-hero__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 72px;
}

.ab-hero__title {
    font: 700 clamp(44px, 4.6vw + 10px, 74px)/.95 var(--font-display);
    color: var(--navy);
    text-transform: uppercase;
    text-wrap: pretty;
}

.ab-hero__lead {
    font: 400 19px/1.55 var(--font-body);
    color: var(--body);
    max-width: 560px;
    text-wrap: pretty;
}

.ab-hero .btn-row { margin-top: 4px; }

.ab-hero__figure {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ab-hero__frame {
    height: 560px;
    background: var(--paper);
    padding: 8px;
}
.ab-hero__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-hero__caption {
    font: 600 12px/1 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 20px;
}

@media (max-width: 1024px) {
    .ab-hero { padding-top: 48px; }
    .ab-hero__grid { grid-template-columns: 1fr 380px; gap: 40px; }
    .ab-hero__content { padding-bottom: 48px; gap: 18px; }
    .ab-hero__frame { height: 460px; }
}

@media (max-width: 768px) {
    .ab-hero { padding-top: 40px; }
    .ab-hero__grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .ab-hero__content {
        gap: 14px;
        padding-bottom: 32px;
    }
    .ab-hero__lead { font-size: 16px; line-height: 1.5; }
    .ab-hero__frame {
        height: 380px;
        padding: 6px;
        margin: 0 -4px;
    }
    .ab-hero__caption {
        font-size: 11px;
        padding-bottom: 0;
    }
}

/* -----------------------------------------------------------
   Stats band
   ----------------------------------------------------------- */
/* Full-bleed navy band; the cells themselves line up with the
   page's max width (their own padding stands in for the gutter,
   as in the design). */
.ab-stats {
    background: var(--navy);
}

.ab-stats__grid {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.ab-stat {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}
.ab-stat:last-child { border-right: 0; }

.ab-stat__num {
    font: 700 40px/1 var(--font-display);
    color: #fff;
}
.ab-stat__star {
    color: var(--peach);
    font-size: 20px;
    letter-spacing: 1px;
}
.ab-stat__label {
    font: 500 13px/1.3 var(--font-body);
    color: rgba(255, 255, 255, .7);
    letter-spacing: .06em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    /* 3 + 2, the last cell filling out the second row */
    .ab-stats__grid { grid-template-columns: repeat(3, 1fr); }
    .ab-stat { padding: 24px 20px; }
    .ab-stat:nth-child(3) { border-right: 0; }
    .ab-stat:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .ab-stat:last-child { grid-column: span 2; }
    .ab-stat__num { font-size: 34px; }
}

@media (max-width: 768px) {
    /* 2 x 2 plus a full-width fifth cell */
    .ab-stats__grid { grid-template-columns: 1fr 1fr; }
    .ab-stat { padding: 20px 18px; }
    .ab-stat:nth-child(odd):not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .12); }
    .ab-stat:nth-child(even) { border-right: 0; }
    .ab-stat:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .ab-stat:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }
    .ab-stat__num { font-size: 32px; }
    .ab-stat__star { font-size: 16px; }
    .ab-stat__label { font-size: 12px; }
}

/* -----------------------------------------------------------
   Our story
   ----------------------------------------------------------- */
.ab-story {
    padding: var(--sec-y) 0;
}

.ab-story .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.ab-story__head {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ab-story__head .svc-h2 { font-size: 52px; line-height: .98; }

.ab-story__body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    font: 400 18px/1.7 var(--font-body);
    color: #2a3140;
}
.ab-story__body p { margin: 0; }
.ab-story__body a {
    color: var(--navy);
    border-bottom: 1px solid var(--orange);
    transition: color .15s;
}
.ab-story__body a:hover { color: var(--orange); }
.ab-story__lead {
    font: 500 21px/1.55 var(--font-body);
    color: var(--ink);
}

.ab-quote {
    margin-top: 8px;
    border-left: 3px solid var(--orange);
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ab-quote blockquote {
    font: 700 28px/1.2 var(--font-display);
    color: var(--navy);
    text-transform: uppercase;
}
.ab-quote figcaption {
    font: 600 13px/1 var(--font-body);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 1024px) {
    .ab-story .wrap { gap: 40px; }
    .ab-story__head { position: static; }
    .ab-story__head .svc-h2 { font-size: 44px; }
}

@media (max-width: 768px) {
    .ab-story .wrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .ab-story__head { gap: 10px; }
    .ab-story__head .svc-h2 { font-size: 36px; }
    .ab-story__body { gap: 16px; font-size: 16px; line-height: 1.65; }
    .ab-story__lead { font-size: 18px; line-height: 1.5; }
    .ab-quote { padding-left: 18px; gap: 8px; }
    .ab-quote blockquote { font-size: 24px; }
}

/* -----------------------------------------------------------
   Values
   ----------------------------------------------------------- */
.ab-values {
    background: var(--paper);
    padding: var(--sec-y) 0;
}

.ab-values .wrap {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.ab-values__head { max-width: 760px; }
.ab-values__head p {
    margin: 0;
    font: 400 17px/1.55 var(--font-body);
    color: var(--muted);
}

.ab-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ab-value {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ab-value__num {
    font: 700 44px/1 var(--font-display);
    color: var(--orange);
}
.ab-value__text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ab-value h3 {
    font: 700 24px/1.05 var(--font-display);
    color: var(--navy);
    text-transform: uppercase;
}
.ab-value p {
    margin: 0;
    font: 400 15px/1.55 var(--font-body);
    color: var(--muted);
}

@media (max-width: 1024px) {
    .ab-values .wrap { gap: 32px; }
    .ab-values__grid { grid-template-columns: 1fr 1fr; }
    .ab-value { padding: 26px 24px; }
}

@media (max-width: 768px) {
    .ab-values .wrap { gap: 24px; }
    .ab-values__head p { display: none; }
    .ab-values__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ab-value {
        display: grid;
        grid-template-columns: 52px 1fr;
        gap: 12px;
        padding: 22px 20px;
    }
    .ab-value__num { font-size: 34px; }
    .ab-value__text {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .ab-value h3 { font-size: 21px; }
    .ab-value p { font-size: 14px; line-height: 1.5; }
}

/* -----------------------------------------------------------
   Credentials
   ----------------------------------------------------------- */
.ab-creds {
    padding: var(--sec-y) 0;
}

.ab-creds .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ab-creds__photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 220px;
    gap: 12px;
}
.ab-creds__photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ab-creds__photos img:first-child { grid-column: 1 / -1; }

.ab-creds__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ab-creds__text > p {
    margin: 0;
    font: 400 17px/1.6 var(--font-body);
    color: var(--body);
    text-wrap: pretty;
}

.ab-creds__list {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--navy);
}

.ab-cred {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    font: 600 16px/1.3 var(--font-body);
    color: var(--ink);
}
.ab-cred__value {
    font: 500 14px/1 var(--font-body);
    color: var(--muted);
    white-space: nowrap;
}
.ab-cred__check {
    color: var(--orange);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .ab-creds .wrap { gap: 40px; }
    .ab-creds__photos { grid-template-rows: 210px 180px; }
}

@media (max-width: 768px) {
    .ab-creds .wrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .ab-creds__photos {
        grid-template-rows: 200px 150px;
        gap: 10px;
    }
    .ab-creds__text { gap: 14px; }
    .ab-creds__text > p { font-size: 16px; }
    .ab-cred {
        padding: 14px 0;
        font-size: 15px;
        gap: 12px;
    }
}

/* -----------------------------------------------------------
   Reviews
   ----------------------------------------------------------- */
.ab-reviews {
    background: var(--navy);
    padding: var(--sec-y) 0;
}

.ab-reviews .wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}

.ab-reviews__score {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ab-reviews__stars {
    color: var(--peach);
    font-size: 24px;
    letter-spacing: 3px;
}
.ab-reviews__num {
    font: 700 72px/1 var(--font-display);
    color: #fff;
}
.ab-reviews__meta {
    font: 600 14px/1.4 var(--font-body);
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.ab-reviews__score .btn {
    margin-top: 12px;
    align-self: flex-start;
}

.ab-reviews__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ab-review {
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ab-review blockquote {
    font: 400 16px/1.6 var(--font-body);
    color: #fff;
}
.ab-review figcaption {
    font: 600 12px/1 var(--font-body);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--peach);
}

@media (max-width: 1024px) {
    .ab-reviews .wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ab-reviews__num { font-size: 56px; }
}

@media (max-width: 768px) {
    .ab-reviews .wrap { gap: 20px; }
    .ab-reviews__score {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px;
    }
    .ab-reviews__num { font-size: 52px; order: -1; }
    .ab-reviews__stars { font-size: 14px; letter-spacing: 2px; }
    .ab-reviews__meta { font-size: 12px; letter-spacing: .08em; }
    .ab-reviews__score .btn {
        margin-top: 0;
        width: 100%;
        order: 1;
    }
    .ab-reviews__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ab-review { padding: 22px; gap: 12px; }
    .ab-review blockquote { font-size: 15px; line-height: 1.55; }
}

/* -----------------------------------------------------------
   Service area
   ----------------------------------------------------------- */
.ab-area {
    padding: var(--sec-y) 0;
}

.ab-area .wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ab-area__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}
.ab-area__head .svc-h2 { font-size: 52px; line-height: .98; }
/* Sit the link on the heading's baseline, not the top of the column */
.ab-area__head .svc-more { align-self: flex-end; }

.ab-area__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.ab-area__col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ab-area__col h3 {
    font: 700 30px/1 var(--font-display);
    color: var(--navy);
    text-transform: uppercase;
    border-bottom: 2px solid var(--navy);
    padding-bottom: 12px;
}
.ab-area__col p {
    margin: 0;
    font: 400 15px/1.8 var(--font-body);
    color: var(--muted);
}

@media (max-width: 1024px) {
    .ab-area .wrap { gap: 32px; }
    .ab-area__head .svc-h2 { font-size: 44px; }
    .ab-area__cols { gap: 40px; }
}

@media (max-width: 768px) {
    .ab-area .wrap { gap: 24px; }
    .ab-area__head {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .ab-area__head .svc-h2 { font-size: 36px; }
    .ab-area__head .svc-more { align-self: flex-start; }
    .ab-area__cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ab-area__col { gap: 10px; }
    .ab-area__col h3 { font-size: 24px; padding-bottom: 10px; }
    .ab-area__col p { font-size: 14px; line-height: 1.75; }
}
