/* Homepage presentation invitation; all styles stay within this section. */
.presentation-entry {
    --entry-paper: #f5f5ec;
    --entry-forest: var(--cb-brand-900, #063b2c);
    --entry-ink: var(--cb-text, #102a21);
    --entry-lime: var(--cb-accent, #c8f36e);
    --entry-ease: cubic-bezier(.2, .8, .2, 1);
    padding: clamp(56px, 7vw, 104px) 0;
    background: var(--entry-paper);
    border-bottom: 1px solid var(--cb-border, #d5e4da);
    color: var(--entry-ink);
    scroll-margin-top: 110px;
}

.presentation-entry-layout {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: center;
    gap: clamp(32px, 6vw, 88px);
}

.presentation-entry-copy {
    min-width: 0;
}

.presentation-entry-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 23px;
    color: var(--entry-forest);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.presentation-entry-eyebrow > span {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: var(--entry-forest);
    border-radius: 50%;
}

.presentation-entry h2 {
    margin: 0 0 22px;
    color: var(--entry-forest);
    font-family: var(--cb-font-display);
    font-size: clamp(42px, 4.4vw, 64px);
    font-weight: 650;
    line-height: 1.07;
    letter-spacing: -.055em;
}

.presentation-entry-lede {
    margin: 0 0 12px;
    font-size: clamp(19px, 1.8vw, 22px);
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.5;
}

.presentation-entry-description {
    max-width: 43ch;
    margin: 0;
    color: var(--cb-text-secondary, #496258);
    font-size: 18px;
    line-height: 1.75;
}

.presentation-entry-cta {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    max-width: 100%;
    margin-top: 28px;
    padding: 15px 21px;
    border: 1px solid var(--entry-forest);
    border-radius: 6px;
    background: var(--entry-forest);
    color: var(--cb-on-brand, #f7fff2);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.5;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 220ms var(--entry-ease);
}

.presentation-entry-cta svg {
    flex: 0 0 auto;
    color: var(--entry-lime);
    transition: transform 220ms var(--entry-ease);
}

.presentation-entry-note {
    margin-top: 12px;
    color: var(--cb-text-secondary, #496258);
    font-size: 14px;
    line-height: 1.6;
}

.presentation-entry-preview {
    position: relative;
    display: block;
    min-width: 0;
    margin: 20px 12px 20px 0;
    isolation: isolate;
    border-radius: 12px;
    cursor: pointer;
    touch-action: manipulation;
    perspective: 1100px;
}

.presentation-entry-preview::before {
    content: "";
    position: absolute;
    inset: 12% 4% -5%;
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 72%, rgba(6, 59, 44, .16), transparent 69%);
    transform: translateY(20px) scale(.94);
    pointer-events: none;
}

.presentation-entry-scene {
    position: relative;
    display: block;
    border-radius: inherit;
    transform-style: preserve-3d;
    transform: rotateX(5deg) rotateY(-7deg);
    transition: transform 300ms var(--entry-ease);
}

html.depth-enabled .presentation-entry-scene {
    transform: rotateX(calc(5deg + var(--depth-rx, 0deg))) rotateY(calc(-7deg + var(--depth-ry, 0deg))) translateY(var(--entry-lift, 0px));
}

html.depth-enabled .presentation-entry-scene.is-depth-active {
    transition-duration: 90ms;
    will-change: transform;
}

.presentation-entry-sheet {
    position: absolute;
    inset: 0;
    border: 1px solid #becdb6;
    border-radius: inherit;
    pointer-events: none;
    transition: transform 280ms var(--entry-ease);
}

.presentation-entry-sheet-back {
    background: #dce8d3;
    transform: translate3d(9px, 10px, -32px) rotate(5deg);
}

.presentation-entry-sheet-middle {
    background: var(--entry-lime);
    transform: translate3d(4px, 5px, -14px) rotate(-3deg);
}

.presentation-entry-cover {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(247, 255, 242, .14);
    border-radius: inherit;
    background: var(--entry-forest);
    color: var(--cb-on-brand, #f7fff2);
    box-shadow: 0 3px 0 #032b20, 0 8px 0 -3px #345c40, 0 26px 46px -22px rgba(2, 26, 19, .55);
    transform-style: preserve-3d;
    transform: translateZ(8px);
}

.presentation-entry-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(125deg, transparent 15%, rgba(233, 255, 207, .1) 46%, transparent 74%);
    opacity: .25;
    pointer-events: none;
    transform: translateZ(1px);
    transition: opacity 260ms var(--entry-ease);
}

.presentation-entry-cover-top,
.presentation-entry-cover-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    transform: translateZ(18px);
}

.presentation-entry-cover-top > span:first-child {
    font-family: var(--cb-font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: 1;
}

.presentation-entry-brand-dot {
    color: var(--entry-lime);
}

.presentation-entry-cover-top > span:last-child {
    color: #d5e6d7;
    font-size: 13px;
    font-weight: 550;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.presentation-entry-cover-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, .9fr);
    align-items: center;
    gap: 12px;
    flex: 1 0 auto;
    padding: 36px 0;
    transform-style: preserve-3d;
}

.presentation-entry-cover-title {
    font-family: var(--cb-font-display);
    font-size: clamp(28px, 3.1vw, 45px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.045em;
    transform: translateZ(24px);
}

.presentation-entry-cover-title em {
    color: var(--entry-lime);
    font-style: normal;
}

.presentation-entry-cover-body img {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-left: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 14px rgba(0, 15, 10, .32));
    transform: translate3d(0, 0, 65px) rotate(-4deg);
    transition: transform 300ms var(--entry-ease);
}

.presentation-entry-cover-bottom {
    padding-top: 17px;
    border-top: 1px solid rgba(247, 255, 242, .22);
    font-size: 14px;
    line-height: 1.5;
}

.presentation-entry-cover-bottom > span:first-child {
    color: #d5e6d7;
}

.presentation-entry-open {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--entry-lime);
    font-weight: 650;
}

.presentation-entry-open svg {
    transition: transform 220ms var(--entry-ease);
}

.presentation-entry-cta:focus-visible,
.presentation-entry-preview:focus-visible {
    outline: 3px solid var(--entry-forest);
    outline-offset: 7px;
}

.presentation-entry-preview:focus-visible .presentation-entry-cover::after {
    opacity: 1;
}

html.depth-enabled .presentation-entry-preview:focus-visible .presentation-entry-scene {
    --entry-lift: -5px;
}

@media (hover: hover) and (pointer: fine) {
    .presentation-entry-cta:hover {
        transform: translateY(-2px);
    }

    .presentation-entry-cta:hover svg {
        transform: translateX(3px);
    }

    html.depth-enabled .presentation-entry-preview:hover .presentation-entry-scene {
        --entry-lift: -7px;
    }

    html.depth-enabled .presentation-entry-preview:hover .presentation-entry-sheet-back {
        transform: translate3d(13px, 13px, -38px) rotate(6deg);
    }

    html.depth-enabled .presentation-entry-preview:hover .presentation-entry-sheet-middle {
        transform: translate3d(1px, 8px, -18px) rotate(-4deg);
    }

    html.depth-enabled .presentation-entry-preview:hover .presentation-entry-cover-body img {
        transform: translate3d(0, -5px, 88px) rotate(0deg);
    }

    .presentation-entry-preview:hover .presentation-entry-cover::after {
        opacity: 1;
    }

    html.depth-enabled .presentation-entry-preview:hover .presentation-entry-open svg {
        transform: translate(2px, -2px);
    }
}

.presentation-entry-cta:active {
    transform: scale(.985);
}

html.depth-enabled .presentation-entry-preview:active .presentation-entry-scene {
    transform: rotateX(1deg) rotateY(-2deg) scale(.985);
    transition-duration: 110ms;
}

.presentation-entry-preview:active .presentation-entry-cover::after {
    opacity: 1;
}

@media (max-width: 760px) {
    .presentation-entry-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        max-width: 560px;
    }

    .presentation-entry h2 {
        font-size: clamp(40px, 8vw, 56px);
    }

    .presentation-entry-preview {
        margin: 8px 10px 12px 5px;
    }

    .presentation-entry-cover {
        min-height: 300px;
    }

    .presentation-entry-cover-title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .presentation-entry-scene {
        transform: rotateX(3deg) rotateY(-4deg);
    }

    html.depth-enabled .presentation-entry-scene {
        transform: rotateX(calc(3deg + var(--depth-rx, 0deg))) rotateY(calc(-4deg + var(--depth-ry, 0deg)));
    }

    .presentation-entry-cover-body img {
        transform: translateZ(30px);
    }
}

@media (max-width: 380px) {
    .presentation-entry-cover {
        padding: 20px;
    }

    .presentation-entry-cover-top > span:last-child {
        font-size: 12px;
    }

    .presentation-entry-cover-body {
        gap: 4px;
        grid-template-columns: minmax(0, 1.2fr) minmax(64px, .8fr);
    }

    .presentation-entry-cover-title {
        font-size: 28px;
    }

    .presentation-entry-cta {
        gap: 12px;
        padding-inline: 17px;
    }
}

html.depth-disabled .presentation-entry-preview,
html.depth-disabled .presentation-entry-scene,
html.depth-disabled .presentation-entry-cover,
html.depth-disabled .presentation-entry-cover-top,
html.depth-disabled .presentation-entry-cover-bottom,
html.depth-disabled .presentation-entry-cover-title,
html.depth-disabled .presentation-entry-cover-body img,
html.depth-disabled .presentation-entry-open svg {
    transform: none;
    transition: none;
}

html.depth-disabled .presentation-entry-cta,
html.depth-disabled .presentation-entry-cta svg {
    transform: none;
    transition: none;
}

html.depth-disabled .presentation-entry-cover::after,
html.depth-disabled .presentation-entry-sheet {
    transition: none;
}

html.depth-disabled .presentation-entry-preview {
    perspective: none;
}

html.depth-disabled .presentation-entry-scene {
    transform-style: flat;
}

@media (prefers-reduced-motion: reduce) {
    .presentation-entry-preview {
        perspective: none;
    }

    .presentation-entry-scene {
        transform-style: flat;
    }

    .presentation-entry-cta,
    .presentation-entry-cta svg,
    .presentation-entry-preview,
    .presentation-entry-scene,
    .presentation-entry-sheet,
    .presentation-entry-cover::after,
    .presentation-entry-cover-body img,
    .presentation-entry-open svg {
        transition: none;
    }

    .presentation-entry-cta:hover,
    .presentation-entry-cta:hover svg,
    .presentation-entry-cta:active,
    .presentation-entry-preview:hover,
    .presentation-entry-preview:active {
        transform: none;
    }

    .presentation-entry-scene,
    html.depth-enabled .presentation-entry-scene,
    html.depth-enabled .presentation-entry-preview:active .presentation-entry-scene,
    .presentation-entry-cover,
    .presentation-entry-cover-top,
    .presentation-entry-cover-bottom,
    .presentation-entry-cover-title,
    .presentation-entry-cover-body img,
    html.depth-enabled .presentation-entry-preview:hover .presentation-entry-cover-body img,
    html.depth-enabled .presentation-entry-preview:hover .presentation-entry-open svg {
        transform: none;
    }

    html.depth-enabled .presentation-entry-preview:hover .presentation-entry-sheet-back {
        transform: translate3d(9px, 10px, -32px) rotate(5deg);
    }

    html.depth-enabled .presentation-entry-preview:hover .presentation-entry-sheet-middle {
        transform: translate3d(4px, 5px, -14px) rotate(-3deg);
    }
}
