/*
 * Prototype home19 (/html/home19.html): "Turn the page". The hero is an open DEPO issue on a deep
 * green ground. The pages are authored as a flat list; js/home19.js binds them into leaves (two
 * pages per leaf on wide screens, one on phones) and turns them in 3D by click, drag, swipe, arrow
 * keys and, at first, by scrolling. Without JS the pages are a horizontal strip you can scroll.
 * Below the issue: faces with parallax columns, the roles as a chooser, and the closing call.
 */
@property --peek { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.proto-home19 {
    --h19-deep: #0e2619;
    --h19-field: #15382a;
    --h19-green: #469a58;
    --h19-paper: #eeeeea;
    --h19-paper-2: #e1e2dc;
    --h19-ink: #13201a;
    --h19-soft: #56625a;
    --h19-yellow: #ffb500;
    --h19-serif: "Playfair Display", Georgia, serif;
    --h19-sans: "Hanken Grotesk", "Lato", system-ui, sans-serif;
    --h19-edge: clamp(16px, 3.4vw, 56px);
    --h19-ease: cubic-bezier(.2, .7, .2, 1);
    background: var(--h19-deep);
}
.proto-home19 .main { padding: 0; }
.proto-home19 .header { background: var(--h19-deep); }
.proto-home19 .header::before { display: none; }
.h19 :where(*) { color: inherit; }
.h19 { color: var(--h19-paper); font-family: var(--h19-sans); }
.h19-wrap { width: 100%; max-width: 1640px; margin: 0 auto; padding: 0 var(--h19-edge); }
.h19 a:focus-visible, .h19 button:focus-visible, .h19-book:focus-visible { outline: 3px solid var(--h19-yellow); outline-offset: 4px; }
.h19-book:focus-visible { outline-offset: 10px; }

.h19-h2 { margin: 0; font: 500 clamp(40px, 5.2vw, 84px)/1 var(--h19-serif); letter-spacing: -0.02em; text-wrap: balance; }
.h19-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px;
    border: 0; border-radius: 999px; background: var(--h19-deep); color: var(--h19-paper);
    font: 600 16px/1 var(--h19-sans); letter-spacing: 0.01em; cursor: pointer;
    transition: background 220ms ease, color 220ms ease, transform 160ms ease;
}
.h19-btn:hover { background: var(--h19-green); }
.h19-btn:active { transform: scale(0.97); }
.h19-btn--yellow { background: var(--h19-yellow); color: var(--h19-ink); }
.h19-btn--yellow:hover { background: var(--h19-paper); color: var(--h19-ink); }
.h19-link {
    display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/1.2 var(--h19-sans);
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px;
    transition: text-decoration-color 200ms ease, color 200ms ease;
}
.h19-link:hover { text-decoration-color: var(--h19-yellow); text-decoration-thickness: 2px; }

/* ── the issue (hero) ─────────────────────────────────────────────────────────────────── */
.h19-issue {
    position: relative;
    background: var(--h19-deep);
}
.h19-issue__stage {
    --pw: min(calc((100svh - var(--header-h) - 150px) / 1.5), calc((100vw - 460px - 3 * var(--h19-edge) - 64px) / 2), 540px);
    display: grid; grid-template-columns: minmax(300px, 460px) minmax(0, 1fr); align-items: center;
    gap: clamp(32px, 4vw, 64px); min-height: calc(100svh - var(--header-h));
    max-width: 1640px; margin: 0 auto; padding: 40px var(--h19-edge);
}
.h19-issue__title { margin: 0; font: 500 clamp(46px, 4.4vw, 76px)/0.98 var(--h19-serif); letter-spacing: -0.025em; text-wrap: balance; }
.h19-issue__lead { margin: 26px 0 0; max-width: 36ch; font: 400 18px/1.55 var(--h19-sans); color: rgb(242 240 233 / 0.78); }
.h19-issue__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }

.h19-reader { display: grid; justify-items: center; gap: 26px; min-width: 0; }

