/* About page */
.about-hero {
    width: 100vw;
    margin-top: -2.35rem;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    border-bottom: 1px solid rgba(3, 22, 41, 0.08);
    background: #ffffff;
    color: #031629;
}

.about-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    width: min(1180px, calc(100% - 2rem));
    min-height: 31rem;
    margin: 0 auto;
}

.about-hero__copy {
    position: relative;
    display: grid;
    align-content: center;
    gap: 0.75rem;
    padding: clamp(3.5rem, 6vw, 5rem) clamp(2.25rem, 5vw, 4.5rem) clamp(3.5rem, 6vw, 5rem) 0;
    background: #031629;
}

.about-hero__copy::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    width: 50vw;
    background: #031629;
}

.about-hero__eyebrow {
    width: fit-content;
    color: #f85000;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-hero__copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.025em;
}

.about-hero__copy p {
    max-width: 34rem;
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.7;
}

.about-hero__media {
    position: relative;
    min-height: 31rem;
    margin: 0;
    border-left: 3px solid #f85000;
    background: transparent;
}

.about-hero__media img {
    position: absolute;
    top: 44%;
    left: 50%;
    display: block;
    width: min(30.5rem, 94%);
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(1.1rem 1rem 0.85rem rgba(3, 22, 41, 0.18));
}

@media (min-width: 1200px) {
    .about-hero__media img {
        width: min(32rem, 98%);
    }
}

/* Company story */
.about-story {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 6rem);
    margin-top: clamp(4rem, 7vw, 6rem);
}

.about-story__intro {
    position: sticky;
    top: 7.5rem;
}

.about-story__intro h2,
.about-section-heading h2,
.about-seo-section h2,
.about-faq h2 {
    margin: 0;
    color: #031629;
    font-size: clamp(1.9rem, 3vw, 2.65rem);
    line-height: 1.14;
    letter-spacing: -0.018em;
}

.about-story__intro h2::before,
.about-section-heading h2::before,
.about-seo-section h2::before,
.about-faq h2::before {
    content: "";
    display: block;
    width: 2.6rem;
    height: 3px;
    margin-bottom: 1rem;
    background: #f85000;
}

.about-story__content {
    display: grid;
    border-top: 1px solid rgba(3, 22, 41, 0.14);
}

.about-story__content p {
    margin: 0;
    padding: 1.4rem 0;
    border-bottom: 1px solid rgba(3, 22, 41, 0.14);
    color: #555e69;
    font-size: 1rem;
    line-height: 1.78;
}

.about-story__content p:first-child {
    color: #3f4955;
    font-size: 1.04rem;
}

.about-story__content a,
.about-seo-section a {
    color: #a93400;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: color 0.2s ease;
}

.about-story__content a:hover,
.about-seo-section a:hover {
    color: #031629;
}

.about-story__content a:focus-visible,
.about-seo-section a:focus-visible {
    border-radius: 2px;
    outline: 2px solid rgba(248, 80, 0, 0.55);
    outline-offset: 3px;
}

/* Shared section heading */
.about-capabilities {
    gap: 2rem;
    margin-top: clamp(4.5rem, 8vw, 7rem);
}

.about-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 5rem);
}

.about-section-heading p {
    max-width: 42rem;
    margin: 0;
    color: #555e69;
    font-size: 1rem;
    line-height: 1.75;
}

/* Supply capabilities */
.about-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid rgba(3, 22, 41, 0.14);
    counter-reset: capability;
}

.about-capability {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    align-content: start;
    column-gap: 1rem;
    row-gap: 0.6rem;
    min-height: 12.5rem;
    padding: 1.5rem 1.35rem;
    border-top: 1px solid rgba(3, 22, 41, 0.14);
    background: transparent;
    color: inherit;
    counter-increment: capability;
    transition: background-color 0.24s ease, color 0.24s ease;
}

.about-capability:nth-child(odd) {
    border-right: 1px solid rgba(3, 22, 41, 0.14);
}

.about-capability::before {
    content: "0" counter(capability);
    grid-column: 1;
    grid-row: 1 / span 2;
    color: #f85000;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.5;
    transition: color 0.24s ease;
}

.about-capability h3,
.about-capability p {
    grid-column: 2;
    margin: 0;
}

.about-capability h3 {
    color: #031629;
    font-size: 1.08rem;
    line-height: 1.35;
}

.about-capability p {
    color: #555e69;
    font-size: 0.96rem;
    line-height: 1.7;
}

.about-capability:hover {
    background: #f4f6f8;
}

.about-capability:hover::before {
    color: #031629;
}

.about-capability:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(248, 80, 0, 0.45);
    outline-offset: -3px;
}

/* Sourcing-to-service editorial band */
.about-seo-section {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 6rem);
    width: 100vw;
    margin-top: clamp(4.5rem, 8vw, 7rem);
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: clamp(3.75rem, 6vw, 5.25rem) max(calc((100vw - 1180px) / 2), 1rem);
    border-top: 1px solid rgba(3, 22, 41, 0.1);
    border-bottom: 1px solid rgba(3, 22, 41, 0.1);
    background: #f3f5f7;
}

.about-seo-section__body {
    display: grid;
    gap: 1.4rem;
}

.about-seo-section p {
    margin: 0;
    padding-left: 1.4rem;
    border-left: 2px solid rgba(3, 22, 41, 0.2);
    color: #4d5663;
    font-size: 1rem;
    line-height: 1.78;
}

