/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    background: var(--kertas);

    overflow: hidden;

    color: var(--tinta);

    scroll-margin-top: 0;
}


/* =========================================================
   HERO MAIN
========================================================= */

.hero-main {
    position: relative;

    min-height: 610px;

    overflow: hidden;

    background: var(--kertas);
}


/* =========================================================
   IMAGE SLIDER
========================================================= */

.hero-slides {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 56%;

    overflow: hidden;

    z-index: 1;

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.65) 8%,
            #000 21%
        );

    mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.65) 8%,
            #000 21%
        );
}


.hero-slide {
    position: absolute;

    inset: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;

    transform: scale(1.02);

    transition:
        opacity .8s ease,
        transform 5s ease;
}


.hero-slide.active {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   FOTO → KREM
========================================================= */

.hero-slides::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            var(--kertas) 0%,
            rgba(247, 244, 236, .96) 5%,
            rgba(247, 244, 236, .68) 13%,
            rgba(247, 244, 236, .22) 24%,
            transparent 39%
        );
}


/* =========================================================
   CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 5;

    width: 49%;

    min-height: 610px;

    padding:
        68px
        38px
        55px
        max(42px, calc((100vw - 1320px) / 2));

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: var(--kertas);
}


/* =========================================================
   EYEBROW
========================================================= */

.hero-eyebrow {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 17px;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .11em;

    color:
        rgba(35, 41, 31, .52);
}


.hero-eyebrow-line {
    width: 32px;

    height: 2px;

    flex: 0 0 auto;

    background: var(--emas);
}


/* =========================================================
   TITLE
========================================================= */

.hero h1 {
    margin: 0;

    max-width: 700px;

    font-family:
        "Fraunces",
        serif;

    font-size:
        clamp(54px, 5.5vw, 78px);

    font-weight: 600;

    line-height: .9;

    letter-spacing: -.045em;

    color: var(--hijau-tua);

    white-space: nowrap;
}


.hero h1 span {
    display: block;

    margin-top: 3px;

    color: var(--emas);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.hero-lede {
    max-width: 550px;

    margin: 23px 0 0;

    font-size: 12px;

    line-height: 1.8;

    color:
        rgba(35, 41, 31, .61);
}


/* =========================================================
   ACTIONS
========================================================= */

.hero-actions {
    display: flex;

    align-items: center;

    gap: 11px;

    flex-wrap: wrap;

    margin-top: 25px;
}


.hero-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    min-height: 47px;

    padding: 0 21px;

    border: 1px solid transparent;

    font-size: 10px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.hero-btn-primary {
    background: var(--hijau-tua);

    color: var(--krem);
}


.hero-btn-primary:hover {
    background: var(--emas);

    color: var(--hijau-tua);

    transform: translateY(-1px);
}


.hero-btn-outline {
    border-color: var(--hijau-tua);

    background: transparent;

    color: var(--hijau-tua);
}


.hero-btn-outline:hover {
    background: var(--hijau-tua);

    color: var(--krem);

    transform: translateY(-1px);
}


.hero-btn > span {
    font-size: 14px;
}


/* =========================================================
   DOTS
========================================================= */

.hero-dots {
    display: flex;

    align-items: center;

    gap: 6px;

    min-height: 7px;

    margin-top: 20px;
}


.hero-dots button {
    width: 22px;
    height: 2px;

    padding: 0;

    border: 0;

    background:
        rgba(35, 41, 31, .16);

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease;
}


.hero-dots button.active {
    width: 38px;

    background: var(--emas);
}


/* =========================================================
   SLOGAN
========================================================= */

.hero-slogan {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 22px;
}


.hero-slogan > span {
    width: 2px;

    height: 34px;

    flex: 0 0 auto;

    background: var(--emas);
}


.hero-slogan small,
.hero-slogan strong {
    display: block;

    font-family:
        "IBM Plex Mono",
        monospace;

    text-transform: uppercase;

    letter-spacing: .08em;
}


.hero-slogan small {
    margin-bottom: 4px;

    font-size: 7px;

    color:
        rgba(35, 41, 31, .43);
}


.hero-slogan strong {
    max-width: 330px;

    font-size: 8px;

    line-height: 1.55;

    font-weight: 500;

    color:
        rgba(35, 41, 31, .55);
}


/* =========================================================
   IMAGE LABEL
========================================================= */

.hero-image-decoration {
    position: absolute;

    right: 20px;
    bottom: 17px;

    z-index: 5;
}


.hero-image-label {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 3px;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 7px;

    text-transform: uppercase;

    letter-spacing: .07em;

    text-align: right;

    color:
        rgba(247, 244, 236, .82);
}


.hero-image-label small {
    color: var(--emas);
}


/* =========================================================
   GREEN CORNER
========================================================= */

.hero-green-corner {
    position: absolute;

    top: 0;
    right: 0;

    z-index: 8;

    width: 290px;
    height: 195px;

    padding:
        34px
        20px
        18px
        72px;

    clip-path:
        polygon(
            25% 0,
            100% 0,
            100% 100%,
            0 40%
        );

    background:
        rgba(20, 71, 57, .97);
}


.hero-green-corner > span {
    display: block;

    width: 38px;

    height: 2px;

    background: var(--emas);
}


.hero-green-corner p {
    max-width: 165px;

    margin: 12px 0 0;

    font-family:
        "Fraunces",
        serif;

    font-size: 14px;

    font-style: italic;

    line-height: 1.3;

    color: var(--krem);
}


/* =========================================================
   STATISTICS
========================================================= */

.hero-stats {
    position: relative;

    z-index: 9;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    background: var(--putih);

    border-top:
        1px solid var(--garis);

    border-bottom:
        1px solid var(--garis);
}


.hero-stat {
    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 112px;

    padding:
        18px 24px;
}


.hero-stat + .hero-stat {
    border-left:
        1px solid var(--garis);
}


/* =========================================================
   STAT ICON
========================================================= */

.hero-stat-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 52px;
    height: 52px;

    flex: 0 0 52px;
}