/* Without JS the pages are a strip that scrolls sideways. */
.h19-book { position: relative; max-width: 100%; }
.h19-pages { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.h19-page {
    position: relative; flex: 0 0 auto; width: var(--pw); height: calc(var(--pw) * 1.5); scroll-snap-align: start;
    container-type: inline-size; overflow: hidden; background: var(--h19-paper); color: var(--h19-ink);
}
.h19-book__edge { display: none; }

/* ── the bound issue (JS) ─────────────────────────────────────────────────────────────── */
.h19-js .h19-book {
    width: calc(var(--pw) * 2); height: calc(var(--pw) * 1.5); perspective: 2800px; perspective-origin: 50% 40%;
    user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: grab;
    transition: transform 900ms cubic-bezier(.6, .05, .25, 1);
    animation: h19-arrive 1200ms var(--h19-ease) both;
}
.h19-js .h19-book.is-dragging { cursor: grabbing; }
.h19-js .h19-book.is-front { transform: translateX(-25%); }
.h19-js .h19-book.is-back { transform: translateX(25%); }
.h19-js .h19-pages { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; }
.h19-js .h19-book__edge {
    display: block; position: absolute; top: 0; width: 50%; height: 100%; border-radius: 2px 4px 4px 2px;
    background: repeating-linear-gradient(90deg, #cfcbbf 0 1px, #efece4 1px 3px);
    box-shadow: 0 40px 70px -20px rgb(0 0 0 / 0.6), 0 12px 24px rgb(0 0 0 / 0.28);
    transition: opacity 500ms ease, transform 500ms ease;
}
.h19-js .h19-book__edge--r { left: 50%; transform: translate(var(--er, 6px), var(--er, 6px)); }
.h19-js .h19-book__edge--l {
    left: 0; border-radius: 4px 2px 2px 4px; transform: translate(calc(-1 * var(--el, 0px)), var(--el, 0px));
    background: repeating-linear-gradient(270deg, #cfcbbf 0 1px, #efece4 1px 3px);
}
.h19-js .h19-book.is-front .h19-book__edge--l, .h19-js .h19-book.is-back .h19-book__edge--r { opacity: 0; }

.h19-leaf {
    position: absolute; top: 0; left: 50%; width: 50%; height: 100%;
    transform-origin: 0 50%; transform-style: preserve-3d;
    transform: rotateY(calc(var(--a, 0) * 1deg + var(--peek)));
    transition: --peek 380ms var(--h19-ease);
}
.h19-leaf.is-moving { will-change: transform; }
.h19-leaf.is-peek-next { --peek: -18deg; }
.h19-leaf.is-peek-prev { --peek: 18deg; }
.h19-leaf.is-away { visibility: hidden; }
.h19-face {
    position: absolute; inset: 0; overflow: hidden; background: var(--h19-paper);
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.h19-face--front { border-radius: 0 3px 3px 0; }
.h19-face--back { transform: rotateY(180deg); border-radius: 3px 0 0 3px; }
.h19-face .h19-page { width: 100%; height: 100%; }
/* The gutter: each page darkens towards the spine, as paper does where it bends into the binding. */
.h19-face::before, .h19-face::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.h19-face--front::before { background: linear-gradient(90deg, rgb(0 0 0 / 0.26), rgb(0 0 0 / 0.06) 5%, transparent 14%, transparent 96%, rgb(255 255 255 / 0.12)); }
.h19-face--back::before { background: linear-gradient(270deg, rgb(0 0 0 / 0.26), rgb(0 0 0 / 0.06) 5%, transparent 14%, transparent 96%, rgb(255 255 255 / 0.12)); }
/* The turn: a page goes darker as it stands up and lighter as it settles. */
.h19-face--front::after { background: linear-gradient(90deg, rgb(10 20 14 / 0.65), rgb(10 20 14 / 0.25)); opacity: var(--sf, 0); }
.h19-face--back::after { background: linear-gradient(270deg, rgb(10 20 14 / 0.65), rgb(10 20 14 / 0.25)); opacity: var(--sb, 0); }
.h19-blank { background: linear-gradient(90deg, var(--h19-paper-2), var(--h19-paper)); }

/* Single pages on phones: the leaf turns away to the left and fades. */
.h19-js .h19-book.is-single { width: var(--pw); }
.h19-js .h19-book.is-single.is-front, .h19-js .h19-book.is-single.is-back { transform: none; }
.h19-book.is-single .h19-leaf { left: 0; width: 100%; opacity: var(--o, 1); }
.h19-book.is-single .h19-book__edge--l { display: none; }
.h19-book.is-single .h19-book__edge--r { left: 0; width: 100%; opacity: 1; }

@keyframes h19-arrive { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.h19-js .h19-issue__intro > * { animation: h19-rise 900ms var(--h19-ease) both; }
.h19-js .h19-issue__intro > :nth-child(2) { animation-delay: 120ms; }
.h19-js .h19-issue__intro > :nth-child(3) { animation-delay: 240ms; }
@keyframes h19-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Controls */
.h19-controls { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 8px 16px; width: min(100%, 520px); }
.h19-controls[hidden] { display: none; }
.h19-turn {
    width: 52px; height: 52px; display: grid; place-items: center; padding: 0; cursor: pointer;
    border: 1px solid rgb(242 240 233 / 0.32); border-radius: 50%; background: transparent; color: var(--h19-paper);
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms ease;
}
.h19-turn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.h19-turn:hover:not(:disabled) { background: var(--h19-yellow); border-color: var(--h19-yellow); color: var(--h19-ink); }
.h19-turn:active:not(:disabled) { transform: scale(0.94); }
.h19-turn:disabled { opacity: 0.3; cursor: default; }
.h19-scrub { display: flex; gap: 4px; }
.h19-scrub button {
    position: relative; flex: 1; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
}
.h19-scrub button::after {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
    background: rgb(242 240 233 / 0.25); transition: background 250ms ease, height 250ms ease, margin 250ms ease;
}
.h19-scrub button:hover::after { background: rgb(242 240 233 / 0.6); }
.h19-scrub button.is-on::after { background: var(--h19-yellow); height: 4px; margin-top: -2px; }
.h19-where { grid-column: 1 / -1; margin: 0; text-align: center; font: 400 italic 17px/1.3 var(--h19-serif); color: rgb(242 240 233 / 0.72); }

/* ── pages ─────────────────────────────────────────────────────────────────────────────── */
.h19-p { position: relative; height: 100%; }
.h19-p--text {
    display: flex; flex-direction: column; padding: 10cqw 9cqw 14cqw;
    background: var(--h19-paper);
}
.h19-p__title { margin: 0 0 6cqw; font: 500 11cqw/1 var(--h19-serif); letter-spacing: -0.02em; color: var(--h19-ink); text-wrap: balance; }
.h19-p__title--sm { font-size: 8.4cqw; margin-bottom: 4cqw; }
.h19-p__body { margin: 0 0 3cqw; font: 400 max(14px, 3.75cqw)/1.55 var(--h19-serif); color: #2a3530; hyphens: auto; text-wrap: pretty; }
.h19-drop::first-letter { float: left; margin: 0.6cqw 2cqw 0 0; font: 500 15cqw/0.8 var(--h19-serif); color: var(--h19-field); }
.h19-folio {
    position: absolute; left: 9cqw; right: 9cqw; bottom: 5cqw; z-index: 2; display: flex; justify-content: space-between; margin: 0;
    font: 500 max(11px, 2.6cqw)/1 var(--h19-sans); letter-spacing: 0.04em; color: var(--h19-soft);
}
.h19-folio--r { flex-direction: row-reverse; }

/* cover */
.h19-p--cover { overflow: hidden; color: #fff; background: #3a2a22; }
.h19-p--cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h19-p--cover::before, .h19-p--cover::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.h19-p--cover::before { top: 0; height: 34%; background: linear-gradient(rgb(0 0 0 / 0.4), transparent); }
.h19-p--cover::after { bottom: 0; height: 48%; background: linear-gradient(transparent, rgb(0 0 0 / 0.62)); }
.h19-cover__mast {
    position: absolute; z-index: 1; top: 3cqw; left: 0; right: 0; margin: 0; text-align: center;
    font: 800 33cqw/0.9 var(--h19-serif); letter-spacing: -0.03em; color: var(--h19-yellow);
}
.h19-cover__line { position: absolute; z-index: 1; left: 7cqw; right: 22cqw; bottom: 30cqw; margin: 0; font: 400 italic 10cqw/0.98 var(--h19-serif); letter-spacing: -0.015em; }
.h19-cover__sub { position: absolute; z-index: 1; left: 7cqw; right: 26cqw; bottom: 13cqw; margin: 0; font: 500 max(11px, 3.4cqw)/1.35 var(--h19-sans); }
.h19-cover__star { position: absolute; z-index: 1; left: 7cqw; bottom: 6cqw; margin: 0; font: 400 italic max(11px, 3.2cqw)/1 var(--h19-serif); color: var(--h19-yellow); }

/* photo page */
.h19-p--photo { overflow: hidden; background: #26302a; color: #fff; }
.h19-p--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h19-p--photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / 0.55)); }
.h19-photo__credit { position: absolute; z-index: 2; left: 9cqw; right: 9cqw; bottom: 12cqw; margin: 0; font: 500 max(11px, 3.2cqw)/1.3 var(--h19-sans); }
.h19-photo__credit span { display: block; margin-bottom: 1.4cqw; font: 400 italic 8cqw/1 var(--h19-serif); }
.h19-p--photo .h19-folio { color: rgb(255 255 255 / 0.8); }

/* feature text page */
.h19-inset { position: absolute; right: 9cqw; bottom: 12cqw; width: 36cqw; margin: 0; }
.h19-inset img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.h19-inset figcaption { margin-top: 1.6cqw; font: 400 italic max(12px, 2.8cqw)/1.2 var(--h19-serif); color: var(--h19-soft); }

/* intro + contents */
.h19-p__eye { width: 13cqw; height: auto; margin-top: auto; }
.h19-p--contents { padding-top: 0; }
.h19-contents__pic { margin: 0 -9cqw 7cqw; height: 40cqw; overflow: hidden; }
.h19-contents__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.h19-contents { margin: 0; padding: 0; list-style: none; }
.h19-contents__item {
    display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 1.5cqw 0; cursor: pointer;
    border: 0; border-bottom: 1px solid rgb(19 32 26 / 0.14); background: none; color: var(--h19-ink); text-align: left;
    font: 400 max(13px, 4.4cqw)/1.25 var(--h19-serif); transition: color 200ms ease, padding 300ms var(--h19-ease);
}
.h19-contents__n { font: 500 max(11px, 3cqw)/1 var(--h19-sans); color: var(--h19-soft); }
.h19-contents__item:hover { color: var(--h19-green); padding-left: 1.6cqw; }

/* magazines */
.h19-maglist { margin: 3cqw 0 0; padding: 0; list-style: none; }
.h19-maglist__btn {
    position: relative; display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 1.35cqw 0 1.35cqw 0;
    border: 0; border-bottom: 1px solid rgb(19 32 26 / 0.14); background: none; color: var(--h19-ink); cursor: pointer; text-align: left;
    font: 400 max(13px, 4.2cqw)/1.25 var(--h19-serif); transition: color 200ms ease, padding 300ms var(--h19-ease);
}
.h19-maglist__n { font: 500 max(11px, 2.9cqw)/1 var(--h19-sans); color: var(--h19-soft); }
.h19-maglist__btn::before {
    content: ""; position: absolute; left: 0; top: 50%; width: 2.2cqw; height: 2.2cqw; margin-top: -1.1cqw; border-radius: 50%;
    background: var(--h19-yellow); transform: scale(0); transition: transform 300ms var(--h19-ease);
}
.h19-maglist__btn[aria-pressed="true"] { padding-left: 4.4cqw; font-style: italic; }
.h19-maglist__btn[aria-pressed="true"]::before { transform: scale(1); }
.h19-maglist__btn:hover { color: var(--h19-green); }

.h19-p--covers { display: grid; align-content: center; padding: 9cqw 8cqw 14cqw; background: var(--h19-paper-2); }
.h19-covergrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4cqw 3cqw; }
.h19-covergrid[data-count="1"], .h19-covergrid[data-count="2"], .h19-covergrid[data-count="3"], .h19-covergrid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4cqw 4cqw; padding: 0 6cqw; }
.h19-covergrid__item { margin: 0; animation: h19-cover-in 600ms var(--h19-ease) both; }
.h19-covergrid__item[hidden] { display: none; }
.h19-covergrid__item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 2cqw 4cqw -1cqw rgb(19 32 26 / 0.35); }
.h19-covergrid__item figcaption { margin-top: 1.4cqw; font: 400 italic max(12px, 2.8cqw)/1.2 var(--h19-serif); color: var(--h19-soft); }
@keyframes h19-cover-in { from { opacity: 0; transform: translateY(3cqw); } to { opacity: 1; transform: none; } }

/* back cover */
.h19-p--back {
    display: flex; flex-direction: column; align-items: flex-start; padding: 12cqw 10cqw; overflow: hidden;
    background: var(--h19-field); color: var(--h19-paper);
}
.h19-back__eye { width: 18cqw; height: auto; }
.h19-back__title { margin: 9cqw 0 0; font: 400 italic 11.5cqw/1 var(--h19-serif); letter-spacing: -0.02em; }
.h19-back__text { margin: 5cqw 0 7cqw; max-width: 30ch; font: 400 max(12px, 3.6cqw)/1.5 var(--h19-sans); color: rgb(242 240 233 / 0.8); }
.h19-p--back .h19-btn { min-height: max(44px, 11cqw); padding: 0 7cqw; font-size: max(14px, 3.6cqw); }
.h19-back__mast {
    position: absolute; left: 0; right: 0; bottom: -5cqw; margin: 0; text-align: center;
    font: 800 32cqw/0.9 var(--h19-serif); letter-spacing: -0.03em; color: rgb(255 181 0 / 0.95);
}

/* ── faces ─────────────────────────────────────────────────────────────────────────────── */
.h19-faces { background: var(--h19-paper); color: var(--h19-ink); padding: clamp(96px, 11vw, 190px) 0 clamp(80px, 9vw, 160px); overflow: hidden; }
.h19-faces__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: end; }
.h19-faces__lead { margin: 0; max-width: 36ch; font: 400 19px/1.55 var(--h19-sans); color: var(--h19-soft); }
.h19-faces__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); margin-top: clamp(56px, 7vw, 110px); }
.h19-faces__col { display: grid; gap: clamp(28px, 3.4vw, 56px); align-content: start; }
.h19-faces__col:nth-child(2) { padding-top: 18%; }
.h19-faces__col:nth-child(3) { padding-top: 6%; }
.h19-faces__col:nth-child(4) { padding-top: 30%; }
.h19-person { margin: 0; }
.h19-person img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: var(--h19-paper-2); transition: transform 900ms var(--h19-ease), filter 600ms ease; }
.h19-person:hover img { filter: saturate(1.15) contrast(1.04); }
.h19-person figcaption { margin-top: 14px; font: 400 italic 22px/1.2 var(--h19-serif); }

