/* ── Shared tag / heading primitives ─────────────────────── */

.about-tag {
    display: inline-block;
    padding: 0.4375rem 1rem;
    border-radius: var(--wa-radius-lg);
    background: var(--wa-color-primary-100);
    color: var(--wa-color-primary-600);
    font-size: 0.75rem;
    font-family: var(--inter-medium);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-tag--light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--wa-color-primary-300);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Section 01: Hero ─────────────────────────────────────── */

.about-hero {
    background: var(--wa-color-surface-soft);
    border-bottom: 1px solid var(--wa-color-border);
}

.about-hero__intro {
    padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4rem);
}

.about-hero__title {
    margin: 1.625rem 0 0;
    max-width: 21ch;
    font-size: clamp(2rem, 6vw, 3.75rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--wa-color-primary-900);
    font-family: var(--inter-sbold);
}

.about-hero__title .wa-gradient-text{
    font-family: var(--inter-sbold);
}

.about-hero__typewriter-text {
    font-family: var(--inter-sbold);
    background: linear-gradient(90deg, var(--wa-color-primary-600) 0%, var(--wa-color-primary-800) 25%, var(--wa-color-primary-700) 50%, var(--wa-color-primary-600) 100%);    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.about-hero__typewriter {
    display: inline-flex;
    align-items: baseline;
}

.about-hero__typewriter-cursor {
    display: inline-block;
    width: 0.58em;
    height: 0.09em;
    margin-left: 0.08em;
    background: currentColor;
    animation: about-hero-cursor-blink 0.9s steps(1, end) infinite;
}

@keyframes about-hero-cursor-blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero__typewriter-cursor {
        animation: none;
    }
}

.about-hero__copy {
    margin: 1.5rem 0 0;
    max-width: 60ch;
    font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
    line-height: 1.65;
    color: var(--wa-color-text-muted);
}

.about-hero__media {
    padding-bottom: clamp(3.5rem, 9vw, 6.5rem);
}

.about-hero__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 37.5rem;
    border-radius: var(--wa-radius-2lg);
    overflow: hidden;
    box-shadow: 0 1.875rem 3.75rem -1.875rem rgba(15, 47, 78, 0.35);
}

.about-hero__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(244, 248, 252, 0) 62%, rgba(244, 248, 252, 0.55) 100%);
    pointer-events: none;
    z-index: 2;
}

.about-hero__slides {
    position: relative;
    width: 100%;
    height: 130%;
    will-change: transform;
}

.about-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-hero__slide.is-active {
    opacity: 1;
}

.about-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-hero__dot {
    height: 0.25rem;
    width: 0.875rem;
    border-radius: 0.125rem;
    background: rgba(15, 47, 78, 0.3);
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
}

.about-hero__dot.is-active {
    width: 2.125rem;
    background: var(--wa-color-primary-900);
}

/* ── Section 02: What we provide ─────────────────────────── */

.about-provide {
    background: var(--wa-color-white);
    padding-block: clamp(4rem, 9vw, 7rem);
}

.about-provide__top {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.about-provide__text {
    flex: 1 1 22.5rem;
    min-width: min(22.5rem, 100%);
}

.about-provide__heading {
    margin: 1rem 0 0;
    font-size: clamp(1.75rem, 3.9vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--wa-color-primary-900);
    font-family: var(--inter-sbold);
}

.about-provide__copy {
    margin: 1.25rem 0 0;
    max-width: 52ch;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.75;
    color: var(--wa-color-text-muted);
}

.about-provide__media {
    flex: 1 1 23.75rem;
    min-width: min(23.75rem, 100%);
}

.about-provide__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--wa-radius-2lg);
    overflow: hidden;
    border: 1px solid var(--wa-color-border);
}

.about-provide__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-provide__grid {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13.125rem, 1fr));
    gap: 1px;
    background: var(--wa-color-border);
    border: 1px solid var(--wa-color-border);
    border-radius: var(--wa-radius-lg);
    overflow: hidden;
}

.about-provide__cell {
    background: var(--wa-color-white);
    padding: 1.75rem 1.625rem;
}

.about-provide__cell span {
    font-size: 1rem;
    font-family: var(--inter-sbold);
    color: var(--wa-color-primary-600);
    letter-spacing: 0.02em;
}

.about-provide__cell p {
    margin: 0.625rem 0 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--wa-color-text-muted);
}

/* ── Section 03: Why we exist (dark) ─────────────────────── */

.about-why {
    background: var(--wa-color-primary-900);
    padding-block: clamp(4.5rem, 11vw, 8.75rem);
}

.about-why__inner {
    max-width: 60rem;
}

.about-why__heading {
    margin: 1.5rem 0 0;
    max-width: 28ch;
    font-size: clamp(1.875rem, 4.6vw, 3.375rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--wa-color-white);
    font-family: var(--inter-sbold);
}

