.home-template .dpp35-subscriber-module {
    inset: 29% 6.4% 22% auto;
    width: 14.6%;
    min-height: 0;
    justify-content: center;
    padding: 0;
    transform: none;
}

.home-template .dpp35-subscriber-actions {
    width: 100%;
    gap: clamp(2px, .32vw, 6px);
}

.home-template .dpp35-subscriber-actions a {
    box-sizing: border-box;
    min-height: 0;
    height: clamp(14px, 2.25vw, 37px);
    font-size: clamp(10px, 1.25vw, 21px);
    background: #301b12;
    border: 1px solid #e0ba76;
    box-shadow: inset 0 0 0 2px #5e3f24;
}

.dpp-fiction-pair {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(1rem, 4vw, 4rem);
    padding: clamp(1rem, 3vw, 3rem) 0;
    border-block-start: 3px double #796144;
}

.dpp-fiction-pair-british {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr);
}

.dpp-fiction-pitch {
    padding: clamp(.65rem, 2.5vw, 2rem);
    border: 1px solid #907454;
    box-shadow: inset 0 0 0 4px #cfb892;
    text-align: start;
}

.dpp-fiction-pitch h3 {
    font-family:var(--type-headline);
    font-size: clamp(1.7rem, 3vw, 3.1rem);
    line-height: 1;
    margin-block: .25em .5em;
}

.dpp-fiction-specimen .dpp-publication-sheet {
    margin: 0;
}

.dpp-press-ticket, .dpp-storm-button {
    display: inline-flex;
    align-items: center;
    padding: .55em .9em;
    background: #321c14;
    color: #f8e3b8;
    border: 3px double #d1a667;
    font:700 1rem var(--type-body);
    text-decoration: none;
}

.dpp-storm-button {
    cursor: pointer;
    margin: .35rem .6rem;
}
.dpp-storm-button[hidden] { display: none; }

.dpp35-masthead-lightning {
    animation: none;
}

.dpp35-masthead-lightning.is-striking {
    animation: dpp-front-lightning 1.2s ease-out both;
}

@keyframes dpp-front-lightning {
    0%, 100% { opacity: 0; }
    23% { opacity: .8; }
}

@media (prefers-reduced-motion: reduce) {
    .dpp35-masthead-lightning.is-striking { animation: none; }
}

