/* films_v2.css — /films/ as "The Plates: A Theatre of Moving Pictures",
   a chapter of the booke (see index_v3.css for the home quire). Loaded ONLY
   by layouts/films/*. All classes vn-pl-* namespaced; responsive.css is NOT
   loaded on these pages — mobile rules live at the foot of this file. */

@font-face {
    font-family: "IM Fell English";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/imfell-english-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Caveat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/caveat-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html { background-color: var(--white); }

body {
    max-width: 900px;
    display: block;
    margin: 0 auto;
    padding: 20px 12px 46px;
}

.vn-pl a {
    color: var(--darkbrown);
    text-decoration: 1px dotted underline var(--darkbrown);
}
.vn-pl a:hover { opacity: 0.75; }

/* ─── slim sticky nav (the site's dotted header idiom) ─── */
.vn-pl-nav {
    display: flex;
    border-bottom: 1px dotted var(--darkbrown);
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}
.vn-pl-nav-left {
    box-sizing: border-box;
    padding: 4px 8px;
    border-right: 1px dotted var(--darkbrown);
    white-space: nowrap;
    font-size: 12px;
}
.vn-pl-nav-left a.active { font-weight: bold; }
.vn-pl-nav-right {
    box-sizing: border-box;
    text-align: right;
    padding: 4px 8px;
    flex: 1;
    font-size: 11px;
    font-style: italic;
    opacity: 0.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── shared booke bits ─── */
.vn-pl-kicker { font-size: 11px; letter-spacing: 0.35em; }
.vn-pl-star { color: var(--accent); font-size: 11px; margin-top: 8px; }
.vn-pl-pencil {
    font-family: "Caveat", cursive;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.12;
    font-variant-emoji: text;
}
.vn-pl-pencil a { color: var(--muted); }
.vn-pl-matte {
    display: block;
    border: 1px solid var(--darkbrown);
    padding: 7px;
    background: var(--white);
    box-shadow: 2px 2px 0 rgba(var(--ink-rgb), 0.12);
}
.vn-pl-matte img { width: 100%; display: block; }

/* ink impressions: grey-sepia multiplied onto the paper; colour blooms back
   on hover/active. blend stays multiply so only `filter` needs transitioning. */
.vn-pl-plate > img,
.vn-pl-sealed-box > img,
.vn-pl-matte img,
.detail-poster {
    filter: grayscale(1) sepia(0.28) contrast(1.05);
    mix-blend-mode: multiply;
    image-rendering: auto;
    transition: filter 0.45s ease;
}
.vn-pl-plate:hover > img,
.vn-pl-plate.active > img,
.vn-pl-plate:hover .vn-pl-sealed-box > img,
.vn-pl-matte:hover img,
#film-detail .detail-poster { filter: none; }

/* ─── the frontispiece head ─── */
.vn-pl-front {
    position: relative;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    padding: 30px 150px 24px;
    border-bottom: 1px dotted var(--darkbrown);
}
.vn-pl-front-plate { width: 150px; flex-shrink: 0; }
.vn-pl-front-cap {
    display: block;
    font-size: 9px;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    text-align: center;
    margin-top: 6px;
}
.vn-pl-front-text { max-width: 320px; text-align: center; }
.vn-pl-title {
    font-family: "IM Fell English", "TimesOrTinos", "Times New Roman", serif;
    font-weight: normal;
    font-size: 30px;
    line-height: 1.05;
    margin: 6px 0;
}
.vn-pl-being { font-style: italic; font-size: 13px; line-height: 1.45; margin: 0; }
.vn-pl-front-note {
    position: absolute;
    right: 6px;
    top: 44px;
    width: 128px;
    text-align: left;
    transform: rotate(1.2deg);
}

/* ─── the plate wall ─── */
.vn-pl-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px dotted var(--darkbrown);
}
.vn-pl-plate {
    position: relative;
    border-right: 1px dotted var(--darkbrown);
    border-bottom: 1px dotted var(--darkbrown);
    padding: 12px 14px 8px;
    cursor: pointer;
    background: var(--white);
}
.vn-pl-plate > img,
.vn-pl-sealed-box > img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    border: 1px solid var(--darkbrown);
}
.vn-pl-cap {
    font-size: 9px;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    text-align: center;
    margin-top: 5px;
    line-height: 1.35;
}
.vn-pl-cap i { font-style: italic; }
.vn-pl-num { white-space: nowrap; }
a.vn-pl-num { text-decoration: none; }
a.vn-pl-num:hover { text-decoration: 1px dotted underline var(--darkbrown); }
.vn-pl-plate.active .vn-pl-num { color: var(--accent); }

