
/* ==========================================
   TERRAIFA - COMPACT ABOUT SECTION
   Original wordmark + scroll animation
   ========================================== */

.section-about {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(40px, 4.2vw, 58px) 0 0;
    background: linear-gradient(
        180deg,
        #112a3d 0%,
        #0c2033 60%,
        #0b1b2c 100%
    );
    color: #ffffff;
}

/* ==========================================
   BACKGROUND
   ========================================== */

.about-ambient {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.about-ambient__glow {
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .28;
}

.about-ambient__glow--left {
    top: -140px;
    left: -290px;
    background: radial-gradient(
        circle,
        #34b999,
        transparent 70%
    );
}

.about-ambient__glow--right {
    top: -90px;
    right: -290px;
    background: radial-gradient(
        circle,
        #238bd2,
        transparent 70%
    );
}

.about-ambient__grid {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(
            rgba(111, 220, 203, .15) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(111, 220, 203, .15) 1px,
            transparent 1px
        );
    background-size: 68px 68px;
    mask-image: linear-gradient(
        180deg,
        black,
        transparent 85%
    );
}

/* ==========================================
   BRAND ANIMATION STAGE
   ========================================== */

.about-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-intro__eyebrow {
    margin: 0;
    color: #83dcbc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    line-height: 1.6;
}

.about-intro__stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 188px;
    margin-top: 8px;
}

.about-intro__halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(230px, 54vw);
    aspect-ratio: 1;
    border: 1px solid rgba(106, 225, 204, .13);
    border-radius: 50%;
    box-shadow: 0 0 55px rgba(29, 177, 157, .06);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.about-intro__halo::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px dashed rgba(125, 230, 215, .12);
    border-radius: 50%;
}

/* ==========================================
   ORIGINAL LOGO GEOMETRY
   ========================================== */

.about-intro__lockup {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(310px, 80vw);
}

.about-intro__mark {
    position: relative;
    z-index: 3;
    width: 28.3%;
    margin-bottom: 5px;
    filter: drop-shadow(
        0 0 12px rgba(54, 208, 175, .15)
    );
}

.about-intro__mark img,
.about-intro__part img {
    display: block;
    width: 100%;
    height: auto;
}

.about-intro__words {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.about-intro__part {
    position: relative;
    display: block;
    min-width: 0;
    flex-shrink: 0;
}

/* Exact widths calculated from the source logo */

.about-intro__part--terra {
    width: 69.36%;
}

.about-intro__part--ifa {
    width: 30.64%;
}

/* Light pulse concentrated on A and I */

.about-intro__part::after {
    content: "";
    position: absolute;
    top: -12%;
    bottom: -12%;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse,
        rgba(103, 246, 197, .38),
        transparent 72%
    );
    mix-blend-mode: screen;
}

.about-intro__part--terra::after {
    right: -2%;
    width: 36%;
}

.about-intro__part--ifa::after {
    left: -5%;
    width: 27%;
}

/* ==========================================
   BRAND MEANING
   ========================================== */

.about-intro__meaning {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(10px, 1.6vw, 20px);
    margin: 2px 0 0;
    color: #9adacb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.about-intro__separator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #56d6b1;
}

.about-intro__divider {
    width: min(470px, 78%);
    height: 1px;
    margin: 23px 0 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 221, 187, .38),
        transparent
    );
}

/* ==========================================
   COMPANY DESCRIPTION
   ========================================== */

.about-story {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);
    align-items: start;
    gap: clamp(24px, 4vw, 56px);
    margin-top: 22px;
}

.section-about .section-eyebrow {
    margin-bottom: 10px;
}

.section-about .section-title {
    color: #ffffff;
    font-size: clamp(29px, 3.1vw, 43px);
    line-height: 1.14;
}

.about-story__lead {
    max-width: 550px;
    margin: 12px 0 0;
    color: #8bdcc3;
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 600;
    line-height: 1.5;
}

.about-story__text {
    padding-top: 24px;
}

.about-story__text p {
    margin: 0 0 11px;
    color: #bfd0d9;
    font-size: 14px;
    line-height: 1.7;
}


.about-story__text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   COMPACT PRINCIPLES
   ========================================== */


.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 26px;
    padding: 17px 0;
    border-top: 1px solid rgba(126, 214, 191, .16);
    border-bottom: 1px solid rgba(126, 214, 191, .16);
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 5px 20px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.about-value:first-child {
    padding-left: 0;
}

.about-value:last-child {
    padding-right: 0;
}

.about-value + .about-value {
    border-left: 1px solid rgba(126, 214, 191, .16);
}

.about-value__number {
    flex-shrink: 0;
    padding-top: 2px;
    color: #80dfc2;
    font-size: 11px;
    font-weight: 800;
}

