/* Cover redesign: "The little things" utility panel + hero refinements.
   Scoped to .ja-lt / .ja-home-spread-cover so nothing else on the site is affected. */

.ja-home-spread-cover {
    --lt-paper: #fffdf8; --lt-ink: #2d2722; --lt-line: #e7d9c4; --lt-orange: #b96336;
    /* Three faded tones sampled from the chapter tabs above the spread
       (amber / blush / sage), mixed back toward paper so nothing shouts. */
    --lt-tint-amber: #fbf1de;
    --lt-tint-blush: #f9eee9;
    --lt-tint-sage:  #f1f5eb;
}

/* ---------- Hero (right page, upper half) ----------
   Layout and scale live in the desktop section below. */
.ja-home-spread-cover h1 { text-shadow: 0 1px 0 #fff9ef; }
.ja-home-spread-art > p { letter-spacing: -.01em; }

/* ---------- Panel shell ---------- */
.ja-lt {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    padding: 0 clamp(12px, 2vw, 27px) clamp(14px, 2vw, 22px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
}
.ja-lt-deco {
    display: none;
    pointer-events: none;
}
#main .ja-home-spread-cover:has(.ja-lt) > [data-home-cover-content] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}
#main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-art {
    flex: 0 0 auto;
    min-height: clamp(210px, 34vh, 340px);
}
@media (max-width: 800px) {
    #main .ja-home-spread-cover:has(.ja-lt) > [data-home-cover-content] { display: block; height: auto; }
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-art { min-height: clamp(300px, 68vw, 480px); }
    .ja-lt { overflow: visible; }
    /* Let the cover grow instead of clipping the utility panel. */
    #main .ja-home-spread-cover:has(.ja-lt) {
        height: auto;
        min-height: 0;
        overflow: visible;
        grid-template-rows: auto;
    }
}
.ja-lt-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: clamp(12px, 1.6vw, 20px) 0 clamp(10px, 1.4vw, 16px);
    border-top: 1px solid #ebdfcf;
}
.ja-lt-heading-copy h2 {
    margin: 0;
    font: 600 clamp(24px, 2.5vw, 40px)/1 var(--serif);
    letter-spacing: -.02em;
    color: var(--lt-ink);
}
.ja-lt-heading-copy p { margin: 5px 0 0; font-size: clamp(11px, .95vw, 13px); color: #7a6853; }
.ja-lt-date { flex: none; text-align: right; padding-top: 4px; }
.ja-lt-date strong { display: block; font: 600 11px/1.5 var(--body); letter-spacing: .06em; color: var(--lt-ink); }
.ja-lt-date span { display: block; font: 700 9px/1.5 var(--body); letter-spacing: .16em; color: #9b836a; }

/* ---------- Grid ---------- */
.ja-lt-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(0, auto);
    align-items: stretch;
    gap: clamp(7px, .8vw, 11px);
}
.ja-lt-radio    { grid-column: span 3; }
.ja-lt-ritual   { grid-column: span 3; }
.ja-lt-calendar { grid-column: span 2; }
.ja-lt-tarot   { grid-column: span 2; }
.ja-lt-explore  { grid-column: span 2; }

.ja-lt-card {
    position: relative;
    min-width: 0;
    padding: clamp(9px, 1.1vw, 14px);
    border: 1px solid var(--lt-line);
    border-radius: 14px;
    background: var(--lt-paper);
    box-shadow: 0 2px 6px #59472f0d;
}
.ja-lt-card-title {
    display: block;
    font: 600 clamp(15px, 1.5vw, 21px)/1.15 var(--serif);
    letter-spacing: -.01em;
    color: var(--lt-ink);
}
.ja-lt-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }

