﻿.cover-spread {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(20px, 5vw, 85px);
    padding-block: clamp(35px, 7vw, 110px);
    border-bottom: 1px solid currentColor;
    --cover-travel: clamp(340px, 50vw, 680px);
}
.cover-spread .ce-header { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0; border: 0; }
.cover-spread .ce-header h1 { font-size: clamp(38px, 5vw, 80px); }
.case-cover { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.5; perspective: 900px; background: var(--surface); }
.ce-sfc .case-cover { background: radial-gradient(ellipse at 22% 10%, #97669c, transparent 68%), repeating-linear-gradient(120deg,#372b42 0 9px,#3b3048 10px 11px); }
.cover-pass { display: flex; width: 75%; transform: rotate(-8deg); color: #33203c; }
.cover-pass > * { background: #f2d7f3; box-shadow: 0 14px 22px #14092055; }
.cover-pass div { width: 76%; padding: 6%; border-right: 2px dashed #735c79; }
.cover-pass small,.cover-audio small { display: block; font-weight: 700; letter-spacing: .1em; }
.cover-pass b { display: block; margin-top: .16em; font: 900 clamp(37px,6vw,125px)/.84 Arial,sans-serif; letter-spacing: -.07em; }
.cover-pass i { writing-mode: vertical-rl; text-align: center; font-style: normal; font-weight: 800; letter-spacing: .3em; padding: 4%; border-right: 9px solid #be88ba; transform: translate(12%,7%) rotate(4deg); }
.ce-social .case-cover { background: radial-gradient(ellipse at center,#78ad8f,#203e34); }
.cover-deck { position: relative; width: 67%; aspect-ratio: 1.66; }
.cover-deck img { position: absolute; width: 100%; height: 100%; object-fit: contain; background: white; border: 4px solid white; box-shadow: 0 8px 22px #09251d50; }
.cover-deck img:first-child { --pose: translate(-12%,-18%) rotate(-11deg); }
.cover-deck img:nth-child(2) { --pose: translate(0,-2%) rotate(-2deg); }
.cover-deck img:last-child { --pose: translate(10%,15%) rotate(7deg); }
.cover-deck img { transform: var(--pose); }
.ce-edu .case-cover { background-color: #e0ece4; background-image: radial-gradient(#849e9a 1px,transparent 1px); background-size: 14px 14px; }
.cover-steps { position: relative; width: 80%; height: 57%; }
.cover-steps svg { position: absolute; width: 100%; height: 100%; }
.cover-steps path { fill: none; stroke: #397782; stroke-width: 3px; stroke-dasharray: 1; }
.cover-steps span { position: absolute; padding: .45em .65em; border: 1px solid #39636e; border-radius: 4px; background: #fcf9e9; color: #244c58; font-weight: 750; box-shadow: 3px 4px #aac3b9; transform: translate(-50%,-50%); white-space: nowrap; }
.cover-steps span:nth-of-type(1) { left: 7%; top: 74%; }
.cover-steps span:nth-of-type(2) { left: 50%; top: 42%; }
.cover-steps span:nth-of-type(3) { left: 91%; top: 21%; }
.cover-table { width: 100%; height: 100%; position: absolute; object-fit: cover; transform-origin: 78% 57%; }
.cover-finder { position: absolute; left: 68%; top: 39%; width: 22%; height: 34%; outline: 2px dashed #f5ff99; box-shadow: 0 0 0 100vmax #0e1e1940; }
.ce-news .case-cover { background: repeating-linear-gradient(0deg,#d6c8b6 0 1px,#e1d6c5 2px 8px); }
.cover-audio { width: 86%; position: relative; padding: 5%; background: #302e30; color: #fbebd3; box-shadow: 7px 9px 0 #987b70; }
.cover-audio b { display: block; font-size: clamp(22px,3vw,42px); }
.cover-wave { display: flex; align-items: center; gap: 1%; height: clamp(40px,6vw,94px); margin-block: 5%; border-block: 1px solid #908078; }
.cover-wave i { flex: 1; background: #ecc28f; }
.cover-subtitles { display: flex; gap: 2%; }
.cover-subtitles span { flex: 1; padding: .3em 0; text-align: center; background: #605454; font-weight: 650; }
.cover-playhead { position: absolute; left: 50%; top: 42%; bottom: 6%; border-left: 2px solid #ff9586; }
.cover-playhead::before { content: ''; position: absolute; left: -5px; border: 4px solid transparent; border-top-color: #ff9586; }
@media (max-width: 760px) {
    .cover-spread { grid-template-columns: minmax(0,1fr); gap: 22px; }
    .cover-spread .ce-header { gap: 7px; }
    .cover-spread .ce-header > * { margin: 0; }
    .cover-subtitles span,.cover-steps span { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .cover-pass i { animation-name: cover-tear; }
        .cover-deck img { animation-name: cover-deal; }
        .cover-steps path { animation-name: cover-connect; }
        .cover-table { animation-name: cover-zoom; }
        .cover-playhead { animation-name: cover-sync; }
        .cover-pass i,.cover-deck img,.cover-steps path,.cover-table,.cover-playhead {
            animation-duration: auto; animation-timing-function: linear; animation-fill-mode: both;
            animation-timeline: scroll(root block); animation-range: 0px var(--cover-travel);
        }
    }
}
@keyframes cover-tear { from { transform: none; } to { transform: translate(65%,18%) rotate(14deg); } }
@keyframes cover-deal { from { transform: rotateY(-15deg) rotate(-4deg); } to { transform: var(--pose); } }
@keyframes cover-connect { from { stroke-dashoffset: .94; } to { stroke-dashoffset: 0; } }
@keyframes cover-zoom { from { transform: scale(1); } to { transform: scale(1.75); } }
@keyframes cover-sync { from { left: 6%; } to { left: 93%; } }
.sky-window,.apron-map { position:absolute; inset:0; overflow:hidden; }
.sky-window img,.apron-map img { width:100%; height:100%; object-fit:contain; }
.sky-window { background:#243947; }
.sky-window i { position:absolute; inset:0; background:linear-gradient(90deg,transparent 72%,#c4ffd436 99%,#ccffdd); width:24%; transform:translateX(170%); }
.apron-map { inset:5% 6% 13%; background:#132332; border:1px solid #88a9af; }
.apron-map i { position:absolute; top:0; bottom:0; left:0; width:34%; border:2px solid #f4be76; box-shadow:0 0 0 100vmax #0a233250; transform:translateX(99%); }
.instrument-caption { position:absolute; bottom:0; inset-inline:0; padding:5px 12px; background:#13242eef; color:#f4eedb; font-size:13px; }
.ce-mobile .case-cover { background:radial-gradient(ellipse at 65% 20%,#6d9475,#27433b 72%); }
.liff-device { width:42%; height:80%; overflow:hidden; border:5px solid #19221f; border-radius:18px; background:#f1f1df; box-shadow:8px 12px 24px #132b2380; transform:rotate(-5deg); }
.liff-strip { height:100%; display:flex; transform:translateX(-200%); }
.liff-strip>div { box-sizing:border-box; flex:0 0 100%; display:grid; align-content:center; gap:.6em; padding:8%; color:#213b31; }
.liff-strip small { color:#41674c; }
.liff-strip b { font-size:clamp(18px,2.6vw,44px); line-height:1.15; }
.liff-strip span { border-top:1px solid #83a185; padding-top:.5em; font-size:clamp(11px,1.1vw,16px); }
@media(prefers-reduced-motion:no-preference) {
    @supports(animation-timeline:scroll()) {
        .sky-window i { animation-name:cover-search; }
        .apron-map i { animation-name:cover-survey; }
        .liff-strip { animation-name:cover-screens; }
        .sky-window i,.apron-map i,.liff-strip { animation-fill-mode:both; animation-timing-function:linear; animation-timeline:scroll(root block); animation-range:0px var(--cover-travel); }
    }
}
@keyframes cover-search { from { transform:translateX(-100%); } to { transform:translateX(420%); } }
@keyframes cover-survey { from { transform:none; } to { transform:translateX(194%); } }
@keyframes cover-screens { 0%,12% { transform:none; } 43%,58% { transform:translateX(-100%); } 90%,100% { transform:translateX(-200%); } }
