@charset "UTF-8";

.feature-card--interactive {
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card--interactive .feature-card__copy {
    flex: 1;
    padding: 12px clamp(14px, 1.6vw, 20px);
}

.feature-card--interactive .feature-card__summary { margin-top: 5px; }
.feature-card--interactive .feature-card__description { display: none; }

.feature-card__open:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 8px clamp(14px, 1.6vw, 20px);
    border: 0;
    border-top: 1px solid #b78038;
    background: linear-gradient(180deg, #f8d893, #e8b961);
    color: #281807;
    cursor: pointer;
    font: 700 16px/1.25 var(--serif);
    text-align: start;
}

.feature-card__open::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    content: "";
}

.feature-card__open:focus-visible { outline: 0; }
.feature-card__open:focus-visible::after { outline: 3px solid #845920; outline-offset: -4px; }
.feature-card--interactive:is(:hover, :focus-within) .feature-card__open {
    background: linear-gradient(180deg, #ffe5a9, #f2c675);
}

.feature-card__open span {
    color: #603816;
    font: 700 18px/1 var(--sans);
}

html.feature-spotlight-open { overflow: hidden; scrollbar-gutter: stable; }

.feature-spotlight {
    width: min(1500px, calc(100% - 28px));
    max-width: none;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #b38b4d;
    border-radius: 15px;
    background: var(--ink-deep);
    color: var(--cream);
    box-shadow: 0 23px 70px #021215d4, 0 0 0 4px #482a204d;
    scrollbar-color: #986b42 #f4ead7;
}

.feature-spotlight::backdrop {
    background: #021316c9;
    backdrop-filter: blur(3px);
}

.feature-spotlight__toolbar {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    justify-content: flex-end;
    height: 0;
    padding-inline: 12px;
    pointer-events: none;
}

.feature-spotlight__close {
    display: grid;
    place-items: center;
    align-self: flex-start;
    width: 44px;
    height: 44px;
    margin-top: 12px;
    padding: 0 0 3px;
    border: 1px solid #dfb978;
    border-radius: 50%;
    background: #071e21;
    color: var(--cream);
    cursor: pointer;
    font: 27px/1 var(--sans);
    pointer-events: auto;
}

.feature-spotlight__close:hover { background: #22494a; }
.feature-spotlight button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.feature-spotlight__scene {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(225px, 44vw, 335px);
    overflow: hidden;
    border-bottom: 1px solid #9d7745;
    background: var(--ink-deep);
}

.feature-spotlight__scene-art {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--scene-position, 50% 44%);
}

.feature-spotlight[data-feature-spotlight="responsibility"] { --scene-position: 45% 42%; }
.feature-spotlight[data-feature-spotlight="companions"] { --scene-position: 54% 40%; }
.feature-spotlight[data-feature-spotlight="crafting"] { --scene-position: 49% 39%; }
.feature-spotlight[data-feature-spotlight="stewardship"] { --scene-position: 42% 43%; }
.feature-spotlight[data-feature-spotlight="collecting"] { --scene-position: 45% 39%; }
.feature-spotlight[data-feature-spotlight="household"] { --scene-position: 59% 44%; }

.feature-spotlight__scene::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, transparent 49%, #071c1f55 78%, #071a1be0);
    content: "";
}

.feature-spotlight__comic {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    margin: 0 0 0 auto;
    padding: 5px 15px 8px;
}

.feature-spotlight__comic::before {
    position: absolute;
    z-index: -1;
    inset: -39px -38px -15px;
    background: radial-gradient(ellipse at 50% 62%, #06191cee 18%, #06191cbf 43%, #06191c59 62%, transparent 76%);
    pointer-events: none;
    content: "";
}

.feature-spotlight__scene[data-character-side="left"] .feature-spotlight__comic {
    flex-direction: row;
    margin-right: auto;
    margin-left: 0;
}

.feature-spotlight__character {
    flex: 0 0 auto;
    width: clamp(102px, 23vw, 169px);
    height: clamp(105px, 23vw, 162px);
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 0 1px #ffe8b2) drop-shadow(0 0 5px #ffd07cab)
        drop-shadow(0 0 13px #f8b76278) drop-shadow(0 5px 4px #040b0dbb);
}

.feature-spotlight__bubble {
    position: relative;
    width: max-content;
    max-width: 263px;
    min-width: 0;
    margin-bottom: 9px;
    padding: 9px 13px 10px;
    border: 2px solid #3d2d1f;
    border-radius: 18px 19px 17px 15px;
    background: #fff2d5;
    color: #2d2118;
    box-shadow: 0 3px 0 #36241e;
    filter: drop-shadow(0 0 6px #ffd28a70) drop-shadow(0 4px 7px #020e12b3);
    font: italic 600 clamp(13px, 2.1vw, 15px)/1.3 var(--serif);
    text-wrap: pretty;
}

.feature-spotlight__bubble::after {
    position: absolute;
    top: 31%;
    right: -11px;
    width: 16px;
    height: 15px;
    transform: skewY(-19deg) rotate(-45deg);
    border-right: 2px solid #3d2d1f;
    border-bottom: 2px solid #3d2d1f;
    background: #fff2d5;
    content: "";
}

.feature-spotlight__scene[data-character-side="left"] .feature-spotlight__bubble::after {
    right: auto;
    left: -11px;
    transform: scaleX(-1) skewY(-19deg) rotate(-45deg);
}

.feature-spotlight__speaker {
    display: block;
    margin-bottom: 3px;
    color: #713e26;
    font: 800 11px/1.2 var(--sans);
    letter-spacing: .11em;
    text-transform: uppercase;
}

.feature-spotlight__copy {
    display: grid;
    gap: 11px;
    padding: 19px clamp(16px, 4vw, 30px) 20px;
    background: linear-gradient(115deg, #fcf1dc, #f0e1c6);
    color: #302519;
}

.feature-spotlight__copy .eyebrow { color: #76502a; }

.feature-spotlight__copy h2 {
    margin-top: 3px;
    color: #133638;
    font-size: clamp(26px, 5vw, 39px);
    line-height: 1.06;
}

.feature-spotlight__description {
    display: grid;
    gap: 9px;
    max-width: 76ch;
    font-size: clamp(14px, 2.1vw, 15px);
    line-height: 1.5;
    text-wrap: pretty;
}

.feature-spotlight__scripture,
.feature-spotlight__conversion {
    margin: 0;
    padding: 10px 12px;
    border-inline-start: 2px solid #ad7a3f;
    background: #b8803013;
}

.feature-spotlight__scripture blockquote {
    margin: 0 0 5px;
    color: #2d4841;
    font: italic 600 clamp(14px, 2.3vw, 17px)/1.4 var(--serif);
}

.feature-spotlight__scripture figcaption { color: #724d2e; font-size: 12px; font-weight: 700; }
.feature-spotlight__scripture abbr { text-decoration: none; }

.feature-spotlight__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    margin: 0;
    padding: 9px 0 0;
    border-top: 1px solid #a8804a57;
    color: #18494b;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.feature-spotlight__benefits li { display: flex; gap: 5px; align-items: baseline; }
.feature-spotlight__benefits span { color: #875631; }

.feature-spotlight__finance { display: grid; gap: 10px; }
.feature-spotlight__economy-note { color: #51412d; font-size: 13px; line-height: 1.45; }

.feature-spotlight__finance :is(h3, h4) {
    margin: 4px 0 0;
    color: #133638;
    font: 700 19px/1.2 var(--serif);
}

.feature-spotlight__lessons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    margin: 0;
}

.feature-spotlight__lessons > div { padding: 8px 0 10px; border-top: 1px solid #a8804a57; }
.feature-spotlight__lessons dt { margin-bottom: 3px; color: #18494b; font-weight: 750; line-height: 1.25; }
.feature-spotlight__lessons dd { margin: 0; font-size: 13px; line-height: 1.4; }
.feature-spotlight__conversion p { margin-top: 5px; font-size: 13px; line-height: 1.45; }

.feature-spotlight__navigation {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-inline: clamp(13px, 3.4vw, 25px);
    border-top: 1px solid #9d7745;
    background: #0a2b2e;
}

.feature-spotlight__navigation button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    padding: 3px;
    border: 0;
    background: transparent;
    color: var(--cream);
    cursor: pointer;
    font: 700 12px/1.4 var(--sans);
    text-align: start;
}

.feature-spotlight__navigation button:last-child { justify-content: flex-end; text-align: end; }
.feature-spotlight__navigation button:hover { color: var(--gold); }
.feature-spotlight__navigation button:focus-visible { outline-offset: -3px; }
.feature-spotlight__navigation [aria-hidden] { color: var(--gold); font-size: 16px; }

@media (min-width: 1080px) {
    .feature-spotlight[open] {
        display: grid;
        grid-template-columns: minmax(0, 52%) minmax(0, 1fr);
    }

    .feature-spotlight__toolbar,
    .feature-spotlight__navigation { grid-column: 1 / -1; }

    .feature-spotlight__scene {
        /* Reserve 28px of page margin, 2px of dialog border, and 45px for navigation. */
        position: sticky;
        top: 0;
        min-height: min(335px, calc(100vh - 75px));
        min-height: min(335px, calc(100dvh - 75px));
        max-height: calc(100vh - 75px);
        max-height: calc(100dvh - 75px);
        border-inline-end: 1px solid #9d7745;
        border-bottom: 0;
    }

    .feature-spotlight__copy {
        align-content: center;
        padding: 24px clamp(28px, 3vw, 44px);
        padding-inline-end: 66px;
    }
}

@media (max-width: 530px) {
    .feature-spotlight__comic { padding-inline: 9px; }
    .feature-spotlight__bubble { margin-bottom: 3px; padding: 7px 9px 8px; }
}

@media (max-width: 470px) {
    .feature-spotlight__lessons { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 370px) {
    .feature-spotlight__scene { min-height: 209px; }
    .feature-spotlight__copy { gap: 9px; padding-block: 15px; }
    .feature-spotlight__character { width: 88px; }
    .feature-spotlight__navigation button { flex: 1; }
}
