/* ============================================================
   JIVAA GROUP
   ABOUT PAGE
   Premium Dark / Editorial Theme
============================================================ */

:root {
    --bg: #050505;
    --bg-soft: #0a0a0b;
    --bg-lighter: #111113;

    --text: #f4f1ea;
    --text-secondary: #a6a39d;
    --text-muted: #66645f;

    --border: rgba(255, 255, 255, 0.10);
    --border-hover: rgba(255, 255, 255, 0.20);

    --container-width: 1240px;

    --transition: 300ms ease;
}


/* ============================================================
   RESET
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   COMMON
============================================================ */

.container {
    width: min(
        calc(100% - 64px),
        var(--container-width)
    );

    margin: 0 auto;
}

.section-label {
    display: block;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: var(--text-muted);
}

.section-number {
    display: block;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 0.08em;

    color: var(--text-muted);
}


/* ============================================================
   HEADER
============================================================ */

.site-header {
    height: 82px;

    border-bottom: 1px solid var(--border);

    background: rgba(5, 5, 5, 0.94);

    position: sticky;
    top: 0;

    z-index: 100;

    backdrop-filter: blur(12px);
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ============================================================
   BRAND
============================================================ */

.brand {
    display: inline-flex;

    align-items: baseline;

    gap: 8px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;

    letter-spacing: -0.04em;
}

.brand-suffix {
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.2em;

    color: var(--text-muted);
}


/* ============================================================
   NAVIGATION
============================================================ */

.main-nav {
    display: flex;

    align-items: center;

    gap: 36px;
}

.main-nav a {
    position: relative;

    font-size: 13px;
    font-weight: 500;

    color: var(--text-muted);

    transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -9px;

    height: 1px;

    background: var(--text);
}


/* ============================================================
   ABOUT HERO
============================================================ */

.about-hero {
    position: relative;

    min-height: calc(100vh - 82px);

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(65, 58, 48, 0.10),
            transparent 36%
        ),
        radial-gradient(
            circle at 35% 20%,
            rgba(35, 38, 42, 0.10),
            transparent 45%
        ),
        var(--bg);
}

.about-hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -180px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(255, 255, 255, 0.035);

    border-radius: 50%;

    pointer-events: none;
}

.about-hero-inner {
    position: relative;

    z-index: 2;

    padding: 120px 0;
}

.about-hero .section-label {
    margin-bottom: 35px;
}

.about-hero h1 {
    max-width: 1050px;

    font-size: clamp(
        60px,
        8vw,
        112px
    );

    line-height: 0.97;

    letter-spacing: -0.065em;

    font-weight: 500;
}

.about-hero h1 span {
    display: block;

    color: var(--text-secondary);
}

.about-hero p {
    max-width: 650px;

    margin-top: 55px;

    font-size: 18px;

    line-height: 1.75;

    color: var(--text-secondary);
}


/* ============================================================
   ABOUT STATEMENT
============================================================ */

.about-statement {
    padding: 160px 0;

    background: var(--bg);
}

.about-statement-grid {
    display: grid;

    grid-template-columns: 160px minmax(0, 850px);

    gap: 60px;
}

.about-section-label {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.about-statement-content h2 {
    max-width: 850px;

    font-size: clamp(
        44px,
        5vw,
        72px
    );

    line-height: 1;

    letter-spacing: -0.055em;

    font-weight: 500;
}

.about-statement-content h2 span {
    display: block;

    color: var(--text-secondary);
}

.about-statement-content p {
    max-width: 680px;

    margin-top: 40px;

    font-size: 16px;

    line-height: 1.8;

    color: var(--text-secondary);
}

.about-statement-content p + p {
    margin-top: 20px;
}


/* ============================================================
   ABOUT BUSINESSES
============================================================ */

.about-businesses {
    padding: 150px 0 160px;

    background: var(--bg-soft);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-businesses .section-header {
    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 30px;

    margin-bottom: 80px;
}

.about-businesses .section-header h2 {
    max-width: 750px;

    margin-top: 18px;

    font-size: clamp(
        40px,
        5vw,
        64px
    );

    line-height: 1.02;

    letter-spacing: -0.05em;

    font-weight: 500;
}

.about-businesses .section-header h2 span {
    display: block;

    color: var(--text-secondary);
}


/* ============================================================
   ABOUT BUSINESS LIST
============================================================ */

.about-business-list {
    border-top: 1px solid var(--border);
}

.about-business-row {
    min-height: 220px;

    display: grid;

    grid-template-columns:
        80px
        minmax(0, 1fr)
        50px;

    align-items: center;

    gap: 40px;

    border-bottom: 1px solid var(--border);

    transition:
        padding var(--transition),
        background-color var(--transition);
}

.about-business-row:hover {
    padding-left: 18px;
    padding-right: 18px;

    background: rgba(255, 255, 255, 0.025);
}

.about-business-number {
    align-self: start;

    padding-top: 32px;

    font-size: 11px;

    color: var(--text-muted);
}

.about-business-content h3 {
    font-size: clamp(
        34px,
        4vw,
        54px
    );

    line-height: 1;

    letter-spacing: -0.05em;

    font-weight: 500;
}

.about-business-content > span {
    display: block;

    margin-top: 10px;

    font-size: 12px;

    color: var(--text-muted);
}

.about-business-content p {
    max-width: 600px;

    margin-top: 22px;

    font-size: 14px;

    line-height: 1.7;

    color: var(--text-secondary);
}

.about-business-arrow {
    justify-self: end;

    font-size: 26px;

    color: var(--text-muted);

    transition:
        transform var(--transition),
        color var(--transition);
}

.about-business-row:hover .about-business-arrow {
    transform: translate(5px, -5px);

    color: var(--text);
}


/* ============================================================
   ABOUT APPROACH
============================================================ */

.about-approach {
    padding: 170px 0;

    background: var(--bg);
}

.about-approach-content {
    max-width: 1100px;
}

.about-approach-content > .section-label {
    margin-bottom: 30px;
}

.about-approach-content h2 {
    max-width: 1000px;

    font-size: clamp(
        48px,
        6vw,
        82px
    );

    line-height: 0.98;

    letter-spacing: -0.06em;

    font-weight: 500;
}

.about-approach-content h2 span {
    display: block;

    color: var(--text-secondary);
}


/* ============================================================
   PRINCIPLES
============================================================ */

.about-principles {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 0;

    margin-top: 100px;

    border-top: 1px solid var(--border);
}

.about-principle {
    min-height: 270px;

    padding: 30px 40px 30px 0;

    border-right: 1px solid var(--border);
}

.about-principle:not(:first-child) {
    padding-left: 40px;
}

.about-principle:last-child {
    border-right: none;
}

.about-principle-number {
    display: block;

    font-size: 10px;

    letter-spacing: 0.08em;

    color: var(--text-muted);
}

.about-principle h3 {
    margin-top: 55px;

    font-size: 26px;

    line-height: 1;

    letter-spacing: -0.04em;

    font-weight: 500;
}

.about-principle p {
    max-width: 280px;

    margin-top: 18px;

    font-size: 13px;

    line-height: 1.7;

    color: var(--text-secondary);
}


/* ============================================================
   ABOUT CLOSING
============================================================ */

.about-closing {
    padding: 170px 0;

    background: var(--bg-soft);

    border-top: 1px solid var(--border);
}

.about-closing-content {
    max-width: 950px;
}

.about-closing-content h2 {
    margin-top: 25px;

    font-size: clamp(
        52px,
        7vw,
        96px
    );

    line-height: 0.98;

    letter-spacing: -0.06em;

    font-weight: 500;
}

.about-closing-content h2 span {
    display: block;

    color: var(--text-secondary);
}


/* ============================================================
   CLOSING LINK
============================================================ */

.closing-link {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 50px;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--text-muted);

    font-size: 13px;

    font-weight: 500;

    transition:
        gap var(--transition),
        border-color var(--transition);
}

.closing-link:hover {
    gap: 21px;

    border-color: var(--text);
}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    padding: 70px 0 25px;

    border-top: 1px solid var(--border);

    background: #030303;
}

