/* ==========================================================
   HORMUUD UNIVERSITY
   WHY US PAGE
   ========================================================== */


.hu-why {
    /* Hormuud University identity */
    --why-green: #148154;
    --why-green-hover: #0F6843;
    --why-green-dark: #0a3420;
    --why-green-soft: #E8F3EE;

    --why-blue: #2C85B7;
    --why-blue-dark: #236E98;
    --why-blue-soft: #EAF4F9;

    --why-cream: #F1F5F2;
    --why-soft: #F8FAF9;
    --why-white: #FFFFFF;

    --why-text: #202522;
    --why-text-soft: #606862;
    --why-muted: #7B857E;

    --why-line: #D9E0DC;
    --why-line-dark: #C8D1CB;

    /* Former gold role now uses HU blue. */
    --why-gold: var(--why-blue);

    --why-display: "Fraunces", Georgia, serif;
    --why-body: "Inter", Arial, sans-serif;

    width: 100%;

    min-height: 100vh;

    color: var(--why-text);

    background: var(--why-white);

    font-family: var(--why-body);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;

    overflow: visible;
}


.hu-why *,
.hu-why *::before,
.hu-why *::after {
    box-sizing: border-box;
}


.hu-why a {
    color: inherit;
    text-decoration: none;
}


.hu-why button {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}


.why-shell {
    width: min(
        1200px,
        calc(100% - 56px)
    );

    margin-inline: auto;
}


.why-icons {
    position: absolute;

    width: 0;
    height: 0;

    overflow: hidden;
}


.why-icon {
    width: 17px;
    height: 17px;

    flex: none;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   HERO
   ========================================================== */

.why-hero {
    background:
        var(--why-cream);

    border-bottom:
        1px solid
        var(--why-line);
}


.why-hero-grid {
    min-height: 610px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(270px, .55fr);

    align-items: center;

    gap: 100px;

    padding-top: 95px;
    padding-bottom: 90px;
}


.why-kicker {
    margin:
        0
        0
        22px;

    color:
        var(--why-green);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .13em;

    text-transform: uppercase;
}


.why-hero h1 {
    max-width: 850px;

    margin: 0;

    color: #202522;

    font-family:
        var(--why-display);

    font-size:
        clamp(
            50px,
            6vw,
            77px
        );

    font-weight: 600;

    line-height: 1;

    letter-spacing: -.043em;
}


.why-hero h1 span {
    color:
        var(--why-green);
}


.why-hero-lead {
    max-width: 700px;

    margin:
        30px
        0
        0;

    color:
        var(--why-text-soft);

    font-size: 16px;

    line-height: 1.8;
}


.why-explore {
    min-height: 44px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 31px;

    padding: 0;

    color:
        var(--why-green);

    background: transparent;

    border: 0;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}


.why-explore .why-icon {
    width: 15px;
    height: 15px;

    transition:
        transform
        180ms ease;
}


.why-explore:hover .why-icon {
    transform:
        translateY(3px);
}


/* ==========================================================
   HERO SIDE
   ========================================================== */

.why-hero-side {
    align-self: end;

    padding-bottom: 12px;
}


.why-hero-side-line {
    height: 1px;

    margin-bottom: 26px;

    background:
        var(--why-line-dark);
}


.why-hero-side-label {
    display: block;

    color:
        var(--why-muted);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.why-hero-side strong {
    display: block;

    margin-top: 8px;

    color:
        var(--why-green-dark);

    font-family:
        var(--why-display);

    font-size:
        clamp(
            78px,
            8vw,
            112px
        );

    font-weight: 600;

    line-height: .9;

    letter-spacing: -.055em;
}


.why-hero-side p {
    max-width: 280px;

    margin:
        23px
        0
        0;

    color:
        var(--why-text-soft);

    font-size: 11px;

    line-height: 1.7;
}


/* ==========================================================
   INTRO
   ========================================================== */

.why-intro {
    padding:
        110px
        0
        90px;

    background: var(--why-white);
}


.why-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(170px, .35fr)
        minmax(0, 1.65fr);

    gap: 90px;
}


.why-intro-meta span {
    color:
        var(--why-gold);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .12em;
}


.why-intro-meta p {
    margin:
        14px
        0
        0;

    color:
        var(--why-green);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .11em;

    text-transform: uppercase;
}


.why-intro-content h2 {
    max-width: 760px;

    margin: 0;

    color:
        var(--why-green-dark);

    font-family:
        var(--why-display);

    font-size:
        clamp(
            37px,
            4.5vw,
            54px
        );

    font-weight: 600;

    line-height: 1.08;

    letter-spacing: -.03em;
}


.why-intro-content p {
    max-width: 600px;

    margin:
        25px
        0
        0;

    color:
        var(--why-text-soft);

    font-size: 13px;

    line-height: 1.8;
}


/* ==========================================================
   REASONS
   ========================================================== */

.why-reasons {
    padding:
        20px
        0
        120px;

    background: var(--why-white);
}


.why-reasons-layout {
    display: grid;

    grid-template-columns:
        minmax(170px, .35fr)
        minmax(0, 1.65fr);

    gap: 90px;
}


/* Sticky left */

.why-reasons-side {
    position: relative;
}


.why-reasons-side-inner {
    position: sticky;

    top: 95px;

    padding-top: 26px;

    border-top:
        1px solid
        var(--why-line);
}


.why-reasons-side-inner > span {
    display: block;

    color:
        var(--why-green);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .11em;

    text-transform: uppercase;
}


.why-reasons-side-inner > p {
    margin:
        9px
        0
        0;

    color:
        var(--why-muted);

    font-size: 10px;
}


/* Progress */

.why-side-progress {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 32px;
}


.why-side-progress span {
    color:
        var(--why-green-dark);

    font-size: 9px;
    font-weight: 700;
}


.why-side-progress span:last-child {
    color:
        var(--why-muted);
}


.why-side-progress i {
    width: 55px;
    height: 1px;

    display: block;

    background:
        var(--why-line-dark);
}


/* ==========================================================
   REASON ROW
   ========================================================== */

.why-reasons-list {
    border-top:
        1px solid
        var(--why-line);
}


.why-reason {
    position: relative;

    min-height: 205px;

    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr)
        70px;

    align-items: center;

    gap: 22px;

    border-bottom:
        1px solid
        var(--why-line);

    transition:
        padding-left
        350ms
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );
}


