/* ==========================================================
   HORMUUD UNIVERSITY
   VICE-CHANCELLOR MESSAGE

   CONCEPT:
   THE UNIVERSITY ADDRESS

   OFFICIAL HU GREEN + BLUE
   ========================================================== */


.vcm-page {
    /* Hormuud University identity */
    --hu-green: #148154;
    --hu-green-dark: #0a3420;
    --hu-green-soft: #E8F3EE;

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

    --hu-black: #0E1511;
    --hu-text: #202522;
    --hu-text-soft: #606862;
    --hu-muted: #7B857E;

    --hu-white: #FFFFFF;
    --hu-paper: #F8FAF9;
    --hu-cream: #F1F5F2;

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

    --vcm-display: "Fraunces", Georgia, serif;
    --vcm-body: "Inter", Arial, sans-serif;
    --vcm-mono: "DM Mono", monospace;

    width: 100%;

    color:
        var(--hu-text);

    background:
        var(--hu-paper);

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

    font-size: 17px;
    line-height: 1.75;

    -webkit-font-smoothing:
        antialiased;

    overflow: visible;
}


.vcm-page *,
.vcm-page *::before,
.vcm-page *::after {
    box-sizing: border-box;
}


.vcm-page button {
    font: inherit;
}


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

    margin-inline: auto;
}


.vcm-svg-library {
    position: absolute;

    width: 0;
    height: 0;

    overflow: hidden;
}


/* ==========================================================
   SHARED
   ========================================================== */

.vcm-kicker {
    display: block;

    color:
        var(--hu-green);

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

    letter-spacing: .11em;

    text-transform: uppercase;
}


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

.vcm-hero {
    position: relative;

    overflow: hidden;

    background: var(--hu-paper);

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

    isolation: isolate;
}


.vcm-hero::before {
    content: "VC";

    position: absolute;

    z-index: -2;

    right: -45px;
    top: 120px;

    color:
        rgba(20,129,84,.026);

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

    font-size:
        clamp(
            330px,
            42vw,
            650px
        );

    font-weight: 700;

    line-height: .7;

    letter-spacing: -.1em;

    pointer-events: none;
}


.vcm-hero::after {
    content: "";

    position: absolute;

    z-index: -1;

    left: -220px;
    bottom: -300px;

    width: 650px;
    height: 650px;

    background: none;

    pointer-events: none;
}


/* ==========================================================
   TOPBAR
   ========================================================== */

.vcm-topbar {
    position: relative;

    z-index: 9;

    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

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


.vcm-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}