.about-value strong {
    display: block;
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.about-value p {
    margin: 0;
    color: #a9c6ca;
    font-size: 11px;
    line-height: 1.55;
}

/* Connection from About to Solutions */

.brand-to-solutions {
    position: relative;
    display: flex;
    justify-content: center;
    height: 65px;
    margin-top: 0;
    pointer-events: none;
}

.brand-to-solutions__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 1px);
    width: 2px;
    overflow: hidden;
    background: rgba(91, 210, 177, .23);
}

.brand-to-solutions__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        #65d7b4,
        #28a5a3
    );
    transform: scaleY(0);
    transform-origin: top;
}

.brand-to-solutions__node {
    position: absolute;
    top: -4px;
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #72dfbc;
    box-shadow: 0 0 15px rgba(97, 220, 184, .45);
}

.brand-to-solutions.is-flow-active
.brand-to-solutions__line::after {
    animation: journey-line-grow .85s ease forwards;
}

@keyframes journey-line-grow {
    to {
        transform: scaleY(1);
    }
}


/* ==========================================
   INITIAL ANIMATION STATES
   ========================================== */

.section-about.about-motion-ready
.about-intro__part--terra {
    opacity: 0;
    transform: translateX(-27vw);
}

.section-about.about-motion-ready
.about-intro__part--ifa {
    opacity: 0;
    transform: translateX(27vw);
}

.section-about.about-motion-ready
.about-intro__mark {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translateY(12px) scale(.93);
}

.section-about.about-motion-ready
.about-intro__meaning,
.section-about.about-motion-ready
.about-story,
.section-about.about-motion-ready
.about-values {
    opacity: 0;
    transform: translateY(15px);
}

/* ==========================================
   PLAY ANIMATION
   ========================================== */

.section-about.is-playing
.about-intro__part--terra {
    animation: about-terra-enter 1.05s
        cubic-bezier(.18, .8, .2, 1) .10s both;
}

.section-about.is-playing
.about-intro__part--ifa {
    animation: about-ifa-enter 1.05s
        cubic-bezier(.18, .8, .2, 1) .10s both;
}

.section-about.is-playing
.about-intro__mark {
    animation: about-mark-build .8s
        cubic-bezier(.19, 1, .22, 1) 1.05s both;
}

.section-about.is-playing
.about-intro__halo {
    animation: about-halo-pulse .95s ease
        1.1s both;
}

.section-about.is-playing
.about-intro__part::after {
    animation: about-ai-glow .9s ease
        1.85s both;
}

.section-about.is-playing
.about-intro__meaning {
    animation: about-content-appear .65s ease
        1.7s both;
}

.section-about.is-playing
.about-story {
    animation: about-content-appear .7s ease
        1.95s both;
}

.section-about.is-playing
.about-values {
    animation: about-content-appear .7s ease
        2.2s both;
}

/* ==========================================
   KEYFRAMES
   ========================================== */

@keyframes about-terra-enter {
    from {
        opacity: 0;
        transform: translateX(-27vw);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes about-ifa-enter {
    from {
        opacity: 0;
        transform: translateX(27vw);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes about-ai-glow {
    0%, 100% {
        opacity: 0;
    }
    45% {
        opacity: .85;
    }
}

@keyframes about-halo-pulse {
    0% {
        opacity: .4;
        transform: translate(-50%, -50%) scale(.88);
    }
    55% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        opacity: .6;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes about-mark-build {
    from {
        opacity: 0;
        clip-path: inset(100% 0 0 0);
        transform: translateY(12px) scale(.93);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0) scale(1);
    }
}

@keyframes about-content-appear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 900px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-story__text {
        padding-top: 0;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 24px;
        padding: 10px 0;
    }

    .about-value,
    .about-value:first-child,
    .about-value:last-child {
        padding: 12px 0;
    }

    .about-value + .about-value {
        border-left: 0;
        border-top: 1px solid rgba(126, 214, 191, .16);
    }
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 620px) {
    .section-about {
        padding-top: 42px;
        padding-bottom: 0;
    }

    .about-intro__eyebrow {
        font-size: 9px;
        letter-spacing: .15em;
    }

    .about-intro__stage {
        min-height: 155px;
    }

    .about-intro__lockup {
        width: min(285px, 82vw);
    }

    .about-intro__meaning {
        gap: 9px;
        font-size: 9px;
        letter-spacing: .09em;
    }

    .about-intro__divider {
        margin-top: 18px;
    }

    .about-story {
        margin-top: 22px;
    }

    .about-story__text p {
        font-size: 14px;
    }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    .section-about.about-motion-ready
    .about-intro__part--terra,
    .section-about.about-motion-ready
    .about-intro__part--ifa,
    .section-about.about-motion-ready
    .about-intro__mark,
    .section-about.about-motion-ready
    .about-intro__meaning,
    .section-about.about-motion-ready
    .about-story,
    .section-about.about-motion-ready
    .about-values {
        opacity: 1;
        transform: none;
        clip-path: none;
        animation: none;
    }

    .about-intro__part::after {
        animation: none;
        opacity: 0;
    }

    .about-value {
        transition: none;
    }

    .about-value:hover {
        transform: none;
    }
}
