/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-page {
    --about-orange: var(--orange, #f47721);
    --about-purple: var(--purple, #7545d8);
    --about-ink: var(--navy, #11152b);

    overflow: hidden;
}


/* HERO */

.about-page .about-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: clamp(65px, 8vw, 105px);
    padding-bottom: clamp(35px, 5vw, 58px);
}

.about-page .about-hero .container {
    position: relative;
    z-index: 2;
}

.about-page .about-hero-glow {
    position: absolute;
    z-index: -1;
    top: -170px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(244, 119, 33, 0.15) 0%,
        rgba(117, 69, 216, 0.07) 38%,
        transparent 72%
    );
    filter: blur(12px);
    pointer-events: none;
    animation: aboutGlowFloat 9s ease-in-out infinite alternate;
}

.about-page .about-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.about-page .about-status-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--about-orange);
    box-shadow: 0 0 0 5px rgba(244, 119, 33, 0.10);
}

.about-page .about-hero h1 {
    max-width: 850px;
    margin-top: 22px;
    margin-bottom: 20px;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.about-page .about-hero h1 em {
    font-style: normal;
    background: linear-gradient(
        110deg,
        var(--about-orange),
        var(--about-purple)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.about-page .about-hero-description {
    max-width: 600px;
    margin-bottom: 0;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.85;
    opacity: 0.82;
}

.about-page .about-hero-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    opacity: 0.7;
}

.about-page .about-hero-line {
    display: inline-block;
    width: 38px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        var(--about-orange),
        var(--about-purple)
    );
}


/* HERO DECORATION */

.about-page .about-hero-decoration {
    position: absolute;
    top: 50%;
    right: max(4%, calc((100vw - 1250px) / 2));
    width: 240px;
    height: 240px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.7;
}

.about-page .about-decoration-ring {
    position: absolute;
    display: block;
    border: 1px solid rgba(117, 69, 216, 0.19);
    border-radius: 50%;
}

.about-page .ring-one {
    inset: 0;
    animation: aboutRingRotate 32s linear infinite;
}

.about-page .ring-two {
    inset: 28px;
    border-color: rgba(244, 119, 33, 0.23);
    animation: aboutRingRotate 25s linear infinite reverse;
}

.about-page .about-decoration-dot {
    position: absolute;
    top: 20px;
    right: 38px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--about-orange);
    box-shadow: 0 0 25px rgba(244, 119, 33, 0.35);
}


/* REDUCE GAP AFTER HERO */

.about-page .about-intro {
    padding-top: clamp(28px, 3.5vw, 46px);
    padding-bottom: clamp(65px, 8vw, 105px);
}

.about-page .about-grid {
    align-items: start;
    gap: clamp(35px, 7vw, 100px);
}

.about-page .about-intro-heading {
    position: relative;
}

.about-page .about-intro-heading h2 {
    margin-top: 18px;
    line-height: 1.17;
    letter-spacing: -0.04em;
}

.about-page .about-intro-heading h2 em {
    font-style: normal;
    color: var(--about-purple);
}

.about-page .about-heading-accent {
    display: block;
    width: 58px;
    height: 4px;
    margin-top: 25px;
    border-radius: 4px;
    background: linear-gradient(
        90deg,
        var(--about-orange),
        var(--about-purple)
    );
}

.about-page .about-intro-copy {
    max-width: 660px;
}

.about-page .about-intro-copy p {
    line-height: 1.9;
}

.about-page .about-intro-copy p:first-child {
    margin-top: 0;
    font-size: 1.08em;
}

.about-page .about-intro-signature {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(120, 120, 140, 0.18);
}

.about-page .about-signature-mark {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: white;
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(
        135deg,
        var(--about-orange),
        var(--about-purple)
    );
    box-shadow: 0 8px 22px rgba(117, 69, 216, 0.17);
}

.about-page .about-intro-signature div {
    display: grid;
    gap: 4px;
}

.about-page .about-intro-signature strong {
    font-size: 13px;
}