.why-reason-number {
    align-self: start;

    margin-top: 37px;

    color:
        var(--why-muted);

    font-size: 8px;
    font-weight: 600;
}


.why-reason-content {
    padding:
        35px
        0;
}


.why-reason h2 {
    max-width: 650px;

    margin: 0;

    color:
        var(--why-green-dark);

    font-family:
        var(--why-display);

    font-size:
        clamp(
            30px,
            3.6vw,
            46px
        );

    font-weight: 600;

    line-height: 1.12;

    letter-spacing: -.028em;

    transition:
        color
        220ms ease;
}


.why-reason h2 span {
    color:
        var(--why-text-soft);

    font-size: .62em;
}


.why-reason p {
    max-width: 520px;

    margin:
        17px
        0
        0;

    color:
        var(--why-text-soft);

    font-size: 11px;

    line-height: 1.7;
}


.why-reason-line {
    width: 34px;
    height: 1px;

    justify-self: end;

    background:
        var(--why-line-dark);

    transition:
        width
        350ms
        cubic-bezier(
            .22,
            1,
            .36,
            1
        ),
        background
        180ms ease;
}


@media (hover: hover) and (pointer: fine) {

    .why-reason:hover {
        padding-left: 12px;
    }


    .why-reason:hover h2 {
        color:
            var(--why-green);
    }


    .why-reason:hover
    .why-reason-line {
        width: 66px;

        background:
            var(--why-green);
    }

}


/* ==========================================================
   RESEARCH
   ========================================================== */

.why-research {
    padding:
        115px
        0;

    color: #fff;

    background:
        var(--why-green-dark);
}


.why-research-grid {
    display: grid;

    grid-template-columns:
        minmax(170px, .35fr)
        minmax(0, 1.65fr);

    gap: 90px;
}


.why-research-meta span {
    color:
        var(--why-gold);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .12em;
}


.why-research-meta p {
    margin:
        14px
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            .55
        );

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .11em;

    text-transform: uppercase;
}


.why-research-icon {
    width: 30px;
    height: 30px;

    margin-bottom: 27px;

    fill: none;

    color: #9cc4aa;

    stroke: currentColor;
    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.why-research-kicker {
    margin:
        0
        0
        12px;

    color:
        #99bda3;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .11em;

    text-transform: uppercase;
}


.why-research-content h2 {
    max-width: 780px;

    margin: 0;

    font-family:
        var(--why-display);

    font-size:
        clamp(
            40px,
            5vw,
            61px
        );

    font-weight: 600;

    line-height: 1.08;

    letter-spacing: -.03em;
}


.why-research-text {
    max-width: 720px;

    margin:
        31px
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            .69
        );

    font-size: 13px;

    line-height: 1.85;
}


/* ==========================================================
   NEXT
   ========================================================== */

.why-next {
    padding:
        105px
        0;

    background:
        var(--why-cream);
}


.why-next-grid {
    display: grid;

    grid-template-columns:
        minmax(170px, .35fr)
        minmax(0, 1.65fr);

    gap: 90px;
}


.why-next-meta span {
    color:
        var(--why-green);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .11em;

    text-transform: uppercase;
}


