/* ==========================================================
   EDITORIAL HERO — FULL RESPONSIVE VERSION
   Desktop / Laptop / Tablet / Mobile
   ========================================================== */

.editorial-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-height: calc(100svh - 88px);

    display: flex;
    align-items: stretch;

    background: #f0efe8;
    color: #252c22;
}

/* Background */
.editorial-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background: radial-gradient(
        ellipse at 50% 58%,
        rgba(222, 230, 207, 0.5),
        transparent 65%
    );

    pointer-events: none;
}


/* ==========================================================
   HERO INNER CONTAINER
   ========================================================== */

.editorial-hero .editorial-inner {
    width: 100%;
    max-width: 1400px;
    min-height: calc(100svh - 88px);

    margin: 0 auto;

    padding:
        30px
        clamp(24px, 4vw, 64px)
        26px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;
}


/* ==========================================================
   TOP TEXT
   ========================================================== */

.editorial-heading {
    width: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin: 0;
    padding: 0;

    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.17em;

    color: #5b6650;
}

.editorial-heading span {
    display: block;
}

.editorial-heading span:last-child {
    text-align: right;
}


/* ==========================================================
   CENTER CONTENT
   ========================================================== */

.editorial-content {
    width: 100%;

    margin: auto 0;

    padding: clamp(55px, 8vh, 100px) 0;

    position: relative;

    text-align: center;
}


/* Eyebrow */

.editorial-eyebrow {
    width: 100%;

    margin: 0 auto 31px;

    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.23em;

    text-align: center;

    color: #60724c;
}


/* ==========================================================
   MAIN TITLE
   ========================================================== */

.editorial-content h1 {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto 28px;
    padding: 0;

    font-size: clamp(52px, 7vw, 102px);
    font-weight: 500;

    line-height: 1.05;
    letter-spacing: -0.06em;

    text-align: center;

    color: #232c1d;
}

.editorial-content h1 span {
    font-weight: 800;
    color: #6a7d53;
}


/* ==========================================================
   DESCRIPTION
   ========================================================== */

.editorial-description {
    width: 100%;
    max-width: 530px;

    margin: 0 auto 32px;

    font-size: 16px;
    line-height: 1.8;

    text-align: center;

    color: #59634f;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.editorial-actions {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 18px 30px;
}

.editorial-primary {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 37px;

    padding: 15px 25px;

    border-radius: 40px;

    background: #293720;
    color: #f2f6e9;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.editorial-primary:hover {
    background: #405532;
    color: #fff;

    transform: translateY(-2px);
}

.editorial-secondary {
    min-height: 48px;

    display: inline-flex;
    align-items: center;

    gap: 18px;

    border-bottom: 1px solid #a8b298;

    color: #3e4e30;

    font-size: 12px;

    white-space: nowrap;
}

.editorial-secondary:hover {
    color: #1b2e12;
    border-color: #3e4e30;
}


/* ==========================================================
   BOTTOM INFORMATION
   ========================================================== */

.editorial-footer {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        44px
        minmax(0, 1fr);

    align-items: center;

    gap: 25px;

    margin: 0;

    padding-top: 23px;

    border-top: 1px solid #cbd1c2;

    color: #6b755f;

    font-size: 9px;
    line-height: 1.9;
    letter-spacing: 0.1em;
}

.editorial-footer > span {
    min-width: 0;
}

.editorial-footer strong {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;

    color: #48573a;
}

.editorial-discipline {
    text-align: right;
}


/* Scroll button */