/* ── roles ─────────────────────────────────────────────────────────────────────────────── */
.h19-roles { background: var(--h19-deep); padding: clamp(96px, 11vw, 180px) 0; }
.h19-roles__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.h19-roles__tabs { display: grid; justify-items: start; margin-top: clamp(32px, 4vw, 56px); }
.h19-roles__tab {
    position: relative; padding: 6px 0 6px 0; border: 0; background: none; cursor: pointer; text-align: left;
    font: 400 clamp(30px, 3.2vw, 52px)/1.15 var(--h19-serif); color: rgb(242 240 233 / 0.4);
    transition: color 300ms ease, padding 400ms var(--h19-ease);
}
.h19-roles__tab::before {
    content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 2px; background: var(--h19-yellow);
    transform: scaleX(0); transform-origin: 0 50%; transition: transform 400ms var(--h19-ease);
}
.h19-roles__tab:hover { color: rgb(242 240 233 / 0.75); }
.h19-roles__tab[aria-selected="true"] { color: var(--h19-paper); font-style: italic; padding-left: 40px; }
.h19-roles__tab[aria-selected="true"]::before { transform: scaleX(1); }
.h19-role { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 3.4vw, 56px); align-items: end; }
.h19-role[hidden] { display: none; }
.h19-role__pic { margin: 0; overflow: hidden; }
.h19-role__pic img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.h19-role__name { margin: 0 0 22px; font: 400 italic clamp(30px, 2.6vw, 42px)/1.1 var(--h19-serif); color: var(--h19-yellow); }
.h19-role__lines { margin: 0 0 28px; padding: 0; list-style: none; }
.h19-role__lines li { padding: 0 0 18px; font: 400 18px/1.5 var(--h19-sans); color: rgb(242 240 233 / 0.86); }
.h19-js .h19-role.is-on .h19-role__pic { animation: h19-wipe 900ms var(--h19-ease) both; }
.h19-js .h19-role.is-on .h19-role__pic img { animation: h19-settle 1300ms var(--h19-ease) both; }
.h19-js .h19-role.is-on .h19-role__text > * { animation: h19-rise 700ms var(--h19-ease) both; }
.h19-js .h19-role.is-on .h19-role__text > :nth-child(2) { animation-delay: 90ms; }
.h19-js .h19-role.is-on .h19-role__text > :nth-child(3) { animation-delay: 180ms; }
@keyframes h19-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes h19-settle { from { transform: scale(1.12); } to { transform: none; } }