.hero-icon-green {
    background: var(--hijau-tua);
}


.hero-icon-gold {
    background: #e5bb58;
}


.hero-stat-icon svg {
    width: 24px;
    height: 24px;

    fill: none;

    stroke: var(--krem);

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.hero-stat-content {
    min-width: 0;

    display: flex;

    flex-direction: column;
}


.hero-stat-content > span {
    margin-bottom: 4px;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 7px;

    color: var(--emas);
}


.hero-stat-content strong {
    font-family:
        "Fraunces",
        serif;

    font-size: 27px;

    font-weight: 600;

    line-height: 1;

    color: var(--hijau-tua);
}


.hero-stat-content small {
    margin-top: 5px;

    font-size: 9px;

    color:
        rgba(35, 41, 31, .54);
}


/* =========================================================
   ADMIN
========================================================= */

#heroAdminTools {
    position: absolute;

    z-index: 20;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 700px) {

    .hero {
        position: relative;
        overflow: hidden;
        scroll-margin-top: 0;
    }

    .hero-main {
        position: relative;
        display: block;
        min-height: 720px;
        background: transparent;
    }

    .hero-slides {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        overflow: hidden;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero-slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-position: center top;
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-color: var(--kertas);
    }

    .hero-slides::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
            linear-gradient(
                to bottom,
                transparent 0%,
                transparent 27%,
                rgba(247,244,236,.08) 31%,
                rgba(247,244,236,.55) 37%,
                rgba(247,244,236,.92) 42%,
                var(--kertas) 48%,
                var(--kertas) 100%
            );
    }

    .hero-content {
        position: relative;
        z-index: 5;
        width: 100%;
        min-height: 720px;
        padding: 255px 18px 30px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background: transparent;
    }

    .hero h1 {
        font-size: clamp(44px, 12vw, 59px);
        white-space: normal;
    }

    .hero-lede {
        font-size: 11px;
        line-height: 1.7;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-btn {
        min-height: 45px;
    }

    .hero-green-corner {
        z-index: 8;
        width: 210px;
        height: 160px;
        padding: 28px 12px 17px 54px;
    }

    .hero-green-corner p {
        max-width: 135px;
        font-size: 11px;
    }

    .hero-image-decoration {
        display: none;
    }

    .hero-stats {
        position: relative;
        z-index: 10;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stat {
        min-height: 94px;
        padding: 13px;
    }

    .hero-stat:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--garis);
    }

    .hero-stat:nth-child(4) {
        border-top: 1px solid var(--garis);
    }

    .hero-stat-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .hero-stat-icon svg {
        width: 21px;
        height: 21px;
    }

    .hero-stat-content strong {
        font-size: 21px;
    }
}

@media (max-width: 420px) {

    .hero-main {
        min-height: 690px;
    }

    .hero-content {
        min-height: 690px;
        padding: 235px 15px 27px;
    }

    .hero-green-corner {
        width: 185px;
        height: 140px;
        padding: 25px 10px 14px 48px;
    }

    .hero-green-corner p {
        max-width: 120px;
        font-size: 10px;
    }

    .hero-stat {
        gap: 9px;
        padding: 11px;
    }

    .hero-stat-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .hero-stat-content strong {
        font-size: 19px;
    }

    .hero-stat-content small {
        font-size: 8px;
    }
}