.editorial-scroll {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    justify-self: center;

    border: 1px solid #acb89e;
    border-radius: 50%;

    color: #4d633a;

    font-size: 21px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.editorial-scroll:hover {
    background: #dde5d1;
    color: #27391c;
}


/* ==========================================================
   FOCUS
   ========================================================== */

.editorial-hero a:focus-visible {
    outline: 2px solid #385624;
    outline-offset: 5px;
}


/* ==========================================================
   LARGE DESKTOP — 1600px+
   ========================================================== */

@media (min-width: 1600px) {

    .editorial-hero {
        min-height: 850px;
    }

    .editorial-hero .editorial-inner {
        min-height: 850px;
    }

    .editorial-content {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}


/* ==========================================================
   LAPTOP — 992px to 1199px
   ========================================================== */

@media (max-width: 1199.98px) {

    .editorial-hero .editorial-inner {
        padding-left: 36px;
        padding-right: 36px;
    }

    .editorial-content {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .editorial-content h1 {
        max-width: 850px;

        font-size: clamp(54px, 7.5vw, 78px);
    }

    .editorial-description {
        font-size: 15px;
    }
}


/* ==========================================================
   TABLET — 768px to 991px
   ========================================================== */

@media (max-width: 991.98px) {

    .editorial-hero {
        min-height: calc(100svh - 76px);
    }

    .editorial-hero .editorial-inner {
        min-height: calc(100svh - 76px);

        padding:
            26px
            28px
            24px;
    }

    .editorial-heading {
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .editorial-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .editorial-eyebrow {
        margin-bottom: 25px;

        font-size: 9px;
        letter-spacing: 0.17em;
    }

    .editorial-content h1 {
        max-width: 750px;

        margin-bottom: 26px;

        font-size: clamp(48px, 8vw, 68px);
        line-height: 1.08;
    }

    .editorial-description {
        max-width: 480px;

        font-size: 15px;
    }
}


/* ==========================================================
   MOBILE — <= 767px
   ========================================================== */

@media (max-width: 767.98px) {

    .editorial-hero {
        /*
         * Don't force 100vh on mobile.
         * Content determines the required height.
         */
        min-height: auto;
    }

    .editorial-hero .editorial-inner {
        width: 100%;
        max-width: none;

        min-height: auto;

        margin: 0;

        padding:
            22px
            20px
            22px;
    }

    /* ---------- top labels ---------- */

    .editorial-heading {
        gap: 15px;

        font-size: 8px;
        line-height: 1.4;
        letter-spacing: 0.08em;
    }

    .editorial-heading span {
        width: 50%;
    }

    .editorial-heading span:last-child {
        text-align: right;
    }


    /* ---------- main content ---------- */

    .editorial-content {
        width: 100%;

        margin: 0;

        padding-top: 60px;
        padding-bottom: 52px;
    }

    .editorial-eyebrow {
        max-width: 100%;

        margin: 0 auto 21px;

        font-size: 8px;
        line-height: 1.5;
        letter-spacing: 0.12em;

        text-align: center;
    }


    /* ---------- title ---------- */

    .editorial-content h1 {
        width: 100%;
        max-width: 520px;

        margin: 0 auto 24px;

        font-size: clamp(40px, 10.5vw, 58px);

        line-height: 1.06;
        letter-spacing: -0.05em;

        text-align: center;
    }

    .editorial-content h1 br {
        display: block;
    }


    /* ---------- description ---------- */

    .editorial-description {
        width: 100%;
        max-width: 370px;

        margin: 0 auto 29px;

        font-size: 14px;
        line-height: 1.7;

        text-align: center;
    }

    .editorial-break {
        display: none;
    }


    /* ---------- buttons ---------- */

    .editorial-actions {
        width: 100%;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 13px;
    }

    .editorial-primary {
        width: auto;
        min-width: 230px;

        min-height: 50px;

        gap: 30px;

        padding: 13px 22px;

        font-size: 11px;
    }

    .editorial-secondary {
        min-height: 42px;

        font-size: 11px;
    }


    /* ---------- footer ---------- */

    .editorial-footer {
        grid-template-columns:
            minmax(0, 1fr)
            42px;

        gap: 15px;

        padding-top: 19px;

        font-size: 8px;
        line-height: 1.65;
    }

    .editorial-footer strong {
        display: block;

        margin-top: 2px;

        font-size: 10px;
        line-height: 1.45;
    }

    .editorial-discipline {
        display: none;
    }

    .editorial-scroll {
        width: 42px;
        height: 42px;

        justify-self: end;

        font-size: 18px;
    }
}


/* ==========================================================
   SMALL MOBILE — <= 480px
   ========================================================== */

@media (max-width: 480px) {

    .editorial-hero .editorial-inner {
        padding:
            20px
            18px
            20px;
    }

    .editorial-heading {
        font-size: 7px;
    }

    .editorial-content {
        padding-top: 52px;
        padding-bottom: 46px;
    }

    .editorial-eyebrow {
        margin-bottom: 19px;

        font-size: 7.5px;
    }

    .editorial-content h1 {
        max-width: 400px;

        margin-bottom: 22px;

        font-size: clamp(38px, 11vw, 50px);

        line-height: 1.06;
    }

    .editorial-description {
        max-width: 335px;

        margin-bottom: 26px;

        font-size: 13.5px;
    }

    .editorial-primary {
        min-width: 225px;
    }
}


/* ==========================================================
   VERY SMALL MOBILE — <= 360px
   ========================================================== */

@media (max-width: 360px) {

    .editorial-hero .editorial-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .editorial-heading {
        font-size: 6.5px;
    }

    .editorial-content {
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .editorial-content h1 {
        font-size: 36px;
    }

    .editorial-description {
        max-width: 300px;

        font-size: 13px;
    }

    .editorial-primary {
        width: 100%;
        max-width: 270px;
    }
}


/* ==========================================================
   SHORT LAPTOP / LANDSCAPE SCREEN
   ========================================================== */

@media (min-width: 768px) and (max-height: 700px) {

    .editorial-hero,
    .editorial-hero .editorial-inner {
        min-height: auto;
    }

    .editorial-content {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .editorial-content h1 {
        font-size: clamp(48px, 6vw, 72px);
    }

    .editorial-eyebrow {
        margin-bottom: 20px;
    }

    .editorial-description {
        margin-bottom: 24px;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .editorial-primary,
    .editorial-scroll {
        transition: none;
    }

    .editorial-primary:hover {
        transform: none;
    }
}