.why-next-content h2 {
    max-width: 690px;

    margin: 0;

    color:
        var(--why-green-dark);

    font-family:
        var(--why-display);

    font-size:
        clamp(
            37px,
            4.5vw,
            52px
        );

    font-weight: 600;

    line-height: 1.1;

    letter-spacing: -.03em;
}


.why-next-actions {
    display: flex;
    align-items: center;

    gap: 25px;

    margin-top: 34px;
}


.why-next-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color:
        var(--why-green);

    font-size: 10px;
    font-weight: 700;
}


.why-next-link .why-icon {
    width: 14px;
    height: 14px;

    transition:
        transform
        180ms ease;
}


.why-next-link:hover
.why-icon {
    transform:
        translateX(4px);
}


.why-next-button {
    min-height: 47px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        0
        19px;

    color: #fff !important;

    background:
        var(--why-green);

    border-radius: 4px;


    transition:
        background
        170ms ease;
}


.why-next-button:hover {
    background:
        var(--why-green-hover);
}


/* ==========================================================
   REVEAL
   ========================================================== */

.hu-why.js-ready
.why-reveal {
    opacity: 0;

    transform:
        translateY(16px);

    transition:
        opacity
        700ms ease,
        transform
        700ms
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );
}


.hu-why.js-ready
.why-reveal.is-visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1000px) {

    .why-hero-grid {
        grid-template-columns: 1fr;

        min-height: auto;

        gap: 60px;
    }


    .why-hero-side {
        max-width: 580px;
    }


    .why-intro-grid,
    .why-reasons-layout,
    .why-research-grid,
    .why-next-grid {
        grid-template-columns:
            140px
            1fr;

        gap: 50px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 720px) {

    .why-shell {
        width:
            min(
                100% - 30px,
                1200px
            );
    }


    .why-hero-grid {
        padding-top: 65px;
        padding-bottom: 60px;
    }


    .why-hero h1 {
        font-size:
            clamp(
                43px,
                12vw,
                59px
            );
    }


    .why-hero-lead {
        font-size: 14px;
    }


    .why-hero-side strong {
        font-size: 70px;
    }


    .why-intro {
        padding:
            75px
            0;
    }


    .why-intro-grid,
    .why-reasons-layout,
    .why-research-grid,
    .why-next-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .why-intro-content h2 {
        font-size: 36px;
    }


    /*
     * No sticky sidebar on phone.
     */
    .why-reasons-side-inner {
        position: static;

        padding-top: 0;

        border-top: 0;
    }


    .why-side-progress {
        display: none;
    }


    .why-reasons {
        padding-bottom: 80px;
    }


    .why-reason {
        min-height: 160px;

        grid-template-columns:
            38px
            minmax(0, 1fr)
            28px;

        gap: 12px;
    }


    .why-reason-number {
        margin-top: 29px;
    }


    .why-reason-content {
        padding:
            27px
            0;
    }


    .why-reason h2 {
        font-size:
            clamp(
                28px,
                8vw,
                38px
            );
    }


    .why-reason-line {
        width: 20px;
    }


    .why-research {
        padding:
            80px
            0;
    }


    .why-research-content h2 {
        font-size: 39px;
    }


    .why-next {
        padding:
            78px
            0;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 460px) {

    .why-shell {
        width:
            min(
                100% - 22px,
                1200px
            );
    }


    .why-reason {
        grid-template-columns:
            28px
            1fr;
    }


    .why-reason-line {
        display: none;
    }


    .why-next-actions {
        display: grid;

        gap: 20px;
    }


    .why-next-button {
        width: 100%;
    }

}


/* ==========================================================
   SCROLL SAFETY
   ========================================================== */

html,
body {
    height: auto !important;

    min-height: 100% !important;

    overflow-y: auto !important;
}


.hu-why {
    height: auto !important;

    max-height: none !important;

    overflow: visible !important;
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .hu-why *,
    .hu-why *::before,
    .hu-why *::after {
        scroll-behavior:
            auto !important;

        transition-duration:
            .01ms !important;
    }


    .hu-why.js-ready
    .why-reveal {
        opacity: 1;

        transform: none;
    }

}

/* ==========================================================
   HORMUUD UNIVERSITY — WHY US DARK MODE 2026
   ========================================================== */

html[data-theme="dark"] .hu-why {
    --why-green: #66C59B;
    --why-green-hover: #86D5B2;
    --why-green-dark: #86D5B2;
    --why-green-soft: #183A2C;

    --why-blue: #72BCE3;
    --why-blue-dark: #97D1EC;
    --why-blue-soft: #173442;

    --why-cream: #18241D;
    --why-soft: #0E1511;
    --why-white: #151E18;

    --why-text: #EDF3EF;
    --why-text-soft: #A9B5AE;
    --why-muted: #7F8B84;

    --why-line: #2D3A32;
    --why-line-dark: #3A493F;

    --why-gold: var(--why-blue);

    color: var(--why-text) !important;
    background: #0E1511 !important;
}

/* Hero */
html[data-theme="dark"] .hu-why .why-hero {
    background: #18241D !important;
    border-bottom-color: var(--why-line) !important;
}
html[data-theme="dark"] .hu-why .why-hero h1 {
    color: var(--why-text) !important;
}
html[data-theme="dark"] .hu-why .why-hero h1 span,
html[data-theme="dark"] .hu-why .why-kicker,
html[data-theme="dark"] .hu-why .why-explore {
    color: var(--why-green) !important;
}
html[data-theme="dark"] .hu-why .why-hero-lead,
html[data-theme="dark"] .hu-why .why-hero-side p {
    color: var(--why-text-soft) !important;
}
html[data-theme="dark"] .hu-why .why-hero-side-line {
    background: var(--why-line-dark) !important;
}
html[data-theme="dark"] .hu-why .why-hero-side-label {
    color: var(--why-muted) !important;
}
html[data-theme="dark"] .hu-why .why-hero-side strong {
    color: var(--why-green-dark) !important;
}

/* Intro + reasons */
html[data-theme="dark"] .hu-why .why-intro,
html[data-theme="dark"] .hu-why .why-reasons {
    background: #0E1511 !important;
}
html[data-theme="dark"] .hu-why .why-intro-meta span {
    color: var(--why-blue) !important;
}
html[data-theme="dark"] .hu-why .why-intro-meta p,
html[data-theme="dark"] .hu-why .why-reasons-side-inner > span {
    color: var(--why-green) !important;
}
html[data-theme="dark"] .hu-why .why-intro-content h2,
html[data-theme="dark"] .hu-why .why-reason h2,
html[data-theme="dark"] .hu-why .why-next-content h2 {
    color: var(--why-green-dark) !important;
}
html[data-theme="dark"] .hu-why .why-intro-content p,
html[data-theme="dark"] .hu-why .why-reason p,
html[data-theme="dark"] .hu-why .why-next-content > p {
    color: var(--why-text-soft) !important;
}
html[data-theme="dark"] .hu-why .why-reasons-side-inner,
html[data-theme="dark"] .hu-why .why-reasons-list,
html[data-theme="dark"] .hu-why .why-reason {
    border-color: var(--why-line) !important;
}
html[data-theme="dark"] .hu-why .why-reasons-side-inner > p,
html[data-theme="dark"] .hu-why .why-reason-number,
html[data-theme="dark"] .hu-why .why-side-progress span:last-child {
    color: var(--why-muted) !important;
}
html[data-theme="dark"] .hu-why .why-side-progress i,
html[data-theme="dark"] .hu-why .why-reason-line {
    background: var(--why-line-dark) !important;
}

/* Research is intentionally a strong institutional field. */
html[data-theme="dark"] .hu-why .why-research {
    color: #F4F7F5 !important;
    background: #0B3322 !important;
}
html[data-theme="dark"] .hu-why .why-research-meta span,
html[data-theme="dark"] .hu-why .why-research-kicker {
    color: #97D1EC !important;
}
html[data-theme="dark"] .hu-why .why-research-icon {
    color: #86D5B2 !important;
}
html[data-theme="dark"] .hu-why .why-research-content h2 {
    color: #FFFFFF !important;
}
html[data-theme="dark"] .hu-why .why-research-text,
html[data-theme="dark"] .hu-why .why-research-meta p {
    color: rgba(244,247,245,.70) !important;
}

/* Next step */
html[data-theme="dark"] .hu-why .why-next {
    background: #18241D !important;
}
html[data-theme="dark"] .hu-why .why-next-meta span,
html[data-theme="dark"] .hu-why .why-next-link {
    color: var(--why-green) !important;
}
html[data-theme="dark"] .hu-why .why-next-button {
    color: #0E1511 !important;
    background: var(--why-green) !important;
}
html[data-theme="dark"] .hu-why .why-next-button:hover,
html[data-theme="dark"] .hu-why .why-next-button:focus-visible {
    background: var(--why-green-dark) !important;
}

.hu-why,
.hu-why .why-hero,
.hu-why .why-intro,
.hu-why .why-reasons,
.hu-why .why-reason,
.hu-why .why-research,
.hu-why .why-next,
.hu-why .why-next-button {
    transition: background-color .24s ease, color .24s ease, border-color .24s ease;
}

@media (prefers-reduced-motion: reduce) {
    .hu-why,
    .hu-why .why-hero,
    .hu-why .why-intro,
    .hu-why .why-reasons,
    .hu-why .why-reason,
    .hu-why .why-research,
    .hu-why .why-next,
    .hu-why .why-next-button {
        transition: none !important;
    }
}
