/* Covers dissolve into the page; glass is reserved for small controls. */
:is(.punch-news, .punch-news-archive) {
    --news-ink: #faf4ff;
    --news-muted: #d0c3d8;
}
.punch-news-lead { min-width: 0; }
.punch-site .punch-news-lead-link {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    min-height: 620px;
    color: var(--news-ink);
    text-decoration: none;
}
.punch-news-lead-media {
    position: absolute;
    z-index: -1;
    inset: 0 -32px auto;
    height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, #8060b8, #423449);
    mask-image: linear-gradient(180deg, #000 30%, #000b 55%, transparent 100%);
    border-radius: 32px 32px 0 0;
}
/* The scrim keeps metadata readable even over a white cover. */
.punch-news-lead-media::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, transparent 26%, #1c1529b8 58%, #1c1529f0 100%);
    pointer-events: none;
}
.punch-news-lead-copy { min-width: 0; max-width: 760px; padding: 360px 8px 28px; }
.punch-news-lead-copy :is(h2, h3) {
    margin: 16px 0;
    color: var(--news-ink);
    font: 600 clamp(30px, 4.2vw, 56px)/1.2 var(--punch-font-display);
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
    text-wrap: balance;
    text-shadow: 0 3px 30px #19101f70;
}
.punch-news-lead-copy p { margin: 0; color: var(--news-muted); font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
.punch-news-lead-copy .punch-news-read { margin-top: 24px; }
.punch-news-lead-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.punch-news-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 16px; color: var(--news-ink); font: 600 clamp(18px, 3vw, 40px)/1.2 var(--punch-font-display); letter-spacing: -.02em; }
.punch-news-placeholder > span { margin-top: 8px; font: 400 13px/1.5 var(--punch-font-body); letter-spacing: 0; }
:is(.punch-news-thumbnail, .punch-news-archive-media:not(.punch-news-lead-media)) {
    position: relative;
    box-shadow: inset 0 1px 0 #f5e6ff2b, 0 12px 40px #9e72c410;
    transition: box-shadow 420ms var(--punch-ease);
}
:is(.punch-news, .punch-news-archive) img { transition: transform 800ms var(--punch-ease-enter); }
:is(.punch-news-thumbnail, .punch-news-archive-media)::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, #f6e4ff24 44%, #efbadb12 56%, transparent 76%);
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 900ms var(--punch-ease-enter), opacity 250ms;
    pointer-events: none;
}
.punch-news-lead-media::after { content: none; }
.punch-site :is(.punch-news-item-link, .punch-news-archive-link):focus-visible { border-radius: 12px; outline-color: #dac5ef; }
:is(.punch-news, .punch-news-archive) a:focus-visible :is(h2, h3) { color: #e3c6ff; }
.punch-news-lead-link:focus-visible .punch-news-read { --button-bg: var(--punch-action-hover); }
.punch-news-lead-link:focus-visible .punch-news-read::before { opacity: .8; transform: translateX(90%) skewX(-12deg); }
@media (hover: hover) and (pointer: fine) {
    :is(.punch-news, .punch-news-archive) a:hover img { transform: scale(1.035); }
    :is(.punch-news, .punch-news-archive) a:hover :is(.punch-news-thumbnail, .punch-news-archive-media:not(.punch-news-lead-media)) { box-shadow: 0 12px 40px #b18ac42b; }
    :is(.punch-news, .punch-news-archive) a:hover :is(.punch-news-thumbnail, .punch-news-archive-media)::after { opacity: 1; transform: translateX(100%); }
    :is(.punch-news, .punch-news-archive) a:hover :is(h2, h3) { color: #e3c6ff; }
    .punch-news-lead-link:hover .punch-news-read { --button-bg: var(--punch-action-hover); }
    .punch-news-lead-link:hover .punch-news-read::before { opacity: .8; transform: translateX(90%) skewX(-12deg); }
}
.punch-news-archive-heading { animation: punch-news-enter 650ms var(--punch-ease-enter) both; }
.punch-news-archive .punch-news-lead-copy { animation: punch-news-enter 800ms 80ms var(--punch-ease-enter) both; }
/* shortcut: older browsers keep a stationary feed, add JS only if they need scroll entrances. */
@supports (animation-timeline: view()) {
    .punch-news :is(.punch-news-lead-copy, .punch-news-item-link) {
        animation: punch-news-enter 1ms linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
    }
}
@keyframes punch-news-enter { from { opacity: .94; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 700px) {
    .punch-site .punch-news-lead-link { min-height: 510px; }
    .punch-news-lead-media { inset: 0 -16px auto; height: 510px; border-radius: 20px 20px 0 0; }
    .punch-news-lead-copy { padding: 300px 0 16px; }
    .punch-news-lead-copy :is(h2, h3) { margin-block: 14px; font-size: clamp(28px, 7vw, 38px); }
    .punch-news-lead-copy p { font-size: 16px; }
    .punch-news-lead-copy .punch-news-read { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .punch-site:not([data-motion=full]) :is(.punch-news, .punch-news-archive) *,
    .punch-site:not([data-motion=full]) .punch-news-archive-heading { animation: none; transition: none; }
    .punch-site:not([data-motion=full]) :is(.punch-news, .punch-news-archive) img { transform: none; }
    .punch-site:not([data-motion=full]) :is(.punch-news, .punch-news-archive) a ::after { content: none; }
    .punch-site:not([data-motion=full]) .punch-news-read::before { content: none; }
}
.punch-site[data-motion=reduce] :is(.punch-news, .punch-news-archive) * { animation: none; transition: none; }
.punch-site[data-motion=reduce] :is(.punch-news, .punch-news-archive) img { transform: none; }
.punch-site[data-motion=reduce] :is(.punch-news, .punch-news-archive) a ::after,
.punch-site[data-motion=reduce] .punch-news-read::before { content: none; }