/* the wanting plate */
.vn-pl-wanting { cursor: auto; }
.vn-pl-want-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2 / 3;
    border: 1px solid var(--darkbrown);
    text-decoration: none !important;
    background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(var(--ink-rgb), 0.03) 6px 12px);
}
.vn-pl-want-frame span {
    font-style: italic;
    font-size: 11px;
    opacity: 0.5;
    text-align: center;
}
.vn-pl-want-note,
.vn-pl-sealed-note {
    display: block;
    text-align: center;
    font-size: 14px;
    margin-top: 3px;
    transform: rotate(-1.3deg);
}

/* the sealed plate */
.vn-pl-sealed-box { position: relative; }
.vn-pl-cover {
    position: absolute;
    inset: 0;
    background: #eae7df;
    border: 1px solid var(--darkbrown);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0;
    transition: opacity 1s ease;
}
.vn-pl-cover.unsealed { opacity: 0; pointer-events: none; }
.vn-pl-stitch {
    text-align: center;
    font-size: 13px;
    letter-spacing: 6px;
    color: rgba(105, 1, 2, 0.75);
    cursor: pointer;
    transition: opacity 0.3s;
    user-select: none;
}
.vn-pl-stitch:hover { color: var(--accent); }
.vn-pl-stitch.gone { opacity: 0; pointer-events: none; }
.vn-pl-cover-word {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    font-style: italic;
    font-size: 10px;
    opacity: 0.55;
    pointer-events: none;
}

/* the wandering stamp */
.vn-pl-stamp {
    position: absolute;
    left: 4px;
    top: 34%;
    width: 96px;
    border: 2px solid rgba(105, 1, 2, 0.5);
    border-radius: 50%;
    color: rgba(105, 1, 2, 0.55);
    font-size: 7px;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 9px 3px;
    transform: rotate(-14deg);
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* ─── the commentary pane ─── */
#film-detail {
    grid-column: 1 / -1;
    display: none;
    background: var(--white);
    border-right: 1px dotted var(--darkbrown);
    border-bottom: 1px dotted var(--darkbrown);
    position: relative;
    cursor: auto;
}
#film-detail.open { display: block; }
.detail-body { display: flex; padding: 14px 16px 12px; gap: 16px; }
.detail-left { flex-shrink: 0; width: 120px; }
.detail-poster { width: 100%; display: block; border: 1px solid var(--darkbrown); }
.detail-num {
    font-size: 9px;
    font-variant: small-caps;
    letter-spacing: 0.04em;
    margin-top: 6px;
}
.detail-title {
    font-family: "IM Fell English", "TimesOrTinos", "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.2;
    margin-top: 1px;
}
.detail-meta { font-size: 10px; font-style: italic; opacity: 0.55; margin-top: 3px; line-height: 1.45; }
.detail-imprint { font-size: 9px; opacity: 0.4; margin-top: 4px; font-style: italic; }
.detail-right { flex: 1; min-width: 0; position: relative; }
.detail-pencil {
    display: none;
    float: right;
    max-width: 130px;
    margin: 2px 0 6px 12px;
    transform: rotate(1.1deg);
}
.detail-pencil.has-note { display: block; }
.detail-review { font-size: 13px; line-height: 1.62; text-align: justify; }
.detail-review h1.title,
.detail-review > h1:first-child { display: none; }
.detail-review p { margin: 0 0 7px; text-align: justify; }
.detail-review p:first-of-type::first-letter {
    float: left;
    font-family: "IM Fell English", serif;
    font-size: 36px;
    line-height: 0.85;
    padding: 2px 6px 0 0;
}
.detail-review a { color: var(--darkbrown); }
.detail-footer {
    margin-top: 8px;
    padding-top: 5px;
    border-top: 1px dotted rgba(var(--ink-rgb), 0.15);
    font-size: 10.5px;
}
.detail-close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 10.5px;
    font-style: italic;
    opacity: 0.35;
    transition: opacity 0.2s;
    z-index: 5;
}
.detail-close:hover { opacity: 0.8; }