.about-page .about-intro-signature div span {
    font-size: 12px;
    opacity: 0.68;
}


/* VALUES SECTION */

.about-page .about-values {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 5% 0%,
            rgba(117, 69, 216, 0.07),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 100% 100%,
            rgba(244, 119, 33, 0.07),
            transparent 38%
        ),
        var(--surface, #f8f8fb);
}

.about-page .about-values-heading {
    max-width: 620px;
    margin: 0 auto 45px;
}

.about-page .about-values-heading h2 {
    margin-top: 12px;
    margin-bottom: 12px;
    letter-spacing: -0.045em;
}

.about-page .about-values-heading h2 em {
    font-style: normal;
    color: var(--about-purple);
}

.about-page .about-values-heading > p {
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.72;
}

.about-page .about-value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.about-page .about-value-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 255px;
    padding: 25px 23px 27px;
    overflow: hidden;
    border: 1px solid rgba(110, 110, 140, 0.15);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 30px rgba(25, 25, 55, 0.025);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.about-page .about-value-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(117, 69, 216, 0.10),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.about-page .about-value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(117, 69, 216, 0.3);
    box-shadow: 0 22px 45px rgba(25, 25, 55, 0.09);
}

.about-page .about-value-card:hover::before {
    opacity: 1;
}

.about-page .about-value-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.about-page .about-value-number {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--about-purple);
}

.about-page .about-value-symbol {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    color: var(--about-purple);
    background: rgba(117, 69, 216, 0.08);
    font-size: 19px;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.about-page .about-value-card:hover .about-value-symbol {
    color: white;
    background: var(--about-purple);
    transform: rotate(-8deg);
}

.about-page .about-value-content h3 {
    margin-bottom: 12px;
    font-size: 21px;
    letter-spacing: -0.025em;
}

.about-page .about-value-content p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.85;
    opacity: 0.76;
}

.about-page .about-value-line {
    position: absolute;
    bottom: 0;
    left: 23px;
    width: 34px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(
        90deg,
        var(--about-orange),
        var(--about-purple)
    );
    transition: width 0.35s ease;
}

.about-page .about-value-card:hover .about-value-line {
    width: calc(100% - 46px);
}


/* CLOSING SECTION */

.about-page .about-closing-section {
    padding-top: clamp(65px, 8vw, 100px);
    padding-bottom: clamp(65px, 8vw, 100px);
}

.about-page .about-story-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: clamp(35px, 6vw, 80px);
    overflow: hidden;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(117, 69, 216, 0.13);
    border-radius: 26px;
    background:
        radial-gradient(
            ellipse at 0% 100%,
            rgba(117, 69, 216, 0.07),
            transparent 50%
        ),
        #fff;
    box-shadow: 0 20px 70px rgba(24, 24, 55, 0.055);
}

.about-page .about-story-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    padding: 40px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 19px;
    color: #fff;
    background: #17152b;
}

.about-page .about-story-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 35px 35px;
    mask-image: linear-gradient(to bottom right, black, transparent 90%);
}

.about-page .about-story-art .story-orb {
    position: absolute;
    z-index: -1;
    top: -70px;
    right: -70px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(244, 119, 33, 0.95),
        rgba(117, 69, 216, 0.85)
    );
    filter: blur(1px);
    animation: aboutOrbFloat 8s ease-in-out infinite alternate;
}