@media (max-width: 650px) {
    .dpp-fiction-pair, .dpp-fiction-pair-british { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
    .home-template .dpp35-masthead-wrap { display: flex; flex-direction: column; }
    .home-template .dpp35-subscriber-module {
        position: relative;
        inset: auto;
        width: auto;
        margin: .5rem;
        padding: .5rem;
        border: 3px double #ac854d;
    }
    .home-template .dpp35-subscriber-actions a {
        height: auto;
        min-height: 44px;
        font-size: clamp(12px, 3.5vw, 16px);
    }
    .home-template .dpp35-masthead-rain-canvas {
        height: auto;
        aspect-ratio: 1672 / 590;
    }
}

.dpp-pulp-paper a.dpp-press-ticket,
.dpp-pulp-paper a.dpp-press-ticket:visited {
    color: #f8e3b8;
}
.dpp-pulp-paper a.dpp-press-ticket:hover {
    color: #fff6df;
    background: #4b291a;
}

@media (max-width: 1180px) {
    .home-template .dpp35-masthead-link { overflow: hidden; }
    .home-template .dpp35-masthead { width: 134%; max-width: none; }
    .home-template .dpp35-masthead-rain-canvas,
    .home-template .dpp35-masthead-lighting { inset: 0 0 auto; height: auto; aspect-ratio: 1248 / 590; }
    .home-template .dpp35-subscriber-module {
        position: relative;
        inset: auto;
        box-sizing: border-box;
        width: min(calc(100% - 1rem), 290px);
        aspect-ratio: 336 / 474;
        margin: .5rem auto;
        border: 0;
        padding: 32% 13% 13%;
        padding: min(28vw, 108px) min(10vw, 38px) 32px;
        background: url("../images/dpp35/masthead-members-frame.webp") center / 100% 100% no-repeat;
    }
    .home-template .dpp35-subscriber-actions {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (min-width: 560px) and (max-width: 1180px) {
    .home-template .dpp35-masthead-wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 232px;
        gap: 16px;
        align-items: start;
    }
    .home-template .dpp35-subscriber-module {
        width: 232px;
        margin: 0;
        padding: 72px 20px 15px;
    }
    .home-template .dpp35-masthead-lighting,
    .home-template .dpp35-masthead-rain-canvas {
        width: calc(100% - 248px);
    }
}

@media (max-width: 959px) {
    .home-template .dpp35-masthead-wrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .home-template .dpp35-subscriber-module {
        width: auto;
        aspect-ratio: auto;
        margin: 0 .5rem .5rem;
        padding: .35rem;
        border: 3px double #ac854d;
        background: #211510;
    }
    .home-template .dpp35-subscriber-actions {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .home-template .dpp35-subscriber-actions a {
        min-height: 44px;
        height: auto;
        padding: .2rem;
        font-size: clamp(13px, 2.4vw, 16px);
        line-height: 1.05;
    }
    .home-template .dpp35-masthead-lighting,
    .home-template .dpp35-masthead-rain-canvas {
        width: 100%;
    }
}
@media (max-width: 559px) {
    .home-template .dpp35-subscriber-actions {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .home-template .dpp35-subscriber-actions a { grid-column: span 2; }
    .home-template .dpp35-subscriber-actions a:nth-last-child(-n+2) { grid-column: span 3; }
}

/* Keep full specimen copy available inside each front-page reading frame. */
.home-template .dpp-fiction-pair {
    gap: clamp(.85rem, 2vw, 1.65rem);
    padding-block: clamp(.9rem, 2vw, 1.5rem);
}
.home-template .dpp-fiction-specimen { min-width: 0; }
.home-template .dpp-fiction-viewport {
    position: relative;
    isolation: isolate;
    block-size: clamp(22rem, 62vh, 32rem);
    overflow: auto;
    scrollbar-gutter: stable;
    border: 1px solid #907454;
}
.home-template .dpp-fiction-viewport:focus-visible,
.home-template .dpp-fiction-popout:focus-visible {
    outline: 3px solid #6f2b20;
    outline-offset: 3px;
}
.home-template .dpp-fiction-viewport .dpp-publication-reading {
    padding-inline: calc(var(--sheet-side) - 2%);
    font-size: clamp(.9rem, 1.15vw, .96rem) !important;
}
.home-template .dpp-fiction-viewport article.dpp-publication-sheet .dpp-publication-reading
    :is(.dpp-publication-copy, .dpp-publication-copy p) {
    font-size: clamp(.9rem, 1.15vw, .96rem) !important;
    line-height: 1.45 !important;
}
.home-template .dpp-fiction-viewport article.dpp-publication-sheet
    .dpp-publication-reading > :is(h1, h2, h3) {
    font-size: clamp(1.45rem, 2.65vw, 2.15rem) !important;
}
.home-template .dpp-fiction-reader-bar {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .35rem .8rem;
    padding: .4rem .55rem;
    font-size: .9rem;
}
.home-template .issue-authorship-title {
    margin: 0 0 .5rem;
    font:700 .82rem/1.2 var(--type-body);
    letter-spacing: .1em;
}
.home-template .dpp35-masthead-link.dpp35-storm-toggle {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.home-template .dpp35-storm-toggle .dpp35-masthead {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1672 / 590;
    object-fit: contain;
}
.home-template .dpp35-masthead-lighting,
.home-template .dpp35-masthead-rain-canvas,
.home-template .dpp35-masthead-lightning {
    height: auto;
    aspect-ratio: 1672 / 590;
    pointer-events: none;
}
.home-template .dpp35-subscriber-module {
    aspect-ratio: auto;
    border: 1px solid #8e6548;
    background: #efe0c1;
    padding: .24rem;
}
.home-template .dpp35-subscriber-actions { gap: 0; }
.home-template .dpp35-subscriber-actions a {
    min-height: 44px;
    height: auto;
    padding: .18rem .24rem;
    border: 0;
    border-block-end: 1px solid #b49a76;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #48271d;
    font:700 clamp(.73rem, 1.28vw, .9rem)/1.08 var(--type-headline);
    text-shadow: none;
}
.home-template .dpp35-subscriber-actions a:hover {
    background: #6f2b20;
    color: #fff4dc;
}
.home-template .dpp35-storm-toggle:focus-visible,
.home-template .dpp35-subscriber-actions a:focus-visible {
    outline: 3px solid #a34e35;
    outline-offset: -3px;
}
@media (min-width: 960px) and (max-width: 1180px) {
    .home-template .dpp35-subscriber-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-template .dpp35-subscriber-actions a:last-child { grid-column: 1 / -1; }
    .home-template .dpp35-masthead-lighting,
    .home-template .dpp35-masthead-rain-canvas,
    .home-template .dpp35-masthead-lightning { width: calc(100% - 248px); }
}

@media (min-width: 960px) {
    .home-template .dpp35-subscriber-module::before {
        content: "";
        display: block;
        width: min(75%, 7rem);
        height: .9rem;
        margin: 0 auto .14rem;
        background: url("../images/dpp35/masthead-printers-rule.webp") center / contain no-repeat;
    }
}

/* Keep the Fleet Street scene clear and carry its palette into the front page. */
body.home-template,
.home-template .dpp35-page {
    background: #202933;
}

.home-template .dpp35-masthead-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.home-template .dpp35-storm-toggle .dpp35-masthead {
    display: block;
    aspect-ratio: 2111 / 745;
}

.home-template :is(.dpp35-masthead-lighting, .dpp35-masthead-rain-canvas, .dpp35-masthead-lightning) {
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 2111 / 745;
}

.home-template .dpp35-subscriber-module {
    position: relative;
    inset: auto;
    width: auto;
    margin: 0;
    padding: .4rem clamp(.4rem, 2vw, 1.25rem);
    border: 0;
    background: linear-gradient(106deg, #23303b, #394752 48%, #28343f);
}

.home-template .dpp35-subscriber-module::before { content: none; }

.home-template .dpp35-subscriber-actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .35rem;
    max-width: 56rem;
    margin-inline: auto;
}

.home-template .dpp35-subscriber-actions a,
.home-template .dpp-pulp-paper a.dpp-press-ticket {
    min-height: 44px;
    padding: .3rem .4rem;
    border: 1px solid #b9cbd48c;
    border-radius: 3px;
    background: linear-gradient(165deg, #dcecf325, #a5bfcb10);
    box-shadow: inset 0 1px #edf8fc26;
    color: #f4f8fa;
    font:700 clamp(.8rem, 1.4vw, .95rem)/1.15 var(--type-headline);
    text-align: center;
    text-shadow: 0 1px 2px #14202a;
}

.home-template .dpp35-subscriber-actions a,
.home-template .dpp35-subscriber-actions a:last-child { grid-column: auto; }

.home-template .dpp-pulp-paper a.dpp-press-ticket {
    background-color: #34444e;
}

.home-template .dpp35-subscriber-actions a:hover,
.home-template .dpp-pulp-paper a.dpp-press-ticket:hover {
    background-color: #536876;
    color: #fff;
}

.home-template .dpp35-storm-toggle:focus-visible,
.home-template .dpp35-subscriber-actions a:focus-visible,
.home-template .dpp-pulp-paper a.dpp-press-ticket:focus-visible {
    outline: 3px solid #dceef7;
    outline-offset: -3px;
}

@media (max-width: 559px) {
    .home-template .dpp35-subscriber-actions {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .home-template .dpp35-subscriber-actions a { grid-column: span 2; }
    .home-template .dpp35-subscriber-actions a:nth-last-child(-n+2) { grid-column: span 3; }
}

.home-template {
    --dpp-rain-charcoal: #1d1d1d;
}

body.home-template,
.home-template .dpp35-page,
.home-template .dpp35-common-header,
.home-template .dpp35-masthead-wrap {
    background: var(--dpp-rain-charcoal);
}

.home-template .dpp35-common-header,
.home-template .dpp35-masthead-wrap {
    max-width: 100%;
}

.home-template .dpp35-masthead-wrap { isolation: isolate; }
.home-template .dpp35-storm-toggle { mix-blend-mode: lighten; }

.home-template .dpp-rain-nav {
    isolation: isolate;
    padding: .65rem .6rem;
    background:
        linear-gradient(var(--dpp-rain-charcoal), transparent 22%, transparent 84%, var(--dpp-rain-charcoal)),
        radial-gradient(ellipse at 24% 70%, #7b868b35, transparent 62%),
        radial-gradient(ellipse at 78% 40%, #a1a6a628, transparent 57%),
        var(--dpp-rain-charcoal);
}

.dpp-rain-nav-weather {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.home-template .dpp-rain-nav .dpp35-subscriber-actions {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .4rem;
    max-width: 73rem;
}

.home-template .dpp-rain-nav .dpp35-subscriber-actions a {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 44px;
    grid-column: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    transition: none;
    color: #f4f8fa;
}

.dpp-rain-nav a img {
    display: block;
    width: 100%;
    height: auto;
    opacity: .89;
    transition: transform 150ms ease-out, opacity 150ms ease-out, filter 150ms ease-out;
    clip-path: polygon(2.2% 21%, 2.8% 18%, 5.9% 14%, 7.8% 9.5%, 9.1% 7.5%, 12% 5.5%, 89% 5.5%, 92% 8%, 94.2% 13.5%, 97.2% 17.5%, 97.7% 21%, 97.7% 76%, 97% 79%, 94% 83%, 91% 88.5%, 87% 90%, 12% 90%, 8.5% 88%, 6% 82.5%, 3% 79%, 2.2% 76%);
}

.home-template .dpp-rain-nav a:focus-visible { outline-offset: 2px; }
.dpp-rain-nav a:focus-visible img { opacity: 1; transform: translateY(-3px) scale(1.035); }

@media (hover: hover) and (pointer: fine) {
    .dpp-rain-nav a:hover { z-index: 1; }
    .dpp-rain-nav a:hover img {
        opacity: 1;
        transform: translateY(-3px) scale(1.035);
        filter: brightness(1.13);
    }
}

@media (max-width: 599px) {
    .home-template .dpp-rain-nav .dpp35-subscriber-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .home-template .dpp-rain-nav .dpp35-subscriber-actions a { grid-column: span 2; }
    .home-template .dpp-rain-nav .dpp35-subscriber-actions a:last-child { grid-column: 2 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
    .dpp-rain-nav a img { transition: none; }
    .dpp-rain-nav a:hover img, .dpp-rain-nav a:focus-visible img { transform: none; }
}

.home-template .dpp35-page { max-width: 100%; }


html.dpp-charcoal-home {
    --dpp-page-surround: #1d1d1d;
}

.dpp-charcoal-home body {
    background-image:
        radial-gradient(ellipse at 18% 48%, #a9b3b42e, transparent 60%),
        radial-gradient(ellipse at 81% 77%, #79868b36, transparent 62%);
    background-attachment: fixed;
}

.dpp-charcoal-home .dpp35-main { isolation: isolate; }
.dpp-charcoal-home .dpp35-page { background: transparent; filter: none; }
.dpp-charcoal-home .dpp-page-weather { position: fixed; }
.home-template .dpp-rain-nav { padding-block: 4px; }
.home-template .dpp-rain-nav .dpp35-subscriber-actions { max-width: 1168px; }
.dpp-rain-nav a img { aspect-ratio: 3344 / 941; object-fit: fill; }

/* 3.8.3: the home sheet no longer forces itself full-bleed or carries the retired slate palette here.
   The frame and the one paper stock are set in dpp-383-foundations.css. */

.home-template .dpp-broadsheet .paper-stock {
    z-index: 8;
    filter: grayscale(1) contrast(1.55);
    opacity: .42;
    mix-blend-mode: multiply;
}

/* 3.8.3: no opacity on the front wrapper. Opacity made it an isolated group, so no plate inside it could
   multiply against the paper (white boxes round the engravings). */

.home-template .dpp-broadsheet [data-broadsheet-front] .folio.dpp-front-folio {
    background: transparent;
    color: var(--ink);
    border-color: var(--rule);
    font-family: var(--display-serif);
}

.home-template .dpp-front-folio .dpp-folio-ink { display: none; }
.home-template .dpp-broadsheet #lead .lead-title { text-align: center; }

.home-template .dpp-broadsheet [data-broadsheet-front] :is(.letterpress, .issue-heading, .issue-micro-title, .dpp-front-folio) {
    text-shadow: .28px .2px .65px rgb(25 22 20 / .34);
}

/* 3.8.3: the plates' engraving filter is no longer set here; one rule in dpp-383-foundations.css governs. */

/* 3.8.3: the front page's grain overlay (.home-template .dpp-broadsheet::after, a 78 KB PNG held here as a data URI)
   is gone from this file: dpp-383-foundations.css switches the overlay off (one stock, one surface), so the picture
   was fetched by every reader and drawn for none. To bring the grain back, restore the rule from R19's copy of
   this file and take the `content: none` line out of dpp-383-foundations.css, section 2. */
