/* --------------------------------------------- */
/* About page                                    */
/* --------------------------------------------- */

.about-hero {
    padding-bottom: 56px;
}

.about-hero h1 {
    max-width: 980px;
}


/* --------------------------------------------- */
/* About story sections                          */
/* --------------------------------------------- */

.about-story {
    display: grid;
    gap: 54px;
    padding-top: 24px;
    padding-bottom: 72px;
}

.about-feature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.62fr);
    align-items: center;
    min-height: 500px;
}

.about-feature.reverse {
    grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1.2fr);
}

.about-feature.reverse .about-feature-image {
    grid-column: 2;
    grid-row: 1;
}

.about-feature.reverse .about-feature-card {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    margin-right: -64px;
    margin-left: 0;
}


/* --------------------------------------------- */
/* About images                                  */
/* --------------------------------------------- */

.about-feature-image {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow-strong);
}

.about-feature-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(8, 13, 24, 0.02), rgba(8, 13, 24, 0.42)),
        radial-gradient(circle at 28% 18%, rgba(125, 211, 252, 0.18), transparent 42%);
    pointer-events: none;
}

.about-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transform: scale(1.03);
}


/* --------------------------------------------- */
/* Speech bubble cards                           */
/* --------------------------------------------- */

.about-feature-card {
    position: relative;
    z-index: 2;
    width: min(100%, 460px);
    margin-left: -64px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(125, 211, 252, 0.13), rgba(255, 255, 255, 0.075)),
        rgba(8, 13, 24, 0.78);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-strong);
}

.about-feature-card::after {
    content: "";
    position: absolute;
    left: -13px;
    top: 48px;
    width: 26px;
    height: 26px;
    transform: rotate(45deg);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(13, 22, 38, 0.9);
}

.about-feature.reverse .about-feature-card::after {
    left: auto;
    right: -13px;
    border-left: 0;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.about-feature-card h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.02;
}

.about-feature-card p {
    margin-bottom: 0;
    font-size: 17px;
}


/* --------------------------------------------- */
/* Story labels                                  */
/* --------------------------------------------- */

.story-tag {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* --------------------------------------------- */
/* Capabilities strip                            */
/* --------------------------------------------- */

.about-capabilities {
    padding-top: 38px;
}

.compact-heading {
    max-width: 920px;
}

.capability-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.capability-strip div {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow-soft);
}

.capability-strip span {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.capability-strip strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 20px;
}

.capability-strip p {
    margin-bottom: 0;
    font-size: 15px;
}