.about-page .about-story-message {
    position: relative;
    z-index: 1;
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 750;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.about-page .about-story-message em {
    font-style: normal;
    color: #ffc28c;
}

.about-page .about-story-caption {
    position: absolute;
    bottom: 25px;
    left: 40px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

.about-page .about-story-spark {
    position: absolute;
    z-index: 1;
    color: #ffc28c;
}

.about-page .spark-one {
    top: 32px;
    right: 35px;
    font-size: 25px;
    animation: aboutSpark 5s ease-in-out infinite;
}

.about-page .spark-two {
    right: 45px;
    bottom: 55px;
    font-size: 35px;
    opacity: 0.7;
}

.about-page .about-story-copy {
    align-self: center;
    padding: 15px 0;
}

.about-page .about-story-copy h2 {
    margin-top: 16px;
    margin-bottom: 20px;
    font-size: clamp(30px, 3.3vw, 45px);
    line-height: 1.16;
    letter-spacing: -0.045em;
}

.about-page .about-story-copy h2 em {
    font-style: normal;
    color: var(--about-purple);
}

.about-page .about-story-copy p {
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.9;
    opacity: 0.78;
}

.about-page .about-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.about-page .about-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(117, 69, 216, 0.2);
}

.about-page .about-contact-btn span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.about-page .about-contact-btn:hover span {
    transform: translate(3px, -3px);
}


/* ENTRANCE ANIMATIONS */

.about-page .about-reveal {
    animation: aboutReveal 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.about-page .about-hero h1 {
    animation-delay: 0.08s;
}

.about-page .about-hero-description {
    animation-delay: 0.16s;
}

.about-page .about-hero-bottom {
    animation-delay: 0.24s;
}

@keyframes aboutReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutGlowFloat {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-30px, 25px, 0);
    }
}

@keyframes aboutRingRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes aboutOrbFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(-15px, 18px, 0) scale(1.08);
    }
}

@keyframes aboutSpark {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(25deg) scale(1.15);
    }
}


/* TABLET */

@media (max-width: 1000px) {
    .about-page .about-hero-decoration {
        right: -75px;
        opacity: 0.35;
    }

    .about-page .about-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page .about-story-panel {
        gap: 35px;
    }
}


/* MOBILE */

@media (max-width: 700px) {
    .about-page .about-hero {
        padding-top: 58px;
        padding-bottom: 30px;
    }

    .about-page .about-hero h1 {
        margin-top: 17px;
        margin-bottom: 16px;
        font-size: clamp(40px, 10vw, 58px);
    }

    .about-page .about-hero-description {
        font-size: 16px;
        line-height: 1.75;
    }

    .about-page .about-hero-bottom {
        margin-top: 24px;
        font-size: 10px;
    }

    .about-page .about-hero-decoration {
        top: 20%;
        right: -145px;
        transform: none;
        opacity: 0.22;
    }

    /* Keep the following section close to the hero. */
    .about-page .about-intro {
        padding-top: 24px;
        padding-bottom: 65px;
    }

    .about-page .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-page .about-intro-heading h2 {
        margin-top: 13px;
        font-size: clamp(30px, 7.5vw, 42px);
    }

    .about-page .about-heading-accent {
        margin-top: 18px;
    }

    .about-page .about-intro-copy p {
        line-height: 1.8;
    }

    .about-page .about-values-heading {
        margin-bottom: 30px;
    }

    .about-page .about-value-grid {
        gap: 12px;
    }

    .about-page .about-value-card {
        min-height: 230px;
        padding: 20px 17px 24px;
        border-radius: 15px;
    }

    .about-page .about-value-top {
        margin-bottom: 24px;
    }

    .about-page .about-value-content h3 {
        font-size: 19px;
    }

    .about-page .about-value-content p {
        font-size: 12px;
        line-height: 1.8;
    }

    .about-page .about-value-line {
        left: 17px;
    }

    .about-page .about-value-card:hover .about-value-line {
        width: calc(100% - 34px);
    }

    .about-page .about-closing-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .about-page .about-story-panel {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 16px;
        border-radius: 21px;
    }

    .about-page .about-story-art {
        min-height: 270px;
        padding: 28px;
        border-radius: 15px;
    }

    .about-page .about-story-message {
        font-size: clamp(45px, 12vw, 60px);
    }

    .about-page .about-story-caption {
        bottom: 22px;
        left: 28px;
    }

    .about-page .about-story-copy {
        padding: 8px 5px 15px;
    }

    .about-page .about-story-copy h2 {
        font-size: clamp(30px, 8vw, 39px);
    }

    .about-page .about-story-copy p {
        line-height: 1.8;
    }
}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .about-page *,
    .about-page *::before,
    .about-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}