.about-seo-section p:first-child {
    border-left-color: #f85000;
}

/* Frequently asked questions */
.about-faq {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 6rem);
    margin-top: clamp(4.5rem, 8vw, 7rem);
}

.about-faq h2 {
    position: sticky;
    top: 7.5rem;
}

.about-faq__list {
    display: grid;
    border-top: 1px solid rgba(3, 22, 41, 0.16);
}

.about-faq__item {
    margin: 0;
    border-bottom: 1px solid rgba(3, 22, 41, 0.16);
}

.about-faq__question {
    position: relative;
    display: block;
    padding: 1.4rem 3.25rem 1.4rem 0;
    color: #031629;
    list-style: none;
    cursor: pointer;
}

.about-faq__question::-webkit-details-marker {
    display: none;
}

.about-faq__question::marker {
    content: "";
}

.about-faq__question h3 {
    margin: 0;
    color: inherit;
    font-size: 1.08rem;
    line-height: 1.4;
    transition: color 0.22s ease;
}

.about-faq__question::before,
.about-faq__question::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.25rem;
    width: 1.1rem;
    height: 2px;
    background: #f85000;
    transform: translateY(-50%);
    transform-origin: center;
    transition: background-color 0.22s ease, opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-faq__question::after {
    transform: translateY(-50%) rotate(90deg);
}

.about-faq__item[open] > .about-faq__question::after {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg) scaleX(0);
}

.about-faq__question:hover::before,
.about-faq__question:hover::after {
    background: #031629;
}

.about-faq__question:focus-visible {
    border-radius: 3px;
    outline: 3px solid rgba(248, 80, 0, 0.42);
    outline-offset: 4px;
}

.about-faq__answer {
    padding: 0 3.25rem 1.45rem 0;
}

.about-faq__answer-inner {
    overflow: hidden;
}

.about-faq__answer p {
    max-width: 47rem;
    margin: 0;
    color: #555e69;
    font-size: 0.98rem;
    line-height: 1.75;
}

/* Responsive layout */
@media (max-width: 900px) {
    .about-hero__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        min-height: 27rem;
    }

    .about-hero__copy {
        padding-top: 3rem;
        padding-right: 2rem;
        padding-bottom: 3rem;
    }

    .about-hero__media {
        min-height: 27rem;
    }

    .about-hero__media img {
        width: min(27.5rem, 94%);
    }

    .about-story,
    .about-section-heading,
    .about-seo-section,
    .about-faq {
        grid-template-columns: 1fr;
    }

    .about-story,
    .about-seo-section,
    .about-faq {
        gap: 2rem;
    }

    .about-story__intro,
    .about-faq h2 {
        position: static;
    }

    .about-story__intro,
    .about-section-heading h2,
    .about-seo-section h2,
    .about-faq h2 {
        max-width: 42rem;
    }

    .about-section-heading {
        align-items: start;
        gap: 1.25rem;
    }

}

@media (max-width: 640px) {
    .about-hero {
        margin-top: -1.5rem;
    }

    .about-hero__inner {
        grid-template-columns: 1fr;
        width: calc(100% - 1.5rem);
        min-height: 0;
    }

    .about-hero__copy {
        margin-right: -0.75rem;
        margin-left: -0.75rem;
        padding: 2.8rem 0.75rem 2.65rem;
    }

    .about-hero__copy::before {
        display: none;
    }

    .about-hero__copy h1 {
        font-size: clamp(2.35rem, 12vw, 3rem);
    }

    .about-hero__copy p {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .about-hero__media {
        min-height: 20rem;
        margin-right: -0.75rem;
        margin-left: -0.75rem;
        border-top: 3px solid #f85000;
        border-left: 0;
    }

    .about-hero__media img {
        top: 43%;
        width: min(24.5rem, 90%);
    }

    .about-story,
    .about-capabilities,
    .about-seo-section,
    .about-faq {
        margin-top: 3.75rem;
    }

    .about-story__intro h2,
    .about-section-heading h2,
    .about-seo-section h2,
    .about-faq h2 {
        font-size: 1.72rem;
        line-height: 1.2;
    }

    .about-story__content p,
    .about-story__content p:first-child,
    .about-seo-section p {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .about-capabilities__grid {
        grid-template-columns: 1fr;
    }

    .about-capability {
        min-height: 0;
        padding: 1.3rem 0.75rem;
    }

    .about-capability:nth-child(odd) {
        border-right: 0;
    }

    .about-seo-section {
        padding-top: 3.5rem;
        padding-right: max(calc((100vw - 1180px) / 2), 0.75rem);
        padding-bottom: 3.5rem;
        padding-left: max(calc((100vw - 1180px) / 2), 0.75rem);
    }

    .about-seo-section p {
        padding-left: 1rem;
    }

    .about-faq__question {
        padding-top: 1.2rem;
        padding-right: 2.6rem;
        padding-bottom: 1.2rem;
    }

    .about-faq__question h3 {
        font-size: 1rem;
    }

    .about-faq__answer {
        padding-right: 2.6rem;
        padding-bottom: 1.25rem;
    }

    .about-faq__answer p {
        font-size: 0.94rem;
        line-height: 1.68;
    }

}

@media (prefers-reduced-motion: reduce) {
    .about-capability,
    .about-capability::before,
    .about-faq__question h3,
    .about-faq__question::before,
    .about-faq__question::after {
        transition: none;
    }
}