/* ---------- Aurora Radio ---------- */
.ja-lt-radio {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.1vw, 14px);
    background: var(--lt-tint-amber);
    border-color: #eddbbc;
}
.ja-lt-vinyl {
    flex: none;
    width: clamp(56px, 6.5vw, 84px);
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.ja-lt-vinyl-disc {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #221f1c;
    box-shadow: inset 0 0 0 1px #00000022, 0 3px 8px #3b2c1f30;
}
.ja-lt-vinyl-art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.ja-lt-radio-body { flex: 1 1 auto; min-width: 0; }
.ja-lt-radio-body > small { display: block; margin-top: 2px; font-size: clamp(9px, .8vw, 11px); color: #8a6c4c; }
.ja-lt-radio-controls { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.ja-lt-radio-controls button {
    display: grid;
    place-items: center;
    width: clamp(26px, 2.4vw, 33px);
    aspect-ratio: 1;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff9ef;
    color: #5f4330;
    font-size: 16px;
    cursor: pointer;
}
.ja-lt-radio-controls button:nth-child(2) { background: #3b2f26; color: #fff9ef; }
.ja-lt-radio-controls button:hover { filter: brightness(.94); }
.ja-lt-wave { display: flex; align-items: center; gap: 2px; height: 18px; margin-left: auto; overflow: hidden; }
.ja-lt-wave i { width: 2px; height: 30%; border-radius: 2px; background: #c39a6a; }
.ja-lt-wave i:nth-child(3n)   { height: 75%; }
.ja-lt-wave i:nth-child(4n)   { height: 50%; }
.ja-lt-wave i:nth-child(5n)   { height: 95%; }
.ja-lt-wave i:nth-child(7n)   { height: 40%; }
/* Idle radio: flat, muted bars. Nothing animates until audio is really playing. */
.ja-lt-radio:not(.is-playing) .ja-lt-wave i { height: 24%; opacity: .5; }
[data-lt-radio-toggle] .ri-play-line { transform: translateX(1px); }
.ja-lt-heart {
    position: absolute;
    top: clamp(8px, 1vw, 12px);
    right: clamp(8px, 1vw, 12px);
    padding: 0;
    border: 0;
    background: transparent;
    color: #b9906a;
    font-size: 16px;
    cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
    .ja-lt-radio.is-playing .ja-lt-wave i { animation: ja-lt-wave 1.1s ease-in-out infinite alternate; }
    .ja-lt-radio.is-playing .ja-lt-wave i:nth-child(2n) { animation-delay: -.4s; }
    .ja-lt-radio.is-playing .ja-lt-wave i:nth-child(3n) { animation-delay: -.75s; }
}
@media (prefers-reduced-motion: no-preference) {
    .ja-lt-vinyl-disc { animation: ja-lt-spin 12s linear infinite paused; }
    .ja-lt-radio.is-playing .ja-lt-vinyl-disc { animation-play-state: running; }
}
@keyframes ja-lt-wave { from { transform: scaleY(.5); } to { transform: scaleY(1.15); } }
@keyframes ja-lt-spin { to { transform: rotate(360deg); } }

/* ---------- Today's Ritual ---------- */
.ja-lt-ritual { background: var(--lt-tint-blush); border-color: #efdcd2; }
.ja-lt-ritual-count {
    flex: none;
    padding: 2px 7px;
    border-radius: 20px;
    background: #eee6d6;
    font: 700 10px/1.5 var(--body);
    color: #6d5640;
}
.ja-lt-ritual-list { list-style: none; margin: 9px 0 0; padding: 0; }
.ja-lt-ritual-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 5px 0;
    border-top: 1px dashed #e9dcc9;
}
.ja-lt-check {
    flex: none;
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1.5px solid #c9b393;
    border-radius: 4px;
    background: #fffdf8;
    color: transparent;
    font-size: 12px;
    cursor: pointer;
}
.ja-lt-ritual-list li.is-done .ja-lt-check { background: #7c8f5f; border-color: #7c8f5f; color: #fff; }
.ja-lt-ritual-list li.is-done a { text-decoration: line-through; color: #a3927d; }
.ja-lt-ritual-list a {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(10px, .9vw, 12px);
    color: #4d3f31;
    text-decoration: none;
}
.ja-lt-ritual-list a:hover { color: var(--lt-orange); }
.ja-lt-ritual-arrow { flex: none; font-size: 14px; color: #c0a988; }

/* ---------- Calendar ---------- */
.ja-lt-calendar { overflow: hidden; }
.ja-lt-cal-nav { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; color: #8a7259; font-size: 16px; text-decoration: none; }
.ja-lt-cal-nav:hover { background: #f2e8d8; color: var(--lt-orange); }
.ja-lt-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px 2px; margin-top: 8px; }
.ja-lt-cal-dow { text-align: center; font: 700 8px/1.6 var(--body); color: #a48c71; }
.ja-lt-cal-day, .ja-lt-cal-empty { display: grid; place-items: center; aspect-ratio: 1; font: 500 9px/1 var(--body); }
.ja-lt-cal-day { position: relative; isolation: isolate; color: #5a4939; text-decoration: none; }
/* Date cells are short, wide grid rows, so a border-radius on the cell itself
   renders as an ellipse. Draw the highlight from the row height instead to
   keep today's marker a true circle at every screen size. */
.ja-lt-cal-day::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    height: 120%;
    aspect-ratio: 1;
    max-width: 100%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: transparent;
    transition: background .18s ease;
}
.ja-lt-cal-day:hover::before { background: #f2e8d8; }
.ja-lt-cal-day.is-today { color: #fff; font-weight: 700; }
.ja-lt-cal-day.is-today::before { background: #7c8f5f; }
.ja-lt-cal-day.is-today:hover::before { background: #6f8354; }
.ja-lt-cal-cat { position: absolute; right: -6px; bottom: -10px; width: clamp(34px, 4vw, 54px); opacity: .5; pointer-events: none; }

/* ---------- Tarot ----------
   The artwork is a transparent PNG (black cards + a handwritten note), so the
   card stays warm paper instead of showing a white rectangle behind it. */
.ja-lt-tarot { background: var(--lt-tint-amber); border-color: #e8d6b7; }
.ja-lt-tarot-tag {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 20px;
    background: #efe2c8;
    font: 700 9px/1.5 var(--body);
    color: #7a5c3c;
    text-decoration: none;
    white-space: nowrap;
}
.ja-lt-tarot-tag:hover { background: #e7d2ad; color: #5b4127; }
.ja-lt-tarot-tag i { font-size: 12px; }
.ja-lt-tarot-art {
    position: relative;
    display: block;
    margin-top: 6px;
    border-radius: 9px;
    overflow: hidden;
    text-decoration: none;
}
.ja-lt-tarot-art img { display: block; width: 100%; height: auto; }
/* Hover brightens instead of moving, so the artwork is never clipped. */
.ja-lt-tarot-art:hover img { filter: brightness(1.04); }
@media (prefers-reduced-motion: no-preference) {
    .ja-lt-tarot-art img { transition: filter .22s ease; }
}

/* ---------- Quick Explore ---------- */
.ja-lt-explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(4px, .5vw, 7px); margin-top: 9px; }
.ja-lt-explore-grid a {
    display: grid;
    place-items: center;
    gap: 2px;
    min-width: 0;
    padding: 6px 2px;
    border: 1px solid #efe4d2;
    border-radius: 10px;
    /* One tone per column: blush / amber / sage. Three colors in total,
       repeated by row so the grid reads calm rather than confetti. */
    background: var(--lt-tint-blush);
    text-decoration: none;
}
.ja-lt-explore-grid a:nth-child(3n+2) { background: var(--lt-tint-amber); }
.ja-lt-explore-grid a:nth-child(3n+3) { background: var(--lt-tint-sage); }
.ja-lt-explore-grid a:hover { transform: translateY(-2px); border-color: #d9c4a4; }
.ja-lt-explore-icon { display: grid; place-items: center; width: clamp(22px, 2.4vw, 30px); height: clamp(22px, 2.4vw, 30px); }
.ja-lt-explore-icon img { width: 100%; height: 100%; object-fit: contain; }
.ja-lt-explore-grid small { font: 600 clamp(8px, .72vw, 10px)/1.2 var(--body); color: #5a4939; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
    .ja-lt-explore-grid a { transition: transform .18s ease, border-color .18s ease; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .ja-lt-radio, .ja-lt-ritual { grid-column: span 3; }
    .ja-lt-calendar, .ja-lt-tarot { grid-column: span 3; }
    .ja-lt-explore { grid-column: span 6; }
}
@media (max-width: 800px) {
    /* On phones, show the redesigned cover (hero + utility cards) before the long article feed. */
    #main .ja-home-spread { display: grid; grid-template-columns: minmax(0, 1fr); }
    #main .ja-home-spread-cover { order: -1; margin: 0 0 12px; min-width: 0; }
    #main .ja-home-spread-reading { order: 0; min-width: 0; }
    #main .ja-home-spread > .ja-home-spread-binding,
    #main .ja-home-spread > .ja-home-page-tabs { display: none; }
}
@media (max-width: 800px) {
    .ja-lt { overflow-x: clip; }
    .ja-lt-grid { width: 100%; }
    .ja-lt-card { box-sizing: border-box; max-width: 100%; overflow: hidden; }
    .ja-lt-cal-day, .ja-lt-cal-empty { aspect-ratio: auto; height: 22px; font-size: 10px; }
    .ja-lt-cal-grid { gap: 2px; width: 100%; }
    .ja-lt-wave { flex: 0 1 90px; min-width: 0; max-width: 90px; }
    .ja-lt-cal-cat { opacity: .35; }
    .ja-lt-radio-body { min-width: 0; }
}
@media (max-width: 800px) {
    #main .ja-home-spread-cover:has(.ja-lt) { box-sizing: border-box; width: 100%; }
    .ja-lt, .ja-lt-grid { box-sizing: border-box; width: 100%; max-width: 100%; }
    .ja-lt-grid { grid-template-columns: minmax(0, 1fr); }
    .ja-lt-grid > * { grid-column: 1 / -1; }
    .ja-lt-explore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .ja-lt-heading { flex-direction: column; gap: 4px; }
    .ja-lt-date { text-align: left; }
    .ja-lt-date strong, .ja-lt-date span { display: inline; }
    .ja-lt-vinyl { width: 62px; }
    .ja-lt-wave { max-width: 70px; }
}

/* ---------- Desktop: match the reference composition ----------
   Hero 42% / warm utility panel 58%; the panel and its cards grow to fill
   the page instead of collapsing into a thin strip with dead space below. */
@media (min-width: 801px) {
    #main:has(.ja-home-spread) .ja-home-spread {
        margin-top: 35px;
        height: calc(100dvh - 127px);
    }
    #main .ja-home-spread-cover:has(.ja-lt):not(:has(.ja-home-card-detail:not([hidden]))) {
        grid-template-rows: minmax(0, 1fr);
        align-self: stretch;
    }
    #main .ja-home-spread-cover:has(.ja-lt) > [data-home-cover-content] {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
    }

    /* --- Hero --- */
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-art {
        flex: 0 0 42%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: clamp(20px, 2.3vw, 36px) clamp(24px, 2.8vw, 44px);
    }
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-masthead {
        max-width: 60%;
        font-size: clamp(10px, .8vw, 13px);
        letter-spacing: .18em;
        color: #8a7259;
    }
    /* Same display face as the inner-page hero art (JOURNAL / RECIPES / ART). */
    #main .ja-home-spread-cover:has(.ja-lt) h1 {
        z-index: 3;
        margin: clamp(12px, 3.2vh, 34px) 0 0;
        font-family: var(--cover-display);
        font-size: clamp(54px, 4.8vw, 96px);
        font-weight: 400;
        line-height: .82;
        letter-spacing: -.02em;
        text-transform: uppercase;
    }
    #main .ja-home-spread-cover:has(.ja-lt) h1 em {
        font-family: var(--serif);
        font-size: .92em;
        font-style: italic;
        font-weight: 600;
        letter-spacing: -.04em;
    }
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-art > p {
        position: relative;
        z-index: 3;
        left: auto;
        bottom: auto;
        max-width: 62%;
        margin: clamp(6px, 1.2vh, 16px) 0 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        font-family: var(--serif);
        font-size: clamp(18px, 1.7vw, 30px);
        font-weight: 400;
        line-height: 1.25;
        color: var(--lt-ink);
    }
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-art > p em { font-style: italic; }
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-portrait {
        inset: 0 0 0 auto;
        z-index: 2;
        width: 50%;
        height: 100%;
        object-fit: contain;
        object-position: bottom right;
    }
    /* Daisies sit below the tagline and are clipped by the page edge, like
       pressed flowers tucked under the next sheet — never over the type. */
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-flower {
        z-index: 1;
        left: 4%;
        bottom: -9%;
        width: 11%;
        opacity: .95;
        transform: rotate(-16deg);
        animation: none;
    }
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-flower--right {
        inset: auto auto -8% 16%;
        width: 8%;
        opacity: .85;
        transform: rotate(22deg);
        animation: none;
    }

    /* --- Utility panel --- */
    #main .ja-home-spread-cover:has(.ja-lt) .ja-lt {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        margin: 0 clamp(10px, 1.1vw, 18px) clamp(10px, 1.1vw, 18px);
        padding: clamp(12px, 1.3vw, 20px) clamp(14px, 1.6vw, 24px) clamp(12px, 1.4vw, 20px);
        overflow-y: auto;
        border: 1px solid #e6d3b5;
        border-radius: 20px;
        /* Barely-there warm paper wash, like an aged notebook sheet. */
        background: linear-gradient(180deg, #fdf8ed 0%, #fbf5e7 100%);
        box-shadow: inset 0 1px 0 #fffdf7, 0 2px 10px #59472f0d;
    }
    .ja-lt-deco {
        display: block;
        position: absolute;
        z-index: 0;
        top: clamp(6px, 1vh, 14px);
        right: clamp(118px, 10vw, 165px);
        width: clamp(52px, 5.2vw, 78px);
        opacity: .9;
        transform: rotate(-5deg);
    }
    .ja-lt-heading {
        flex: 0 0 auto;
        border-top: 0;
        padding: 0 0 clamp(8px, 1.3vh, 16px);
    }
    .ja-lt-heading-copy h2 { font: 600 clamp(26px, 2.3vw, 38px)/1 var(--serif); }
    .ja-lt-heading-copy p { font-size: clamp(11px, .95vw, 13px); }
    .ja-lt-grid {
        flex: 1 1 auto;
        min-height: 0;
        grid-template-rows: minmax(88px, .85fr) minmax(132px, 1.3fr);
        gap: clamp(7px, .8vw, 11px);
    }
    .ja-lt-card { padding: clamp(9px, .95vw, 14px); }
    .ja-lt-card-title { font: 600 clamp(15px, 1.35vw, 21px)/1.15 var(--serif); }
    /* The three lower cards are narrow: keep their headings on one line. */
    .ja-lt-calendar .ja-lt-card-title,
    .ja-lt-tarot .ja-lt-card-title,
    .ja-lt-explore .ja-lt-card-title {
        font: 600 clamp(11px, .95vw, 14px)/1.2 var(--serif);
        white-space: nowrap;
    }
    .ja-lt-card-head { gap: 4px; }
    .ja-lt-tarot-tag { padding: 1px 5px; }
    .ja-lt-ritual, .ja-lt-calendar, .ja-lt-tarot, .ja-lt-explore {
        display: flex;
        flex-direction: column;
    }

    .ja-lt-vinyl { width: clamp(56px, 5vw, 80px); }
    .ja-lt-radio-body > small {
        font-size: clamp(10px, .85vw, 12px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .ja-lt-radio-controls { margin-top: clamp(6px, 1vh, 11px); }

    .ja-lt-ritual-list {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        margin: 4px 0 0;
    }
    .ja-lt-ritual-list li { padding: 2px 0; }
    .ja-lt-ritual-list a { font-size: clamp(11px, .95vw, 13px); }
    .ja-lt-check { width: 16px; height: 16px; }

    .ja-lt-calendar .ja-lt-card-head { position: relative; justify-content: center; }
    .ja-lt-calendar .ja-lt-cal-nav {
        position: absolute;
        top: 50%;
        width: 15px;
        height: 16px;
        font-size: 13px;
        transform: translateY(-50%);
    }
    .ja-lt-calendar .ja-lt-cal-nav:first-child { left: 0; }
    .ja-lt-calendar .ja-lt-cal-nav:last-child { right: 0; }
    .ja-lt-calendar .ja-lt-card-title { font-size: clamp(9px, .8vw, 11px); letter-spacing: .02em; }
    .ja-lt-cal-grid {
        flex: 1 1 auto;
        align-content: space-evenly;
        gap: 1px 2px;
        margin-top: 4px;
    }
    .ja-lt-cal-dow { font-size: 8px; line-height: 1.3; }
    .ja-lt-cal-day, .ja-lt-cal-empty {
        aspect-ratio: auto;
        height: clamp(11px, 1.4vh, 16px);
        font-size: 9px;
    }
    .ja-lt-cal-cat { width: clamp(30px, 3.4vw, 48px); opacity: .6; }

    .ja-lt-tarot-art {
        flex: 1 1 auto;
        height: auto;
        min-height: clamp(60px, 8vh, 120px);
        margin-top: 6px;
    }
    /* Show the whole artwork (cards + handwritten note) at any page size. */
    .ja-lt-tarot-art img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
    .ja-lt-tarot-tag { font-size: clamp(9px, .72vw, 12px); }

    .ja-lt-explore-grid {
        flex: 1 1 auto;
        align-content: space-evenly;
        gap: 4px;
        margin-top: 4px;
    }
    .ja-lt-explore-grid a { gap: 1px; padding: clamp(4px, .7vh, 9px) 1px; }
    .ja-lt-explore-icon { width: clamp(20px, 2.1vw, 28px); height: clamp(20px, 2.1vw, 28px); }
    .ja-lt-explore-grid small { font-size: clamp(8px, .7vw, 10px); }
}

/* ---------- Large / ultrawide screens ----------
   The ceilings above were tuned for 1440–1600px. Past that the cards keep
   widening while type stops growing, leaving the player, ritual list and
   quick-explore grid stranded in empty space. Scale type with the page again
   and let the radio waveform span the wider player. */
@media (min-width: 1600px) {
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-masthead { font-size: clamp(11px, .72vw, 14px); }
    #main .ja-home-spread-cover:has(.ja-lt) h1 { font-size: clamp(76px, 5.1vw, 116px); }
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-art > p { font-size: clamp(23px, 1.8vw, 34px); }

    .ja-lt-heading-copy h2 { font-size: clamp(34px, 2.35vw, 50px); }
    .ja-lt-heading-copy p { font-size: clamp(12px, .85vw, 17px); }
    .ja-lt-date strong { font-size: clamp(12px, .85vw, 16px); }
    .ja-lt-date span { font-size: clamp(9px, .65vw, 12px); }
    .ja-lt-deco { width: clamp(70px, 4.6vw, 100px); right: clamp(150px, 9vw, 210px); }

    .ja-lt-grid { grid-template-rows: minmax(118px, .95fr) minmax(168px, 1.2fr); }
    .ja-lt-card { padding: clamp(12px, .9vw, 20px); }
    .ja-lt-card-title { font-size: clamp(19px, 1.35vw, 29px); }
    .ja-lt-calendar .ja-lt-card-title,
    .ja-lt-tarot .ja-lt-card-title,
    .ja-lt-explore .ja-lt-card-title { font-size: clamp(14px, .95vw, 20px); }
    .ja-lt-calendar .ja-lt-card-title { font-size: clamp(11px, .72vw, 15px); }
    .ja-lt-tarot-tag, .ja-lt-ritual-count { padding: 2px 8px; font-size: clamp(9px, .65vw, 12px); }

    .ja-lt-vinyl { width: clamp(84px, 5.4vw, 118px); }
    .ja-lt-radio-body > small { font-size: clamp(11px, .8vw, 16px); }
    .ja-lt-radio-controls { gap: 6px; }
    .ja-lt-radio-controls button {
        width: clamp(32px, 2.3vw, 46px);
        aspect-ratio: 1;
        flex: 0 0 auto;
        font-size: 21px;
    }
    .ja-lt-wave {
        flex: 1 1 auto;
        max-width: none;
        justify-content: space-between;
        gap: 0;
        height: clamp(20px, 2vw, 30px);
        margin-left: clamp(10px, 1.2vw, 24px);
    }
    .ja-lt-wave i { width: 2px; height: 35%; }
    .ja-lt-heart { font-size: clamp(17px, 1.3vw, 24px); }

    .ja-lt-ritual-list a { font-size: clamp(12px, .85vw, 17px); }
    .ja-lt-check { width: clamp(18px, 1.3vw, 24px); height: clamp(18px, 1.3vw, 24px); font-size: 14px; }
    .ja-lt-ritual-arrow { font-size: clamp(15px, 1.2vw, 22px); }
    .ja-lt-ritual-list li { padding: clamp(3px, .5vh, 7px) 0; }

    .ja-lt-cal-nav { width: clamp(18px, 1.4vw, 26px); height: clamp(18px, 1.4vw, 26px); font-size: clamp(15px, 1.1vw, 22px); }
    .ja-lt-cal-dow { font-size: clamp(9px, .65vw, 12px); }
    .ja-lt-cal-day, .ja-lt-cal-empty { height: clamp(15px, 1.6vh, 22px); font-size: clamp(10px, .72vw, 14px); }
    .ja-lt-cal-cat { width: clamp(44px, 3.4vw, 70px); }

    .ja-lt-tarot-art { min-height: clamp(90px, 10vh, 170px); }
    .ja-lt-tarot-tag { font-size: clamp(10px, .7vw, 14px); }
    .ja-lt-tarot-tag i { font-size: clamp(13px, .9vw, 19px); }

    .ja-lt-explore-grid a { padding: clamp(8px, 1.1vh, 16px) 2px; }
    .ja-lt-explore-icon { width: clamp(30px, 2.3vw, 46px); height: clamp(30px, 2.3vw, 46px); }
    .ja-lt-explore-grid small { font-size: clamp(10px, .7vw, 14px); }
}

/* Very wide viewports: keep the spread at 100% width (never cap it) and keep
   scaling the artwork with the page. Type is capped by viewport height so a
   very wide / short window cannot overflow its cards. */
@media (min-width: 2200px) {
    #main .ja-home-spread-cover:has(.ja-lt) h1 { font-size: clamp(96px, min(5vw, 13vh), 168px); }
    #main .ja-home-spread-cover:has(.ja-lt) .ja-home-spread-art > p { font-size: clamp(28px, min(1.8vw, 4.5vh), 52px); }
    .ja-lt-heading-copy h2 { font-size: clamp(42px, min(2.3vw, 6vh), 76px); }
    .ja-lt-card-title { font-size: clamp(24px, min(1.35vw, 3.6vh), 42px); }
    .ja-lt-vinyl { width: clamp(110px, min(5.4vw, 16vh), 180px); }
    .ja-lt-radio-controls button { width: clamp(40px, 2.3vw, 58px); aspect-ratio: 1; flex: 0 0 auto; font-size: 24px; }
    .ja-lt-explore-icon { width: clamp(40px, min(2.3vw, 6vh), 70px); height: clamp(40px, min(2.3vw, 6vh), 70px); }
    .ja-lt-cal-day, .ja-lt-cal-empty { font-size: clamp(12px, min(.72vw, 2vh), 20px); }
}

/* ---------- Left page: remove the repetitive divider bars ----------
   The stock notebook theme draws a full-width rule above every content band
   (home-spread.css .home-edit-band) plus a short rule under each section
   heading (home-content.css .home-journal-heading-line). Five of each on one
   page reads as a stack of separator bars. Keep the spacing, drop the lines.
   Scoped to the homepage so other pages keep their original treatment. */
#main .ja-home-spread-reading .home-edit-band { border-top: 0; }
#main .ja-home-spread-reading .home-journal-heading-line { display: none; }


/* Local review fixes: keep the right page content in normal flow so the
   utility cards cannot collapse when the viewport is short. */
@media (min-width: 801px) {
    #main .ja-home-spread-cover:has(.ja-lt) .ja-lt {
        flex: 0 0 auto;
        min-height: 380px;
        overflow: visible;
    }
    #main .ja-home-spread-cover:has(.ja-lt) .ja-lt-grid {
        flex: 0 0 auto;
        min-height: 0;
    }

}

/* Apple-style calendar cue: a small dot under today's date. */
.ja-lt-cal-day.is-today { color: #5a4939; font-weight: 700; }
.ja-lt-cal-day.is-today::before { background: transparent; }
.ja-lt-cal-day.is-today::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #7c8f5f;
    transform: translateX(-50%);
}


/* Campaign artwork includes its own headline and call to action. */
#main .ja-lt-grid > .ja-lt-game {
    grid-column: 1 / -1;
    display: block;
    padding: 0;
    min-height: 0;
    overflow: hidden;
    background: #03202e;
}
#main .ja-lt-game img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: contain;
}
