/* About. A credentials page rather than a mission statement: the hero leads with the licence
   numbers over a Dubai backdrop, and the four pillars are numbered because they are the real
   order of an off-plan purchase. */

.about-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: min(78svh, 700px);
    padding-block: calc(var(--header-h) + var(--space-6)) var(--space-8);
    overflow: hidden;
}

.about-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--bg);
}

.about-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    filter: saturate(0.8) brightness(0.72);
}

.about-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgba(11, 10, 8, 0.94) 0%, rgba(11, 10, 8, 0.45) 44%, rgba(11, 10, 8, 0.1) 80%),
        linear-gradient(100deg, rgba(11, 10, 8, 0.72) 0%, rgba(11, 10, 8, 0.2) 52%, rgba(11, 10, 8, 0) 82%);
}

.about-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
}

.about-hero__title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--fw-light);
    letter-spacing: -0.04em;
    line-height: 1;
}

.about-hero__lede {
    max-width: 52ch;
    font-size: var(--text-md);
    line-height: 1.7;
    color: var(--fg-muted);
}

.about-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5) var(--space-8);
    margin-top: var(--space-4);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(var(--glow), 0.34);
}

.about-hero__facts div {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--space-1);
}

.about-hero__facts dd {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: var(--fw-semibold);
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--accent);
}

.about-hero__facts dt {
    font-size: var(--text-2xs);
    color: var(--fg-muted);
}

/* Shared centred header for the two About sections, matching the partners block. */

.about-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    max-width: 54rem;
    margin-inline: auto;
    text-align: center;
}

.about-badge {
    padding: var(--space-2) var(--space-4);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: var(--text-2xs);
    font-weight: var(--fw-medium);
    color: var(--fg-muted);
}

.about-center__title {
    font-size: clamp(2.25rem, 4.6vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.about-center__title span {
    display: block;
    color: var(--fg-dim);
}

.about-center__body {
    max-width: 68ch;
    font-size: var(--text-md);
    line-height: 1.75;
    color: var(--fg-muted);
}

.about-story {
    padding-block: var(--space-8);
}

.about-story__figures {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: var(--space-8) 0 0;
    padding: 0;
}

.about-story__figures div {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-inline: var(--space-5);
    border-left: 1px solid var(--line);
    text-align: center;
}

.about-story__figures div:first-child {
    border-left: 0;
}

.about-story__figures dd {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--fw-bold);
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--accent);
}

.about-story__figures dt {
    font-size: var(--text-sm);
    color: var(--fg-muted);
}

.about-process {
    padding-block: var(--space-8);
}

.about-process__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
    margin: var(--space-8) 0 0;
    padding: 0;
    list-style: none;
}

.about-step {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-5);
    background: rgba(244, 241, 234, 0.05);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.about-step__index {
    font-size: var(--text-2xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--track-label);
    color: var(--accent);
}

.about-step__label {
    font-size: var(--text-lg);
    font-weight: var(--fw-semibold);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-step__name {
    font-size: var(--text-2xs);
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--fg-dim);
}

.about-step__text {
    margin-top: var(--space-2);
    padding-top: var(--space-3);
    border-top: 1px solid var(--line);
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--fg-muted);
}

@media (max-width: 1000px) {
    .about-story__figures,
    .about-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-story__figures {
        gap: var(--space-6) 0;
    }

    .about-story__figures div:nth-child(odd) {
        border-left: 0;
    }
}

@media (max-width: 560px) {
    .about-hero {
        min-height: min(72svh, 560px);
        padding-block: calc(var(--header-h) + var(--space-5)) var(--space-7);
    }

    .about-story__figures,
    .about-process__steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-story__figures div {
        padding-inline: 0;
        border-left: 0;
    }
}