.footer-top {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr;

    gap: 80px;

    padding-bottom: 70px;
}

.footer-brand p {
    max-width: 330px;

    margin-top: 20px;

    font-size: 12px;

    line-height: 1.7;

    color: var(--text-muted);
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-heading {
    margin-bottom: 10px;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: var(--text-muted);
}

.footer-column a {
    font-size: 12px;

    color: var(--text-secondary);

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding-top: 22px;

    border-top: 1px solid var(--border);

    font-size: 10px;

    color: var(--text-muted);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

    .container {
        width: min(
            calc(100% - 48px),
            var(--container-width)
        );
    }


    .about-hero h1 {
        font-size: clamp(
            54px,
            9vw,
            82px
        );
    }


    .about-statement-grid {
        grid-template-columns: 100px 1fr;

        gap: 40px;
    }


    .about-business-row {
        grid-template-columns:
            60px
            1fr
            40px;

        gap: 25px;
    }


    .about-principles {
        grid-template-columns: 1fr;
    }

    .about-principle,
    .about-principle:not(:first-child) {
        min-height: auto;

        padding: 35px 0;

        border-right: none;

        border-bottom: 1px solid var(--border);
    }

    .about-principle:last-child {
        border-bottom: none;
    }

    .about-principle h3 {
        margin-top: 30px;
    }


    .footer-top {
        grid-template-columns:
            1.5fr
            1fr
            1fr;

        gap: 40px;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 640px) {

    .container {
        width: calc(100% - 32px);
    }


    /* Header */

    .site-header {
        height: 70px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 11px;
    }


    /* About Hero */

    .about-hero {
        min-height: calc(100vh - 70px);
    }

    .about-hero-inner {
        padding: 90px 0;
    }

    .about-hero .section-label {
        margin-bottom: 28px;
    }

    .about-hero h1 {
        font-size: 52px;
        line-height: 0.98;
    }

    .about-hero p {
        margin-top: 40px;

        font-size: 15px;
    }


    /* Statement */

    .about-statement {
        padding: 100px 0;
    }

    .about-statement-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .about-statement-content h2 {
        font-size: 44px;
    }

    .about-statement-content p {
        margin-top: 30px;

        font-size: 15px;
    }


    /* Businesses */

    .about-businesses {
        padding: 100px 0;
    }

    .about-businesses .section-header {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 55px;
    }

    .about-businesses .section-header h2 {
        font-size: 42px;
    }

    .about-business-row {
        min-height: 190px;

        grid-template-columns:
            38px
            1fr
            30px;

        gap: 12px;
    }

    .about-business-row:hover {
        padding-left: 8px;
        padding-right: 8px;
    }

    .about-business-number {
        padding-top: 25px;
    }

    .about-business-content h3 {
        font-size: 30px;
    }

    .about-business-content p {
        font-size: 12px;
    }

    .about-business-arrow {
        font-size: 20px;
    }


    /* Approach */

    .about-approach {
        padding: 110px 0;
    }

    .about-approach-content h2 {
        font-size: 44px;
    }

    .about-principles {
        margin-top: 70px;
    }


    /* Closing */

    .about-closing {
        padding: 110px 0;
    }

    .about-closing-content h2 {
        font-size: 54px;
    }


    /* Footer */

    .footer-top {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-bottom: 50px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 6px;
    }
}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}