/* =========================================================
   ABOUT US PAGE
   ========================================================= */

.about-page {
    background: var(--white);
}

/* Journey banner */

.about-hero {
    position: relative;
    margin-top: var(--navbar-height);
    padding: 22px 22px 64px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(6, 199, 232, 0.1), transparent 27%),
        linear-gradient(180deg, #f7fbff, #ffffff);
}

.about-hero-frame {
    width: min(100%, 2048px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(20, 42, 93, 0.09);
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(15, 35, 80, 0.13);
}

.about-hero-frame picture {
    display: block;
}

.about-hero-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.about-scroll-link {
    position: absolute;
    right: 50%;
    bottom: 17px;
    display: inline-flex;
    padding: 9px 15px;
    border: 1px solid var(--cyan-dark);
    border-radius: 30px;
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-small);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    align-items: center;
    gap: 8px;
    transform: translateX(50%);
}

.about-scroll-link:hover {
    background: var(--cyan);
    color: var(--navy);
    transform: translateX(50%) translateY(-2px);
}

/* Introduction */

.about-introduction {
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.about-introduction::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 100%;
    background: linear-gradient(180deg, var(--cyan), #3a97e5, #5d53a5, #27a64a);
    content: "";
}

.about-introduction h2 {
    margin-bottom: 30px;
}

.about-introduction-copy {
    padding-top: 28px;
}

.about-introduction-copy p {
    font-size: 1rem;
    line-height: 1.9;
}

.about-introduction-copy .about-lead {
    color: var(--ink);
    font-size: 1.18rem;
    font-weight: 500;
}

.about-introduction-copy strong {
    color: var(--navy);
    font-weight: 600;
}

.about-intro-statements {
    display: grid;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
}

.about-intro-statements div {
    min-height: 115px;
    padding: 20px 15px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--off-white);
}

.about-intro-statements strong,
.about-intro-statements span {
    display: block;
}

.about-intro-statements strong {
    margin-bottom: 6px;
    color: var(--navy);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 1.35rem;
}

.about-intro-statements span {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

/* Capabilities */

.about-capabilities {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(6, 199, 232, 0.15), transparent 30%),
        var(--navy);
}

.about-capabilities::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 70px 70px;
    content: "";
    pointer-events: none;
}

.about-capabilities .container {
    position: relative;
    z-index: 2;
}

.about-capabilities .kicker {
    color: var(--yellow);
}

.about-capability-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.about-capability-grid article {
    position: relative;
    min-height: 285px;
    padding: 29px 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 4px solid var(--yellow);
    background: rgba(255, 255, 255, 0.045);
}

.about-capability-grid article:nth-child(even) {
    border-top-color: var(--cyan);
}

.about-capability-grid article > span {
    position: absolute;
    top: 14px;
    right: 18px;
    color: rgba(255, 255, 255, 0.1);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
}

.about-capability-grid i {
    display: block;
    margin-bottom: 33px;
    color: var(--cyan);
    font-size: 2rem;
}

.about-capability-grid h3 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 1.35rem;
}

.about-capability-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.63);
    font-size: 0.84rem;
    line-height: 1.7;
}

/* Expertise */

.about-expertise {
    background: var(--off-white);
}

.about-expertise h2 {
    margin-bottom: 22px;
}

.about-tech-tags {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 9px;
}

.about-tech-tags span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--cyan);
    background: var(--white);
    color: #41495d;
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 0.77rem;
    font-weight: 500;
}

.about-portfolio-panel {
    display: grid;
    min-height: 430px;
    padding: 45px;
    background:
        linear-gradient(135deg, rgba(6, 199, 232, 0.12), transparent 45%),
        var(--navy-light);
    box-shadow: var(--shadow);
    grid-template-columns: 95px 1fr;
    align-items: start;
    gap: 28px;
}

.about-portfolio-icon {
    display: grid;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(6, 199, 232, 0.4);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 2rem;
    place-items: center;
}

.about-portfolio-panel span {
    display: block;
    margin-bottom: 13px;
    color: var(--yellow);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-portfolio-panel h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 2rem;
}

.about-portfolio-panel p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.91rem;
}

/* Education */

.about-education {
    background: var(--white);
}

.about-education-collage {
    display: grid;
    min-height: 530px;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 12px;
}

.about-education-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-education-main {
    grid-row: 1 / 3;
}

.about-education-collage::after {
    display: block;
    min-height: 200px;
    background:
        linear-gradient(135deg, rgba(255, 210, 41, 0.88), rgba(6, 199, 232, 0.8)),
        var(--yellow);
    content: "Practical skills. Real systems.";
    color: var(--navy);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 25px;
}

.about-education h2 {
    margin-bottom: 23px;
}

.about-education-list {
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
}

.about-education-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 25px;
    color: #525a6e;
    font-size: 0.91rem;
}

.about-education-list li::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
}

/* Philosophy */

.about-philosophy {
    background:
        radial-gradient(circle at 15% 75%, rgba(39, 166, 74, 0.1), transparent 28%),
        linear-gradient(135deg, #f5fbff, #eef5ff);
}

.about-philosophy-card {
    max-width: 1120px;
    margin: 0 auto;
    padding: 65px;
    border: 1px solid rgba(32, 76, 142, 0.12);
    border-top: 5px solid var(--cyan);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    text-align: center;
}

.about-philosophy blockquote {
    max-width: 900px;
    margin: 0 auto 25px;
    color: var(--navy);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 500;
    line-height: 1.15;
}

.about-philosophy-card > p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1rem;
}

.about-values {
    display: flex;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.about-values span {
    display: inline-flex;
    padding: 9px 14px;
    border: 1px solid var(--line);
    background: var(--off-white);
    color: var(--navy);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    align-items: center;
    gap: 8px;
}

.about-values i {
    color: var(--cyan-dark);
}

/* CTA */

.about-cta {
    padding: 72px 0;
    background:
        linear-gradient(120deg, rgba(6, 199, 232, 0.16), transparent 45%),
        var(--blue);
}

.about-cta .kicker {
    color: var(--yellow);
}

.about-cta h2 {
    margin-bottom: 13px;
    color: var(--white);
}

.about-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.about-cta .btn-cyan {
    background: var(--cyan);
}

/* Responsive */

@media (max-width: 1199.98px) {
    .about-capability-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .about-hero {
        padding-right: 12px;
        padding-left: 12px;
    }

    .about-introduction-copy {
        padding-top: 0;
    }

    .about-capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-portfolio-panel {
        min-height: auto;
    }

    .about-education-collage {
        min-height: 480px;
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        padding-top: 12px;
        padding-bottom: 55px;
    }

    .about-hero-frame img {
        width: 100%;
        max-width: 100%;
    }

    .about-intro-statements {
        grid-template-columns: 1fr;
    }

    .about-intro-statements div {
        min-height: auto;
    }

    .about-capability-grid {
        grid-template-columns: 1fr;
    }

    .about-capability-grid article {
        min-height: auto;
    }

    .about-portfolio-panel {
        padding: 34px 25px;
        grid-template-columns: 1fr;
    }

    .about-education-collage {
        min-height: 440px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.35fr 0.65fr;
    }

    .about-education-main {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .about-education-collage::after {
        min-height: 160px;
        font-size: 1rem;
        padding: 18px;
    }

    .about-philosophy-card {
        padding: 45px 24px;
    }

    .about-cta {
        padding: 58px 0;
        text-align: center;
    }
}

@media (max-width: 479.98px) {
    .about-portfolio-panel h3 {
        font-size: 1.65rem;
    }

    .about-education-collage {
        min-height: 390px;
    }
}