/* ── join ──────────────────────────────────────────────────────────────────────────────── */
.h19-join { background: var(--h19-paper); color: var(--h19-ink); padding: clamp(96px, 11vw, 180px) 0 0; overflow: hidden; }
.h19-join__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.h19-join__title { margin: 0; font: 500 clamp(56px, 8.4vw, 150px)/0.95 var(--h19-serif); letter-spacing: -0.03em; }
.h19-join__side p { margin: 0; max-width: 34ch; font: 400 19px/1.55 var(--h19-sans); color: var(--h19-soft); }
.h19-join__side .h19-issue__actions { margin-top: 28px; }
.h19-join__banner { --r: 1; margin: clamp(64px, 7vw, 120px) 0 0; height: clamp(280px, 38vw, 680px); overflow: hidden;
    clip-path: inset(0 calc(var(--r) * 14%) 0 calc(var(--r) * 14%)); }
.h19-join__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(calc(1 + var(--r) * 0.18)); }
.h19:not(.h19-run) .h19-join__banner { --r: 0; }

/* reveals (JS adds h19-rv only when motion is allowed) */
.h19-rv { opacity: 0; transform: translateY(36px); transition: opacity 900ms ease var(--d, 0ms), transform 1100ms var(--h19-ease) var(--d, 0ms); }
.h19-rv.is-in { opacity: 1; transform: none; }

