.about {
    --navy: #1b2536;
    background: var(--paper);
}

.legacy {
    display: flex;
    align-items: center;
    height: 560px;
    min-height: 560px;
    color: #fff;
    background:
        linear-gradient(90deg, #950e1c 38%, rgba(160, 16, 32, 0) 64%),
        url("../images/about-hero.jpg?v=20261024") center / cover no-repeat,
        #a31020;
}

.legacy__inner {
    padding: var(--section-y) var(--gutter);
}

.legacy__inner > * {
    max-width: 480px;
}

.legacy h1,
.story__copy h2,
.strength h2,
.philosophy h2,
.org h2,
.principals h2 {
    margin: 0;
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.02;
}

.legacy h1 {
    font-size: clamp(40px, 5.56vw, 80px);
}

.legacy p:last-child,
.story__copy p,
.strength p {
    max-width: 580px;
    margin: 24px 0 0;
    font-size: var(--text-body);
    line-height: 1.55;
}

.story {
    display: block;
    padding: var(--section-y) var(--gutter);
    background: linear-gradient(#fff 0 45%, var(--blue-band) 45%);
    overflow: visible;
}

.story .swiper-slide {
    height: auto;
}

@media (min-width: 981px) {
    .story .swiper-wrapper {
        display: grid;
        grid-template-columns: 0.82fr 1.1fr 0.9fr;
        gap: 8px;
        transform: none !important;
    }

    .story .swiper-slide {
        width: auto !important;
        height: auto;
        margin: 0 !important;
        align-self: stretch;
    }

    .story__photo {
        height: 100%;
        min-height: 100%;
    }

    .story__photo img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

.story__bar {
    display: none;
}

.story__photo {
    position: relative;
    margin: 0;
    min-height: 560px;
    overflow: hidden;
    background: #ddd;
}

.story__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.story__photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 64px 18px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    color: #fff;
    text-align: center;
}

.story__photo strong,
.story__photo span {
    display: block;
}

.story__photo span {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.4;
}

.story__copy,
.timeline {
    background: var(--card);
    padding: 48px 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.story__copy h2,
.org h2 {
    color: var(--navy);
}

.story__copy h2,
.strength h2,
.philosophy h2,
.org h2 {
    font-size: clamp(30px, 4.17vw, 60px);
}

.story__copy p + p {
    margin-top: 16px;
}

.timeline {
    margin: 0;
    padding-left: 72px;
    list-style: none;
}

.timeline li {
    position: relative;
    padding: 0 0 36px 24px;
}

.timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--red);
    transform: translateY(calc(1.6rem / 2));
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -6px;
    top: calc((1.6rem - 11px) / 2);
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #7a0012;
    box-shadow: 0 0 0 1px var(--red);
}

.timeline strong {
    display: block;
    color: var(--red);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1;
}

.timeline b,
.timeline span {
    display: block;
}

.timeline b {
    margin-top: 4px;
    font-size: 13px;
}

.timeline span {
    color: #555;
    font-size: 11px;
}

.strength {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #000;
    color: #fff;
}

.strength__copy {
    align-self: center;
    padding: var(--section-y) 36px var(--section-y) var(--gutter);
}

.strength h2 {
    color: var(--blue);
}

.strength p {
    max-width: none;
}

.strength__media,
.strength img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: cover;
}

.philosophy {
    color: #fff;
    background: linear-gradient(135deg, #8a0016, #5c000d 55%, #3d0008);
}

.philosophy__inner {
    padding: var(--section-y) var(--gutter);
}

.philosophy h2 {
    color: #fff;
}

.philosophy h2 span {
    color: var(--blue);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
}

.philosophy__cards,
.values {
    display: grid;
    gap: 12px;
}

.philosophy__cards {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
}

.philosophy__cards article,
.values li {
    margin: 0;
    padding: 22px 26px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.18);
}

.philosophy__cards h3,
.philosophy__values-title {
    margin: 0 0 8px;
    font-family: var(--font-title);
    font-style: normal;
    font-weight: 600;
}

.philosophy__cards h3 {
    font-size: 1.8rem;
}

.philosophy__cards p,
.values li {
    max-width: 440px;
    line-height: 1.55;
}

.philosophy__cards p {
    font-size: var(--text-card);
}

.values li {
    font-size: var(--text-card);
}

.philosophy__kicker {
    margin: 42px 0 4px;
    font-size: 12px;
    font-weight: 400;
}