.about-why__copy {
    margin: 1.75rem 0 0;
    max-width: 62ch;
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

/* ── Section 04: How we work ──────────────────────────────── */

.about-how {
    background: var(--wa-color-white);
    padding-block: clamp(4rem, 9vw, 7rem);
}

.about-how__head {
    max-width: 47.5rem;
}

.about-how__heading {
    margin: 1rem 0 0;
    font-size: clamp(1.75rem, 4vw, 2.875rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--wa-color-primary-900);
    font-family: var(--inter-sbold);
}

.about-how__media {
    margin-top: clamp(2rem, 4vw, 3rem);
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 32.5rem;
    border-radius: var(--wa-radius-2lg);
    overflow: hidden;
    border: 1px solid var(--wa-color-border);
}

.about-how__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-how__list {
    margin-top: clamp(2.75rem, 5vw, 4.5rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
}

.about-how__item-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-how__num {
    font-size: 0.4rem;
    font-family: var(--inter-sbold);
    color: var(--wa-color-primary-300);
    border: 1px solid;
    border-radius: 50%;
    background-color: var(--wa-color-primary-300);
}

.about-how__rule {
    flex: 1;
    height: 1px;
    background: var(--wa-color-border);
}

.about-how__item h3 {
    margin: 1.125rem 0 0;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    color: var(--wa-color-primary-900);
    font-family: var(--inter-sbold);
}

.about-how__item p {
    margin-top: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--wa-color-text-muted);
}
.about-space__tile--side{
    height: 50%;
}
.about-space__tile--side img{
    object-position: 50% center;
    transform-origin: center;
}
/* ── Section 05: The space ────────────────────────────────── */

.about-space {
    background: #f8f8f8;
    border-top: 1px solid var(--wa-color-border);
    padding-block: clamp(4rem, 9vw, 7rem);
}

.about-space__inner {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.about-space__media {
    flex: 1 1 25rem;
    min-width: min(25rem, 100%);
    order: 1;
}

.about-space__frame {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.about-space__tile {
    position: relative;
    border-radius: var(--wa-radius-2lg);
    overflow: hidden;
    box-shadow: 0 1.25rem 2.5rem -1.5rem rgba(15, 47, 78, 0.35);
}

.about-space__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-space__tile--top,
.about-space__tile--bottom {
    aspect-ratio: 5 / 4;
}

.about-space__tile--side {
    aspect-ratio: 3 / 4;
}

.about-space__content {
    flex: 1 1 21.25rem;
    min-width: min(21.25rem, 100%);
    order: 2;
}

/* Mobile-position duplicate of the frame: kept as a separate block (not a CSS reorder of
   the same element) so its bento grid never has to collapse to a single stacked column -
   it always uses the same desktop tile layout, just rendered after the text below 51.5625rem. */
.about-space__media--mobile {
    display: none;
}

.about-space__media--mobile .about-space__frame {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, 1fr);
}

.about-space__media--mobile .about-space__tile--top {
    grid-column: 1;
    grid-row: 1;
}

.about-space__media--mobile .about-space__tile--bottom {
    grid-column: 1;
    grid-row: 2;
}

.about-space__media--mobile .about-space__tile--side {
    grid-column: 2;
    grid-row: 1 / 3;
    aspect-ratio: auto;
    align-self: center;
}

.about-space__heading {
    margin: 1rem 0 0;
    max-width: 16ch;
    font-size: clamp(1.75rem, 3.9vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--wa-color-primary-900);
    font-family: var(--inter-sbold);
}

.about-space__copy {
    margin: 1.25rem 0 0;
    max-width: 48ch;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.75;
    color: var(--wa-color-text-muted);
}

/* ── Section 06: Join us (dark, parallax) ─────────────────── */

.about-join {
    position: relative;
    background: var(--wa-color-primary-900);
    overflow: hidden;
}

.about-join__bg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: none;
    height: 150%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center 38%;
    display: block;
    opacity: 0.42;
    will-change: top;
}

.about-join__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 47, 78, 0.86) 0%, rgba(15, 47, 78, 0.72) 45%, rgba(15, 47, 78, 0.88) 100%);
}

.about-join__inner {
    position: relative;
    max-width: 62.5rem;
    text-align: center;
    padding-block: clamp(5rem, 12vw, 10rem);
}

.about-join__heading {
    margin: 1.375rem auto 0;
    max-width: 18ch;
    font-size: clamp(1.875rem, 4.6vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--wa-color-white);
    font-family: var(--inter-sbold);
}

.about-join__copy {
    margin: 1.5rem auto 0;
    max-width: 56ch;
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.about-join__actions {
    margin-top: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-join__cta {
    border-radius: var(--wa-radius-pill);
    background: var(--wa-color-white);
    color: var(--wa-color-primary-900);
    font-family: var(--inter-medium);
}

.about-join__cta:hover {
    background: var(--wa-color-primary-100);
}

/* ── Breakpoints ──────────────────────────────────────────── */

@media (min-width: 48rem) {
    .about-space__frame {
        grid-template-columns: 1.3fr 1fr;
        grid-template-rows: repeat(2, 1fr);
    }

    .about-space__tile--top {
        grid-column: 1;
        grid-row: 1;
    }

    .about-space__tile--bottom {
        grid-column: 1;
        grid-row: 2;
    }

    .about-space__tile--side {
        grid-column: 2;
        grid-row: 1 / 3;
        aspect-ratio: auto;
        align-self: center;
    }
}

@media (max-width: 51.5625rem) {
    .about-space__media {
        display: none;
    }

    .about-space__media--mobile {
        display: block;
        flex: 0 0 auto;
        width: 75%;
        margin: 0 auto;
        order: 3;
    }
}

@media (max-width: 48rem) {
    .about-provide__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 23.4375rem) {
    .about-hero__title {
        max-width: 12ch;
    }
}
