/* =========================================================
   REPRESENTATIVE MESSAGE PAGE
========================================================= */

.message-page {
    background: #08111d;
    color: #eef1f7;
}


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

.message-hero {
    position: relative;

    min-height: min(78svh, 820px);

    display: flex;
    align-items: center;

    overflow: hidden;

    padding:
        clamp(150px, 15vw, 220px)
        0
        clamp(100px, 10vw, 150px);

    background:
        radial-gradient(
            circle at 78% 28%,
            rgba(52, 104, 255, .16),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #08111d 0%,
            #091522 100%
        );
}


.message-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .035) 1px,
            transparent 1px
        );

    background-size: 15vw 100%;

    opacity: .36;
}


.message-hero__inner {
    position: relative;
    z-index: 1;
}


.message-hero__label {
    margin: 0 0 28px;

    color: rgba(238, 241, 247, .58);

    font-size: 11px;
    line-height: 1;
    letter-spacing: .28em;
}


.message-hero__title {
    margin: 0;

    font-size: clamp(48px, 7vw, 112px);
    font-weight: 300;

    line-height: .95;
    letter-spacing: -.055em;
}


.message-hero__lead {
    margin:
        clamp(46px, 6vw, 78px)
        0
        0;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif;

    font-size: clamp(24px, 2.5vw, 42px);
    font-weight: 400;

    line-height: 1.65;
    letter-spacing: .06em;
}


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

.message-content {
    padding:
        clamp(110px, 12vw, 190px)
        0;

    background: #eef0ed;
    color: #18202b;
}


.message-content__layout {
    display: grid;

    grid-template-columns:
        minmax(400px, .8fr)
        minmax(0, 1.2fr);

    gap: clamp(80px, 8vw, 140px);

    align-items: start;
}


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

.message-content__side {
    position: sticky;
    top: 150px;

    padding-top: 10px;
}


.message-content__side-label {
    margin: 0 0 32px;

    color: rgba(24, 32, 43, .48);

    font-size: 10px;
    line-height: 1;
    letter-spacing: .24em;
}


.message-content__statement {
    margin: 0;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif;

    font-size: clamp(25px, 2.25vw, 38px);
    font-weight: 400;

    line-height: 1.75;
    letter-spacing: .025em;

    white-space: nowrap;
}


/* =========================================================
   BODY
========================================================= */

.message-content__body {
    max-width: 850px;

    margin-left: auto;
}


.message-content__body > p {
    margin: 0 0 2.1em;

    color: rgba(24, 32, 43, .82);

    font-size: clamp(15px, 1.12vw, 18px);

    line-height: 2.25;
    letter-spacing: .025em;
}


/* First greeting line - desktop only */

@media (min-width: 901px) {

    .message-content__intro {
        white-space: nowrap;
    }

}


/* =========================================================
   KEYLINE
========================================================= */

.message-content__keyline {
    margin:
        clamp(52px, 6vw, 78px)
        0;

    padding: 28px 0;

    border-top:
        1px solid
        rgba(24, 32, 43, .14);

    border-bottom:
        1px solid
        rgba(24, 32, 43, .14);
}


.message-content__keyline p {
    margin: 0;

    color: rgba(24, 32, 43, .88);

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif;

    font-size: clamp(18px, 1.65vw, 26px);
    font-weight: 400;

    line-height: 1.9;
    letter-spacing: .045em;
}


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

.message-signature {
    margin-top:
        clamp(80px, 10vw, 130px);

    padding-top: 42px;

    border-top:
        1px solid
        rgba(24, 32, 43, .16);

    text-align: right;
}


.message-signature__company {
    margin: 0 0 18px;

    color: rgba(24, 32, 43, .66);

    font-size: 14px;
    letter-spacing: .08em;
}


.message-signature__name {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 26px;

    margin: 0;
}


.message-signature__name span {
    flex: 0 0 auto;

    color: rgba(24, 32, 43, .62);

    font-size: 13px;
    letter-spacing: .12em;

    white-space: nowrap;
}


.message-signature__image {
    display: block;

    width:
    clamp(200px, 200vw, 300px);

    height: auto;

    object-fit: contain;

    transform:
        translateY(-6px);
}


/* =========================================================
   COMPANY LINK
========================================================= */

.message-footer-link {
    padding:
        clamp(80px, 9vw, 130px)
        0;

    background: #08111d;
}