/* ── responsive ────────────────────────────────────────────────────────────────────────── */
@media (min-width: 600px) and (min-height: 700px) {
    .h19-js .h19-issue { height: calc(100svh - var(--header-h) + 90svh); }
    .h19-js .h19-issue__stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); min-height: 0; }
}
@media (max-width: 1023px) {
    .h19-issue__stage {
        --pw: min(calc((100vw - 2 * var(--h19-edge)) / 2), calc((100svh - var(--header-h) - 400px) / 1.5));
        grid-template-columns: minmax(0, 1fr); align-content: center; gap: 36px; padding-top: 32px; padding-bottom: 32px;
    }
    .h19-issue__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 32px; align-items: end; }
    .h19-issue__title { grid-row: span 2; }
    .h19-issue__lead { margin: 0; font-size: 16px; }
    .h19-issue__actions { margin-top: 12px; }
    .h19-faces__head, .h19-join__inner { grid-template-columns: minmax(0, 1fr); }
    .h19-roles__grid { grid-template-columns: minmax(0, 1fr); }
    .h19-roles__tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; }
    .h19-roles__tab { white-space: nowrap; font-size: 30px; }
    .h19-roles__tab[aria-selected="true"] { padding-left: 0; }
    .h19-roles__tab::before { top: auto; bottom: 0; width: 100%; }
}
@media (max-width: 599px) {
    .h19-issue__stage {
        --pw: min(calc(100vw - 2 * var(--h19-edge)), calc((100svh - var(--header-h) - 210px) / 1.5));
        display: flex; flex-direction: column; align-items: stretch; gap: 20px; min-height: 0; padding-top: 24px; padding-bottom: 48px;
    }
    .h19-issue__intro { display: contents; }
    .h19-issue__title { order: 1; font-size: 40px; }
    .h19-reader { order: 2; gap: 14px; }
    .h19-issue__lead { order: 3; margin-top: 12px; font-size: 17px; }
    .h19-issue__actions { order: 4; margin-top: 0; }
    .h19-controls { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 4px 10px; }
    .h19-turn { width: 48px; height: 48px; }
    .h19-scrub { gap: 2px; }
    .h19-where { font-size: 15px; }
    .h19-faces__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .h19-faces__col:nth-child(2), .h19-faces__col:nth-child(4) { padding-top: 22%; }
    .h19-faces__col:nth-child(3) { padding-top: 0; }
    .h19-person figcaption { font-size: 18px; margin-top: 10px; }
    .h19-role { grid-template-columns: minmax(0, 1fr); }
    .h19-role__pic img { aspect-ratio: 4 / 5; }
    .h19-roles__tab { font-size: 26px; }
    .h19-role__lines li { font-size: 17px; }
    .h19-join__banner { clip-path: inset(0 calc(var(--r) * 6%) 0 calc(var(--r) * 6%)); }
}
@media (prefers-reduced-motion: reduce) {
    .h19-js .h19-book, .h19-js .h19-issue__intro > *, .h19-covergrid__item,
    .h19-js .h19-role.is-on .h19-role__pic, .h19-js .h19-role.is-on .h19-role__pic img, .h19-js .h19-role.is-on .h19-role__text > * { animation: none; }
    .h19-leaf, .h19-js .h19-book, .h19-book__edge { transition: none; }
    .h19-leaf.is-peek-next, .h19-leaf.is-peek-prev { --peek: 0deg; }
    .h19-join__banner { --r: 0 !important; }
}