.philosophy .philosophy__values-title {
    margin-bottom: 18px;
    font-family: var(--font-title);
    font-style: normal;
    font-weight: 600;
    font-size: 2rem;
}

.values {
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
}

.values li:last-child {
    grid-column: span 2;
    max-width: none;
}

.values b {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-title);
    font-style: normal;
    font-weight: 600;
    font-size: 1.1rem;
}

.org {
    background: var(--blue-band);
}

.org__inner {
    padding: var(--section-y) var(--gutter);
}

.principals {
    padding-top: var(--section-y);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.org h2,
.principals h2 {
    margin-bottom: 32px;
}

.principals {
    background: #fff;
}

.principals h2 {
    display: block;
    width: 100%;
    color: var(--red);
    font-size: clamp(2.6rem, 4vw, 3.4rem);
}

.org__row {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    column-gap: 44px;
    padding-bottom: 12px;
}

.org__row::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 172px;
    width: 1px;
    background: var(--red);
}

.org__row:first-of-type::before {
    top: 16px;
}

.org__row--branches::before {
    bottom: auto;
    height: 18px;
}

.org__row > p {
    position: relative;
    margin: 8px 0 0;
    color: var(--red);
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.org__row > p::after {
    content: "";
    position: absolute;
    top: 2px;
    right: -30px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #7a0012;
    box-shadow: 0 0 0 1px var(--red);
}

.branches b {
    display: block;
    margin: 8px 0 10px;
    color: var(--red);
    font-size: 12px;
}

.branches > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.branches .pill {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin: 0 0 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px 10px 0;
    padding: 5px 16px 5px 5px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 12px;
    font-weight: 700;
}

.pill i,
.principal header i {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    overflow: hidden;
    border-radius: 50%;
    background: #3f3f46;
    color: #fff;
    font-family: var(--font-title);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
}

.branches {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: start;
    gap: 12px 28px;
}

.principals__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.principal {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 16px 22px 18px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 10px 24px rgba(28, 27, 27, 0.12);
    font-weight: 350;
}

.principal header {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin-bottom: 14px;
}

.principal header > div {
    flex: 1;
    min-width: 0;
}

.principal h3 {
    margin: 0;
    font-size: 14px;
}

.principal__copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding-right: 150px;
}

.principal__photo {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
    display: block;
    width: 150px;
    max-width: none;
    height: auto;
    pointer-events: none;
}

.principal header p {
    margin: 2px 0 0;
    color: var(--red);
    font-size: 10px;
}

.principal li {
    margin: 0;
    color: #444;
    font-size: 10.5px;
    line-height: 1.5;
}

.principal__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.principal b {
    display: block;
    margin-bottom: 6px;
    font-size: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.principal ul {
    margin: 0;
    padding-left: 16px;
    list-style: disc;
}

.principal ul + b {
    margin-top: 12px;
}

@media (max-width: 1200px) {
    .principal__cols {
        grid-template-columns: 1fr;
    }

    .branches {
        grid-template-columns: repeat(2, max-content);
    }
}

@media (max-width: 768px) {
    .principals__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .story {
        overflow: hidden;
        background: var(--card);
        padding: 0 0 28px;
    }

    .story__bar {
        display: flex;
        gap: 8px;
        margin: 16px var(--gutter) 0;
    }

    .story__bar span {
        flex: 1;
        height: 3px;
        background: #d9d9d9;
    }

    .story__bar span.is-active {
        background: var(--red);
    }

    .story__photo {
        min-height: 0;
    }

    .story__photo img {
        position: absolute;
        inset: 0;
        height: 100%;
        object-position: center top;
    }

    .story__copy,
    .timeline {
        box-shadow: none;
    }

    .strength,
    .philosophy__cards {
        grid-template-columns: 1fr;
    }

    .branches {
        grid-template-columns: max-content;
    }

    .values {
        grid-template-columns: 1fr 1fr;
    }

    .values li:last-child {
        grid-column: 1 / -1;
    }

    .org__row {
        grid-template-columns: 1fr;
    }

    .org__row::before,
    .org__row > p::after {
        display: none;
    }

    .org__row > p {
        text-align: left;
    }

    .legacy {
        background:
            linear-gradient(180deg, rgba(149, 14, 28, 0.92) 32%, rgba(160, 16, 32, 0.25) 100%),
            url("../images/about-hero-mobile.jpg?v=20261023") center bottom / cover no-repeat,
            #a31020;
    }
}

@media (max-width: 720px) {
    .legacy {
        align-items: flex-start;
    }
}