/* backlinks, re-worded: one "see also" label, internal labels hidden */
.vn-pl-seealso { font-variant: small-caps; letter-spacing: 0.04em; }
.vn-pl .backlinks { display: inline; }
.vn-pl .backlinks-title { display: none; }

/* ─── printer's notice & foot ─── */
.vn-pl-notice {
    max-width: 36em;
    margin: 18px auto 0;
    padding: 7px 12px;
    border: 1px dotted var(--darkbrown);
    font-size: 11px;
    font-style: italic;
    text-align: center;
    opacity: 0.55;
}
.vn-pl-notice span { font-variant: small-caps; letter-spacing: 0.06em; font-style: normal; }
.vn-pl-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 6px 0;
    font-size: 0.8em;
}
.vn-pl-sig { opacity: 0.5; }
.vn-pl-catchword { font-style: italic; }
.vn-pl-catchword a { text-decoration: none; }

/* ─── single page: the playbill ─── */
.vn-pl-bill {
    max-width: 420px;
    margin: 26px auto 0;
    border: 1px solid var(--darkbrown);
    padding: 18px 22px 14px;
    text-align: center;
    box-shadow: 2px 2px 0 rgba(var(--ink-rgb), 0.12);
}
.vn-pl-rule { border: none; border-top: 1px solid var(--darkbrown); margin: 7px 0; }
.vn-pl-rule-thin { border-top: 1px dotted var(--darkbrown); }
.vn-pl-bill-title {
    font-family: "IM Fell English", "TimesOrTinos", "Times New Roman", serif;
    font-weight: normal;
    font-size: 30px;
    line-height: 1.05;
    margin: 4px 0;
}
.vn-pl-bill-after { font-style: italic; font-size: 12px; margin: 0 0 8px; }
.vn-pl-bill-plate { max-width: 200px; margin: 10px auto; }
.vn-pl-bill-imprint { font-size: 10px; font-style: italic; opacity: 0.5; margin: 8px 0 2px; }
.vn-pl-bill-doors { font-size: 10px; font-style: italic; opacity: 0.4; margin: 0; }

.vn-pl-commentary { position: relative; max-width: 560px; margin: 24px auto 0; }
.vn-pl-comm-note {
    position: absolute;
    right: -166px;
    top: 6px;
    width: 140px;
    transform: rotate(1deg);
}
.vn-pl-review { font-size: 13.5px; line-height: 1.65; text-align: justify; }
.vn-pl-review h1.title,
.vn-pl-review > h1:first-child { display: none; }
.vn-pl-review p { margin: 0 0 9px; }
.vn-pl-review p:first-of-type::first-letter {
    float: left;
    font-family: "IM Fell English", serif;
    font-size: 38px;
    line-height: 0.85;
    padding: 2px 6px 0 0;
}
.vn-pl-comm-foot {
    margin-top: 12px;
    padding-top: 6px;
    border-top: 1px dotted rgba(var(--ink-rgb), 0.15);
    font-size: 11px;
}

/* ─── mobile ─── */
@media (max-width: 700px) {
    body { padding: 12px 8px 36px; }
    .vn-pl-nav { position: static; flex-wrap: wrap; }
    .vn-pl-front {
        flex-direction: column;
        gap: 18px;
        padding: 24px 12px 20px;
    }
    .vn-pl-front-note {
        position: static;
        width: auto;
        transform: none;
        text-align: center;
        display: block;
        margin-top: 4px;
    }
    .vn-pl-wall { grid-template-columns: repeat(2, 1fr); }
    .detail-body { flex-direction: column; gap: 10px; }
    .detail-left { width: 120px; }
    .detail-pencil { float: none; margin: 0 0 8px; }
    .vn-pl-bill { max-width: none; margin-left: 4px; margin-right: 4px; }
    .vn-pl-commentary { margin-left: 4px; margin-right: 4px; }
    .vn-pl-comm-note {
        position: static;
        width: auto;
        transform: none;
        display: block;
        margin: 0 0 10px;
    }
}