.vcm-brand-mark {
    width: 41px;
    height: 41px;

    display: grid;
    place-items: center;

    color:
        var(--hu-white);

    background:
        var(--hu-green);

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

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


.vcm-brand strong {
    display: block;

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

    font-size: 13px;
}


.vcm-brand small {
    display: block;

    margin-top: 2px;

    color:
        var(--hu-muted);

    font-size: 12px;
}


.vcm-top-meta {
    display: flex;
    align-items: center;

    gap: 12px;
}


.vcm-top-meta span {
    color:
        var(--hu-muted);

    font-family:
        var(--vcm-mono);

    font-size: 11px;
}


.vcm-top-meta i {
    width: 50px;
    height: 1px;

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


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

.vcm-hero-grid {
    min-height: 760px;

    display: grid;

    grid-template-columns:
        100px
        minmax(0, 1fr)
        minmax(390px, 455px);

    align-items: center;

    gap: 55px;

    padding:
        75px
        0
        65px;
}


/* ==========================================================
   OFFICE MARKER
   ========================================================== */

.vcm-office-marker {
    align-self: stretch;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding:
        22px
        0;

    border-right:
        1px solid
        var(--hu-line);
}


.vcm-office-marker > span {
    color:
        var(--hu-blue);

    font-family:
        var(--vcm-mono);

    font-size: 13px;
}


.vcm-office-marker > div {
    color:
        var(--hu-muted);

    font-family:
        var(--vcm-mono);

    font-size: 10px;

    letter-spacing: .08em;

    writing-mode:
        vertical-rl;

    transform:
        rotate(180deg);
}


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

.vcm-hero-copy {
    position: relative;

    z-index: 4;
}


.vcm-hero-copy h1 {
    max-width: 790px;

    margin:
        17px
        0
        0;

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

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

    font-size:
        clamp(
            64px,
            7.9vw,
            104px
        );

    font-weight: 500;

    line-height: .87;

    letter-spacing: -.064em;
}


.vcm-hero-copy h1 span {
    color:
        var(--hu-blue);
}


.vcm-hero-copy h1 em {
    display: block;

    color:
        var(--hu-green);

    font-style: normal;
}


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

.vcm-hero-quote {
    max-width: 650px;

    display: grid;

    grid-template-columns:
        35px
        1fr;

    gap: 18px;

    margin:
        34px
        0
        0;

    padding-top:
        27px;

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


.vcm-hero-quote svg {
    width: 25px;
    height: 25px;

    fill: none;

    color:
        var(--hu-blue);

    stroke:
        currentColor;

    stroke-width: 1.4;
}


.vcm-hero-quote p {
    margin: 0;

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

    font-size: 17px;

    line-height: 1.75;
}


/* ==========================================================
   READ BUTTON
   ========================================================== */

.vcm-read-button {
    display: inline-flex;
    align-items: center;

    gap: 14px;

    margin-top: 33px;

    padding: 0;

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

    background:
        transparent;

    border: 0;

    cursor: pointer;

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


.vcm-read-button > span {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color:
        var(--hu-white);

    background:
        var(--hu-green);

    border-radius:
        50%;

    transition:
        transform
        220ms ease,
        background
        180ms ease;
}


.vcm-read-button:hover > span {
    background:
        var(--hu-blue);

    transform:
        translateY(4px);
}


.vcm-read-button svg {
    width: 16px;
    height: 16px;

    fill: none;

    stroke:
        currentColor;

    stroke-width: 1.8;
}


/* ==========================================================
   PORTRAIT
   ========================================================== */

.vcm-portrait-area {
    align-self: end;
}


.vcm-portrait-code {
    min-height: 39px;

    display: flex;
    align-items: center;

    gap: 10px;

    color:
        var(--hu-muted);

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-portrait-code span {
    color:
        var(--hu-green);
}


.vcm-portrait-code strong {
    color:
        var(--hu-blue);

    font-weight: 500;
}


.vcm-portrait-code i {
    height: 1px;

    flex: 1;

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


/* ==========================================================
   PORTRAIT FRAME
   ========================================================== */

.vcm-portrait-frame {
    position: relative;

    min-height: 495px;

    overflow: hidden;

    background:
        var(--hu-green-soft);

    border:
        1px solid
        var(--hu-line-dark);
}


.vcm-portrait-frame::before {
    content: "";

    position: absolute;

    z-index: 2;

    inset:
        18px;

    border:
        1px solid
        rgba(255,255,255,.55);

    pointer-events: none;
}


.vcm-portrait-frame img {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 106%;
    height: 106%;

    object-fit: cover;
    object-position: center top;

    transform:
        translate(-50%, -50%)
        scale(1.015);

    transition:
        transform
        170ms ease-out;

    will-change:
        transform;
}


.vcm-portrait-band {
    position: absolute;

    z-index: 5;

    pointer-events: none;
}


.vcm-portrait-band--green {
    left: 0;
    top: 0;

    width: 10px;
    height: 100%;

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


.vcm-portrait-band--blue {
    left: 10px;
    top: 0;

    width: 5px;
    height: 39%;

    background:
        var(--hu-blue);
}


/* ==========================================================
   PORTRAIT LABEL
   ========================================================== */

.vcm-portrait-label {
    position: absolute;

    z-index: 8;

    left: 26px;
    right: 20px;
    bottom: 20px;

    min-height: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        0
        16px;

    color:
        var(--hu-white);

    background:
        rgba(15,104,67,.88);

    backdrop-filter:
        blur(8px);
}


.vcm-portrait-label span,
.vcm-portrait-label strong {
    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-portrait-label strong {
    color:
        #ffffff;

    font-weight: 500;
}


/* ==========================================================
   PERSON
   ========================================================== */

.vcm-person {
    padding-top: 21px;
}


.vcm-person > span {
    color:
        var(--hu-blue);

    font-family:
        var(--vcm-mono);

    font-size: 10px;

    letter-spacing: .08em;
}


.vcm-person h2 {
    margin:
        7px
        0
        0;

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

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

    font-size: 31px;
    font-weight: 500;

    line-height: 1.06;
}


.vcm-person p {
    margin:
        7px
        0
        0;

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

    font-size: 14px;
}


/* ==========================================================
   UNIVERSITY SPINE
   ========================================================== */

.vcm-spine {
    position: relative;

    z-index: 6;

    padding:
        28px
        0
        35px;

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


.vcm-spine-label {
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.vcm-spine-label span {
    color:
        var(--hu-muted);

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-spine-label strong {
    color:
        var(--hu-green);

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

    font-size: 20px;
    font-weight: 500;
}


/* ==========================================================
   SPINE TRACK
   ========================================================== */

.vcm-spine-track {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 20px;

    margin-top: 16px;

    padding-top: 40px;
}


.vcm-spine-base,
.vcm-spine-progress {
    position: absolute;

    left: 10%;
    right: 10%;
    top: 9px;

    height: 2px;
}


.vcm-spine-base {
    background:
        var(--hu-line-dark);
}


.vcm-spine-progress {
    right: auto;

    width: 0;

    background: var(--hu-green);

    box-shadow: 0 0 0 1px var(--hu-blue);
}


.vcm-spine-signal {
    position: absolute;

    z-index: 5;

    left: 10%;
    top: -11px;

    width: 41px;
    height: 41px;

    display: grid;
    place-items: center;

    color:
        var(--hu-white);

    background:
        var(--hu-green);

    border:
        5px solid
        var(--hu-white);

    border-radius: 50%;

    box-shadow:
        0
        8px
        18px
        rgba(15,104,67,.15);

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

    font-size: 12px;

    transform:
        translateX(-50%);

    animation:
        vcmSpineTravel
        12s
        cubic-bezier(.45,0,.55,1)
        infinite;
}


@keyframes vcmSpineTravel {

    0%,
    8% {
        left: 10%;
        background: var(--hu-green);
    }

    23% {
        left: 30%;
    }

    43% {
        left: 50%;
        background: var(--hu-blue);
    }

    63% {
        left: 70%;
    }

    82%,
    100% {
        left: 90%;
        background: var(--hu-green);
    }

}


.vcm-spine-point {
    position: relative;

    min-height: 72px;

    padding-right: 10px;
}


.vcm-spine-point > i {
    position: absolute;

    left: 50%;
    top: -37px;

    width: 12px;
    height: 12px;

    background:
        var(--hu-white);

    border:
        2px solid
        var(--hu-line-dark);

    border-radius: 50%;

    transform:
        translateX(-50%);
}


.vcm-spine-point > span {
    display: block;

    color:
        var(--hu-blue);

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-spine-point strong {
    display: block;

    margin-top: 6px;

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

    font-size: 12px;

    line-height: 1.4;
}


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

.vcm-hero-traces {
    position: absolute;

    z-index: -1;

    left: 0;
    bottom: 100px;

    width: 100%;
    height: 360px;

    pointer-events: none;
}


.vcm-trace {
    fill: none;

    stroke-width: 2;

    stroke-dasharray:
        8
        14;

    animation:
        vcmTrace
        24s
        linear
        infinite;
}


.vcm-trace--green {
    stroke:
        rgba(20,129,84,.11);
}


.vcm-trace--blue {
    stroke:
        rgba(44,133,183,.12);

    animation-direction: reverse;

    animation-duration:
        31s;
}


@keyframes vcmTrace {

    to {
        stroke-dashoffset: -320;
    }

}


/* ==========================================================
   MESSAGE
   ========================================================== */

.vcm-message {
    padding:
        135px
        0
        150px;

    background:
        var(--hu-paper);
}


.vcm-message-grid {
    display: grid;

    grid-template-columns:
        180px
        minmax(0, 875px);

    justify-content: center;

    gap: 85px;
}


/* ==========================================================
   READING NAV
   ========================================================== */

.vcm-reading-sticky {
    position: sticky;

    top: 105px;

    display: grid;

    grid-template-columns:
        35px
        2px
        1fr;

    gap: 16px;

    min-height: 450px;
}


.vcm-reading-title {
    color:
        var(--hu-blue);

    font-family:
        var(--vcm-mono);

    font-size: 10px;

    writing-mode:
        vertical-rl;

    transform:
        rotate(180deg);
}


.vcm-reading-track {
    position: relative;

    width: 2px;

    height: 420px;

    background:
        var(--hu-line);
}


.vcm-reading-progress {
    position: absolute;

    left: 0;
    top: 0;

    width: 2px;
    height: 0;

    background: var(--hu-green);

    box-shadow: 0 0 0 1px var(--hu-blue);
}


/* ==========================================================
   READING BUTTONS
   ========================================================== */

.vcm-reading-sticky nav {
    height: 420px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.vcm-reading-sticky nav button {
    padding: 0;

    text-align: left;

    color:
        var(--hu-muted);

    background:
        transparent;

    border: 0;

    cursor: pointer;

    transition:
        color
        180ms ease,
        transform
        180ms ease;
}


.vcm-reading-sticky nav button:hover,
.vcm-reading-sticky nav button.is-active {
    color:
        var(--hu-green-dark);

    transform:
        translateX(5px);
}


.vcm-reading-sticky nav span {
    display: block;

    color:
        var(--hu-blue);

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-reading-sticky nav strong {
    display: block;

    margin-top: 4px;

    font-size: 12px;
}


/* ==========================================================
   LETTER HEAD
   ========================================================== */

.vcm-letter-head {
    padding-bottom: 48px;

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


.vcm-letter-overline {
    display: flex;
    align-items: center;

    gap: 11px;

    color:
        var(--hu-muted);

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-letter-overline span {
    color:
        var(--hu-green);
}


.vcm-letter-overline strong {
    color:
        var(--hu-blue);

    font-weight: 500;
}


.vcm-letter-overline i {
    height: 1px;

    flex: 1;

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


.vcm-letter-head h2 {
    max-width: 820px;

    margin:
        27px
        0
        0;

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

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

    font-size:
        clamp(
            52px,
            6vw,
            76px
        );

    font-weight: 500;

    line-height: .98;

    letter-spacing: -.053em;
}


.vcm-letter-head h2 span {
    display: block;

    color:
        var(--hu-blue);
}


.vcm-letter-head > p {
    margin:
        24px
        0
        0;

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

    font-size: 14px;
}


/* ==========================================================
   LETTER PART
   ========================================================== */

.vcm-letter-part {
    display: grid;

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

    gap: 30px;

    padding:
        60px
        0;

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


.vcm-part-number {
    color:
        var(--hu-blue);

    font-family:
        var(--vcm-mono);

    font-size: 12px;

    padding-top: 7px;
}


.vcm-part-label {
    display: block;

    margin-bottom: 15px;

    color:
        var(--hu-green);

    font-family:
        var(--vcm-mono);

    font-size: 11px;

    letter-spacing: .09em;
}


.vcm-letter-part p {
    margin: 0;

    color:
        var(--hu-text);

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

    font-size:
        clamp(
            23px,
            2.4vw,
            30px
        );

    line-height: 1.62;

    letter-spacing: -.012em;
}


.vcm-dropcap::first-letter {
    float: left;

    margin:
        6px
        11px
        0
        0;

    color:
        var(--hu-green);

    font-size: 84px;

    line-height: .76;
}


/* ==========================================================
   INTERLUDE
   ========================================================== */

.vcm-interlude {
    display: grid;

    grid-template-columns:
        150px
        1fr;

    align-items: center;

    gap: 35px;

    margin:
        65px
        0;

    padding:
        35px;

    background:
        var(--hu-green-soft);
}


.vcm-interlude-word {
    height: 140px;

    display: grid;
    place-items: center;

    color:
        var(--hu-white);

    background: var(--hu-green);

    border-right: 7px solid var(--hu-blue);

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

    font-size: 43px;
}


.vcm-interlude blockquote {
    display: grid;

    grid-template-columns:
        45px
        1fr;

    gap: 18px;

    margin: 0;
}


.vcm-interlude blockquote > span {
    color:
        var(--hu-blue);

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

    font-size: 60px;

    line-height: .8;
}


.vcm-interlude blockquote p {
    margin: 0;

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

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

    font-size:
        clamp(
            28px,
            3vw,
            40px
        );

    font-weight: 500;

    line-height: 1.2;
}


/* ==========================================================
   PRINCIPLE RAIL
   ========================================================== */

.vcm-principle-rail {
    display: flex;
    align-items: center;

    gap: 13px;

    margin:
        55px
        0;

    padding:
        23px
        0;

    border-top:
        1px solid
        var(--hu-line-dark);

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


.vcm-principle-rail > div {
    flex: none;
}


.vcm-principle-rail span {
    display: block;

    color:
        var(--hu-blue);

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-principle-rail strong {
    display: block;

    margin-top: 4px;

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

    font-size: 12px;
}


.vcm-principle-rail > i {
    height: 1px;

    flex: 1;

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


/* ==========================================================
   LEADERSHIP FORMULA
   ========================================================== */

.vcm-formula {
    margin:
        65px
        0;

    padding:
        31px;

    background:
        var(--hu-blue-soft);

    border-top:
        4px solid
        var(--hu-blue);
}


.vcm-formula-label {
    color:
        var(--hu-blue-dark);

    font-family:
        var(--vcm-mono);

    font-size: 10px;

    letter-spacing: .1em;
}


.vcm-formula-grid {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr
        auto
        1fr;

    align-items: center;

    gap: 20px;

    margin-top: 28px;
}


.vcm-formula-grid article {
    min-height: 145px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 20px;

    background:
        var(--hu-white);

    border:
        1px solid
        #C8D1CB;
}


.vcm-formula-grid article small {
    color:
        var(--hu-blue);

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-formula-grid article strong {
    color:
        var(--hu-green-dark);

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

    font-size: 23px;
    font-weight: 500;

    line-height: 1.12;
}


.vcm-formula-grid > span {
    color:
        var(--hu-green);

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

    font-size: 27px;
}


/* ==========================================================
   FOUNDATION QUOTE
   ========================================================== */

.vcm-foundation-quote {
    display: grid;

    grid-template-columns:
        145px
        1fr;

    gap: 35px;

    margin:
        65px
        0;

    padding:
        35px;

    background:
        #ffffff;

    border:
        1px solid
        var(--hu-line-dark);
}


.vcm-foundation-symbol {
    min-height: 135px;

    display: grid;
    place-items: center;

    color:
        var(--hu-white);

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


.vcm-foundation-symbol span {
    font-family:
        var(--vcm-display);

    font-size: 43px;
}


.vcm-foundation-quote > div:last-child {
    align-self: center;
}


.vcm-foundation-quote > div:last-child > span {
    color:
        var(--hu-blue);

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-foundation-quote p {
    max-width: 650px;

    margin:
        12px
        0
        0;

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

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

    font-size:
        clamp(
            30px,
            3.5vw,
            43px
        );

    font-weight: 500;

    line-height: 1.17;
}


/* ==========================================================
   SIGNATURE
   ========================================================== */

.vcm-signature {
    margin-top: 70px;

    padding-top: 30px;

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


.vcm-signature-rule {
    display: flex;
    align-items: center;

    gap: 11px;

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-signature-rule span {
    color:
        var(--hu-green);
}


.vcm-signature-rule strong {
    color:
        var(--hu-blue);

    font-weight: 500;
}


.vcm-signature-rule i {
    height: 1px;

    flex: 1;

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


.vcm-signature-main {
    display: grid;

    grid-template-columns:
        90px
        1fr;

    align-items: center;

    gap: 25px;

    margin-top: 35px;
}


.vcm-signature-hu {
    width: 82px;
    height: 82px;

    display: grid;
    place-items: center;

    color:
        var(--hu-white);

    background: var(--hu-green);

    border-bottom: 6px solid var(--hu-blue);

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

    font-size: 27px;
}


.vcm-signature-main p {
    margin: 0;

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

    font-size: 14px;
}


.vcm-signature-main h3 {
    margin:
        7px
        0
        0;

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

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

    font-size: 31px;
    font-weight: 500;
}


.vcm-signature-main strong {
    display: block;

    margin-top: 5px;

    color:
        var(--hu-blue-dark);

    font-size: 13px;
}


.vcm-signature-main div:last-child > span {
    display: block;

    margin-top: 2px;

    color:
        var(--hu-muted);

    font-size: 13px;
}


/* ==========================================================
   CLOSING
   ========================================================== */

.vcm-closing {
    padding:
        110px
        0
        130px;

    background:
        var(--hu-paper);
}


.vcm-closing-panel {
    position: relative;

    min-height: 590px;

    padding:
        30px
        35px
        45px;

    overflow: hidden;

    background:
        var(--hu-green-soft);

    border:
        1px solid
        #C8D1CB;
}


.vcm-closing-top {
    display: flex;
    align-items: center;

    gap: 12px;

    color:
        var(--hu-muted);

    font-family:
        var(--vcm-mono);

    font-size: 10px;
}


.vcm-closing-top i {
    height: 1px;

    flex: 1;

    background:
        #C8D1CB;
}


.vcm-closing-grid {
    position: relative;

    z-index: 4;

    display: grid;

    grid-template-columns:
        230px
        1fr;

    align-items: center;

    gap: 70px;

    padding:
        90px
        25px
        40px;
}


.vcm-closing-monogram {
    width: 200px;
    height: 200px;

    display: grid;
    place-items: center;

    color:
        var(--hu-white);

    background: var(--hu-green);

    border-right: 7px solid var(--hu-blue);
}


.vcm-closing-monogram span {
    font-family:
        var(--vcm-display);

    font-size: 60px;
}


.vcm-closing-copy h2 {
    max-width: 800px;

    margin:
        15px
        0
        0;

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

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

    font-size:
        clamp(
            50px,
            6.5vw,
            82px
        );

    font-weight: 500;

    line-height: .94;

    letter-spacing: -.055em;
}


.vcm-closing-copy h2 span {
    display: block;

    color:
        var(--hu-blue);
}


.vcm-closing-copy button {
    min-height: 48px;

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

    gap: 10px;

    margin-top: 30px;

    padding:
        0
        18px;

    color:
        var(--hu-white);

    background:
        var(--hu-green);

    border:
        1px solid
        var(--hu-green);

    cursor: pointer;

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

    transition:
        background
        180ms ease,
        border-color
        180ms ease;
}


.vcm-closing-copy button:hover {
    background:
        var(--hu-blue);

    border-color:
        var(--hu-blue);
}


.vcm-closing-copy svg {
    width: 15px;
    height: 15px;

    fill: none;

    stroke:
        currentColor;

    stroke-width: 1.8;
}


/* ==========================================================
   CLOSING LINES
   ========================================================== */

.vcm-closing-lines {
    position: absolute;

    right: -60px;
    bottom: -40px;

    width: 400px;
    height: 250px;

    opacity: .16;
}


.vcm-closing-lines i {
    position: absolute;

    left: 0;

    width: 420px;
    height: 1px;

    background:
        var(--hu-green);

    transform-origin:
        left;
}


.vcm-closing-lines i:nth-child(1) {
    top: 20px;

    transform:
        rotate(-17deg);
}


.vcm-closing-lines i:nth-child(2) {
    top: 75px;

    background:
        var(--hu-blue);

    transform:
        rotate(-9deg);
}


.vcm-closing-lines i:nth-child(3) {
    top: 130px;

    transform:
        rotate(0);
}


.vcm-closing-lines i:nth-child(4) {
    top: 185px;

    background:
        var(--hu-blue);

    transform:
        rotate(10deg);
}


/* ==========================================================
   REVEALS
   ========================================================== */

.vcm-page.js-ready
.vcm-reveal {
    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity
        760ms ease,
        transform
        760ms
        cubic-bezier(
            .16,
            1,
            .3,
            1
        );
}


.vcm-page.js-ready
.vcm-reveal.is-visible {
    opacity: 1;

    transform: none;
}


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

@media (max-width: 1050px) {

    .vcm-hero-grid {
        grid-template-columns:
            80px
            minmax(0, 1fr);

        gap: 40px;
    }


    .vcm-portrait-area {
        grid-column:
            2;

        max-width: 560px;
    }


    .vcm-message-grid {
        grid-template-columns:
            145px
            minmax(0, 1fr);

        gap: 50px;
    }


    .vcm-formula-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .vcm-formula-grid > span {
        text-align: center;
    }

}


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

@media (max-width: 720px) {

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


    .vcm-top-meta {
        display: none;
    }


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

        min-height: auto;

        gap: 35px;

        padding:
            55px
            0;
    }


    .vcm-office-marker {
        min-height: auto;

        flex-direction: row;
        align-items: center;

        padding:
            0
            0
            16px;

        border-right: 0;

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


    .vcm-office-marker > div {
        writing-mode: initial;

        transform: none;
    }


    .vcm-hero-copy h1 {
        font-size:
            clamp(
                54px,
                16vw,
                76px
            );
    }


    .vcm-hero-quote {
        grid-template-columns:
            30px
            1fr;
    }


    .vcm-portrait-area {
        grid-column: auto;

        max-width: none;
    }


    .vcm-portrait-frame {
        min-height: 460px;
    }


    /* SPINE */

    .vcm-spine-track {
        grid-template-columns: 1fr;

        gap: 0;

        padding:
            0
            0
            0
            62px;
    }


    .vcm-spine-base,
    .vcm-spine-progress {
        left: 20px;
        top: 25px;
        bottom: 25px;

        width: 2px;
        height: auto;
    }


    .vcm-spine-base {
        right: auto;
    }


    .vcm-spine-progress,
    .vcm-spine-signal {
        display: none;
    }


    .vcm-spine-point {
        min-height: 80px;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }


    .vcm-spine-point > i {
        left: -42px;
        top: 50%;

        transform:
            translate(-50%, -50%);
    }


    .vcm-message,
    .vcm-closing {
        padding:
            82px
            0;
    }


    .vcm-message-grid {
        grid-template-columns: 1fr;
    }


    .vcm-reading-nav {
        display: none;
    }


    .vcm-letter-head h2 {
        font-size: 42px;
    }


    .vcm-letter-part {
        grid-template-columns:
            35px
            1fr;

        gap: 15px;

        padding:
            44px
            0;
    }


    .vcm-letter-part p {
        font-size: 21px;
    }


    .vcm-dropcap::first-letter {
        font-size: 64px;
    }


    .vcm-interlude,
    .vcm-foundation-quote {
        grid-template-columns: 1fr;
    }


    .vcm-interlude-word,
    .vcm-foundation-symbol {
        width: 110px;
        height: 110px;
        min-height: 110px;
    }


    .vcm-principle-rail {
        overflow-x: auto;

        scrollbar-width: none;
    }


    .vcm-principle-rail::-webkit-scrollbar {
        display: none;
    }


    .vcm-principle-rail > div {
        min-width: max-content;
    }


    .vcm-principle-rail > i {
        min-width: 30px;
    }


    .vcm-signature-main {
        grid-template-columns: 1fr;
    }


    .vcm-closing-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        padding:
            65px
            0
            30px;
    }


    .vcm-closing-monogram {
        width: 130px;
        height: 130px;
    }


    .vcm-closing-monogram span {
        font-size: 42px;
    }


    .vcm-closing-copy h2 {
        font-size: 43px;
    }

}


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

@media (max-width: 460px) {

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


    .vcm-brand small {
        display: none;
    }


    .vcm-portrait-frame {
        min-height: 390px;
    }


    .vcm-portrait-label {
        left: 18px;
        right: 13px;

        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        gap: 2px;
    }


    .vcm-interlude,
    .vcm-foundation-quote,
    .vcm-formula {
        padding: 22px;
    }


    .vcm-letter-part {
        grid-template-columns: 1fr;
    }


    .vcm-part-number {
        padding-top: 0;
    }


    .vcm-signature-main h3 {
        font-size: 27px;
    }

}


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

html,
body {
    height: auto !important;

    min-height: 100% !important;

    overflow-y: auto !important;

    overflow-x: hidden;
}


.vcm-page {
    height: auto !important;

    max-height: none !important;

    overflow: visible !important;
}


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

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

    .vcm-page *,
    .vcm-page *::before,
    .vcm-page *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }


    .vcm-page.js-ready
    .vcm-reveal {
        opacity: 1;

        transform: none;
    }


    .vcm-spine-signal,
    .vcm-trace {
        animation: none;
    }

}

/* ==========================================================
   HORMUUD UNIVERSITY — VICE-CHANCELLOR MESSAGE
   DARK MODE 2026
   ========================================================== */

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

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

    --hu-black: #09100C;
    --hu-text: #EDF3EF;
    --hu-text-soft: #A9B5AE;
    --hu-muted: #7F8B84;

    --hu-white: #151E18;
    --hu-paper: #0E1511;
    --hu-cream: #18241D;

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

    color: var(--hu-text) !important;
    background: var(--hu-paper) !important;
}

/* Hero */
html[data-theme="dark"] .vcm-page .vcm-hero {
    background: #0E1511 !important;
    border-bottom-color: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-hero::before {
    color: rgba(102,197,155,.035) !important;
}
html[data-theme="dark"] .vcm-page .vcm-topbar,
html[data-theme="dark"] .vcm-page .vcm-office-marker {
    border-color: var(--hu-line) !important;
}
html[data-theme="dark"] .vcm-page .vcm-brand-mark {
    color: #0E1511 !important;
    background: var(--hu-green) !important;
}
html[data-theme="dark"] .vcm-page .vcm-brand strong,
html[data-theme="dark"] .vcm-page .vcm-hero-copy h1,
html[data-theme="dark"] .vcm-page .vcm-letter-head h2,
html[data-theme="dark"] .vcm-page .vcm-signature-main h3,
html[data-theme="dark"] .vcm-page .vcm-closing-copy h2 {
    color: var(--hu-green-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-hero-copy h1 span,
html[data-theme="dark"] .vcm-page .vcm-letter-head h2 span,
html[data-theme="dark"] .vcm-page .vcm-closing-copy h2 span {
    color: var(--hu-blue) !important;
}
html[data-theme="dark"] .vcm-page .vcm-brand small,
html[data-theme="dark"] .vcm-page .vcm-top-meta,
html[data-theme="dark"] .vcm-page .vcm-office-marker,
html[data-theme="dark"] .vcm-page .vcm-portrait-code {
    color: var(--hu-muted) !important;
}
html[data-theme="dark"] .vcm-page .vcm-kicker,
html[data-theme="dark"] .vcm-page .vcm-read-button {
    color: var(--hu-green) !important;
}
html[data-theme="dark"] .vcm-page .vcm-hero-quote {
    color: var(--hu-text-soft) !important;
    border-color: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-read-button > span {
    color: #0E1511 !important;
    background: var(--hu-green) !important;
}

/* Portrait */
html[data-theme="dark"] .vcm-page .vcm-portrait-frame {
    background: var(--hu-green-soft) !important;
    border-color: var(--hu-line-dark) !important;
    box-shadow: 0 24px 55px rgba(0,0,0,.24) !important;
}
html[data-theme="dark"] .vcm-page .vcm-portrait-frame img {
    filter: none !important;
}
html[data-theme="dark"] .vcm-page .vcm-portrait-label {
    color: #FFFFFF !important;
    background: rgba(15,104,67,.90) !important;
}
html[data-theme="dark"] .vcm-page .vcm-person h2 {
    color: var(--hu-green-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-person p {
    color: var(--hu-text-soft) !important;
}

/* University spine */
html[data-theme="dark"] .vcm-page .vcm-spine {
    border-color: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-spine-base,
html[data-theme="dark"] .vcm-page .vcm-spine-track {
    background: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-spine-progress,
html[data-theme="dark"] .vcm-page .vcm-spine-signal {
    background: var(--hu-green) !important;
}
html[data-theme="dark"] .vcm-page .vcm-spine-point > i {
    background: #151E18 !important;
    border-color: var(--hu-green) !important;
}
html[data-theme="dark"] .vcm-page .vcm-spine-label {
    color: var(--hu-muted) !important;
}

/* Message / reading */
html[data-theme="dark"] .vcm-page .vcm-message {
    background: #0E1511 !important;
}
html[data-theme="dark"] .vcm-page .vcm-reading-sticky {
    background: rgba(14,21,17,.96) !important;
    border-color: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-reading-track,
html[data-theme="dark"] .vcm-page .vcm-letter-overline i,
html[data-theme="dark"] .vcm-page .vcm-signature-rule i {
    background: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-reading-progress {
    background: var(--hu-green) !important;
    box-shadow: 0 0 0 1px var(--hu-blue) !important;
}
html[data-theme="dark"] .vcm-page .vcm-reading-sticky nav button {
    color: var(--hu-muted) !important;
}
html[data-theme="dark"] .vcm-page .vcm-reading-sticky nav button:hover,
html[data-theme="dark"] .vcm-page .vcm-reading-sticky nav button.is-active {
    color: var(--hu-green-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-letter-head,
html[data-theme="dark"] .vcm-page .vcm-letter-part {
    border-color: var(--hu-line) !important;
}
html[data-theme="dark"] .vcm-page .vcm-letter-part p {
    color: var(--hu-text) !important;
}

/* Interlude / principles */
html[data-theme="dark"] .vcm-page .vcm-interlude {
    background: var(--hu-green-soft) !important;
}
html[data-theme="dark"] .vcm-page .vcm-interlude-word {
    color: var(--hu-green-dark) !important;
    background: none !important;
    border-right: 0 !important;
}
html[data-theme="dark"] .vcm-page .vcm-principle-rail {
    border-color: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-principle-rail > i {
    background: var(--hu-line-dark) !important;
}

/* Leadership formula */
html[data-theme="dark"] .vcm-page .vcm-formula {
    background: var(--hu-blue-soft) !important;
}
html[data-theme="dark"] .vcm-page .vcm-formula-grid {
    background: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-formula-grid article {
    background: #151E18 !important;
}
html[data-theme="dark"] .vcm-page .vcm-formula-grid span {
    color: var(--hu-blue) !important;
}
html[data-theme="dark"] .vcm-page .vcm-formula-grid strong {
    color: var(--hu-green-dark) !important;
}

/* Foundation quote */
html[data-theme="dark"] .vcm-page .vcm-foundation-quote {
    color: var(--hu-text) !important;
    background: #151E18 !important;
    border-color: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-foundation-symbol {
    color: #0E1511 !important;
    background: var(--hu-green) !important;
}

/* Signature */
html[data-theme="dark"] .vcm-page .vcm-signature {
    background: var(--hu-green-soft) !important;
    border-color: #315944 !important;
}
html[data-theme="dark"] .vcm-page .vcm-signature-hu {
    color: #0E1511 !important;
    background: var(--hu-green) !important;
    border-bottom-color: var(--hu-blue) !important;
}
html[data-theme="dark"] .vcm-page .vcm-signature-main p {
    color: var(--hu-text-soft) !important;
}

/* Closing */
html[data-theme="dark"] .vcm-page .vcm-closing {
    background: #0E1511 !important;
}
html[data-theme="dark"] .vcm-page .vcm-closing-panel {
    background: #18241D !important;
    border-color: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-closing-top {
    color: var(--hu-muted) !important;
}
html[data-theme="dark"] .vcm-page .vcm-closing-top i {
    background: var(--hu-line-dark) !important;
}
html[data-theme="dark"] .vcm-page .vcm-closing-monogram {
    color: #0E1511 !important;
    background: var(--hu-green) !important;
    border-right-color: var(--hu-blue) !important;
}
html[data-theme="dark"] .vcm-page .vcm-closing-copy p {
    color: var(--hu-text-soft) !important;
}
html[data-theme="dark"] .vcm-page .vcm-closing-copy button {
    color: #0E1511 !important;
    background: var(--hu-green) !important;
}
html[data-theme="dark"] .vcm-page .vcm-closing-copy button:hover,
html[data-theme="dark"] .vcm-page .vcm-closing-copy button:focus-visible {
    background: var(--hu-blue) !important;
}

.vcm-page,
.vcm-page .vcm-hero,
.vcm-page .vcm-portrait-frame,
.vcm-page .vcm-message,
.vcm-page .vcm-reading-sticky,
.vcm-page .vcm-interlude,
.vcm-page .vcm-formula,
.vcm-page .vcm-formula-grid article,
.vcm-page .vcm-foundation-quote,
.vcm-page .vcm-signature,
.vcm-page .vcm-closing,
.vcm-page .vcm-closing-panel,
.vcm-page .vcm-closing-monogram {
    transition: background-color .24s ease, color .24s ease, border-color .24s ease;
}

@media (prefers-reduced-motion: reduce) {
    .vcm-page,
    .vcm-page .vcm-hero,
    .vcm-page .vcm-portrait-frame,
    .vcm-page .vcm-message,
    .vcm-page .vcm-reading-sticky,
    .vcm-page .vcm-interlude,
    .vcm-page .vcm-formula,
    .vcm-page .vcm-formula-grid article,
    .vcm-page .vcm-foundation-quote,
    .vcm-page .vcm-signature,
    .vcm-page .vcm-closing,
    .vcm-page .vcm-closing-panel,
    .vcm-page .vcm-closing-monogram {
        transition: none !important;
    }
}