.message-footer-link__anchor {
    position: relative;

    display: grid;

    grid-template-columns:
        1fr
        auto
        auto;

    gap: 32px;

    align-items: center;

    padding: 34px 0;

    color: #eef1f7;

    text-decoration: none;

    border-top:
        1px solid
        rgba(255, 255, 255, .14);

    border-bottom:
        1px solid
        rgba(255, 255, 255, .14);

    transition:
        color .45s ease,
        padding .55s cubic-bezier(.22, 1, .36, 1);
}


.message-footer-link__anchor::before {
    content: "";

    position: absolute;
    inset: 0;

    background: #eef1f7;

    transform: scaleY(0);
    transform-origin: bottom;

    transition:
        transform
        .55s
        cubic-bezier(.22, 1, .36, 1);

    z-index: 0;
}


.message-footer-link__anchor:hover {
    padding-inline: 28px;

    color: #08111d;
}


.message-footer-link__anchor:hover::before {
    transform: scaleY(1);
}


.message-footer-link__label,
.message-footer-link__text,
.message-footer-link__icon {
    position: relative;
    z-index: 1;
}


.message-footer-link__label {
    font-size: 10px;

    letter-spacing: .25em;
}


.message-footer-link__text {
    font-size:
        clamp(18px, 1.5vw, 24px);
}


.message-footer-link__icon {
    font-size: 25px;

    transition:
        transform .45s ease;
}


.message-footer-link__anchor:hover
.message-footer-link__icon {
    transform:
        translate(5px, -5px);
}


/* =========================================================
   ENTRY ANIMATION
========================================================= */

.message-hero__label,
.message-hero__title,
.message-hero__lead {
    opacity: 0;

    transform:
        translateY(32px);

    filter:
        blur(6px);

    animation:
        messageReveal
        1.15s
        cubic-bezier(.22, 1, .36, 1)
        forwards;
}


.message-hero__title {
    animation-delay: .14s;
}


.message-hero__lead {
    animation-delay: .32s;
}


@keyframes messageReveal {

    to {
        opacity: 1;

        transform:
            translateY(0);

        filter:
            blur(0);
    }

}


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

@media (max-width: 900px) {

    .message-hero {
        min-height: 680px;

        padding:
            140px
            0
            100px;
    }


    .message-content__layout {
        grid-template-columns: 1fr;

        gap: 70px;
    }


    .message-content__side {
        position: static;

        max-width: 680px;
    }


    .message-content__statement {
        white-space: normal;
    }


    .message-content__body {
        max-width: none;

        margin-left: 0;
    }


    .message-content__intro {
        white-space: normal;
    }

}


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

@media (max-width: 560px) {

    .message-hero {
        min-height: 610px;

        padding:
            128px
            0
            84px;
    }


    .message-hero__title {
        font-size:
            clamp(46px, 15vw, 66px);
    }


    .message-hero__lead {
        margin-top: 46px;

        font-size:
            clamp(23px, 7vw, 31px);

        line-height: 1.65;
    }


    .message-content {
        padding:
            88px
            0;
    }


    .message-content__layout {
        gap: 58px;
    }


    .message-content__statement {
        font-size: 26px;

        white-space: normal;
    }


    .message-content__body > p {
        font-size: 15px;

        line-height: 2.15;
    }


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

    .message-signature {
        margin-top: 72px;

        padding-top: 32px;

        text-align: right;
    }


    .message-signature__company {
        margin-bottom: 16px;

        font-size: 13px;
    }


    .message-signature__name {
        display: flex;

        align-items: center;
        justify-content: flex-end;

        gap: 14px;
    }


    .message-signature__name span {
        display: block;

        margin: 0;

        font-size: 12px;
    }


    .message-signature__image {
        width: 180px;

        height: auto;

        transform:
            translateY(-4px);
    }


    /* =========================
       COMPANY LINK
    ========================== */

    .message-footer-link {
        padding:
            72px
            0;
    }


    .message-footer-link__anchor {
        grid-template-columns:
            1fr
            auto;

        gap: 14px;

        padding: 28px 0;
    }


    .message-footer-link__label {
        grid-column:
            1 / -1;
    }


    .message-footer-link__anchor:hover {
        padding-inline: 16px;
    }

}


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

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

    .message-hero__label,
    .message-hero__title,
    .message-hero__lead {
        opacity: 1;

        transform: none;

        filter: none;

        animation: none;
    }


    .message-footer-link__anchor,
    .message-footer-link__anchor::before,
    .message-footer-link__icon {
        transition: none;
    }

}