/* A second local composition. The approved v1 and shared article remain untouched. */
.engineering-editorial-v2 { --ev-rule: #cdd3d0; }
.engineering-editorial-v2 .ev-breakout { width: var(--ed-width); margin-left: calc((100% - var(--ed-width)) / 2); }
.engineering-editorial-v2 [data-v2-enter] {
    transform: translate(calc(var(--v2-x, 0px) * var(--v2-distance, 1)), var(--v2-y, 0px)) rotate(var(--v2-rotate, 0deg)) scale(var(--v2-scale, 1));
    transform-origin: center;
}
.engineering-editorial-v2 [data-v2-enter="image"] { opacity: calc(.7 + var(--v2-reveal, 1) * .3); }
.engineering-editorial-v2 [data-v2-enter="quote"] { filter: blur(var(--v2-blur, 0px)); }
.engineering-editorial-v2 [data-v2-enter="sticker"] { opacity: var(--v2-reveal, 1); }
.engineering-editorial-v2 .ed-chapter { margin-top: 150px; margin-bottom: 88px; }
.engineering-editorial-v2 .ed-rule { margin-bottom: 70px; }
.engineering-editorial-v2 .ed-chapter .ed-title-line { transform: none; filter: none; opacity: 1; }
.engineering-editorial-v2 .ed-chapter .ed-picture { transform: none; }
.engineering-editorial-v2 .ed-kicker { font-size: 20px; }

/* Five chapters, five typographic/image relationships. */
.engineering-editorial-v2 [data-chapter="prompt"] .ed-plate { grid-column: 4 / 11; margin-top: 130px; }
.engineering-editorial-v2 [data-chapter="prompt"] .ed-chapter-title { padding-top: 70px; font-size: 114px; }
.engineering-editorial-v2 [data-chapter="prompt"] .ed-title-mask:nth-of-type(2) { margin: 92px 0 0; text-align: right; font-size: 86px; }
.engineering-editorial-v2 [data-chapter="prompt"] .ed-caption { text-align: left; max-width: 280px; margin-left: 0; }

.engineering-editorial-v2 [data-chapter="context"] .ed-composition { display: block; }
.engineering-editorial-v2 [data-chapter="context"] .ed-plate { width: 100%; margin: 0; }
.engineering-editorial-v2 [data-chapter="context"] .ed-kicker { position: absolute; top: 20px; right: 34px; z-index: 2; color: white; text-align: right; }
.engineering-editorial-v2 [data-chapter="context"] .ed-kicker span { color: #e0e5df; max-width: none; }
.engineering-editorial-v2 [data-chapter="context"] .ed-chapter-title { position: absolute; bottom: 108px; left: 42px; right: 42px; width: auto; text-align: left; color: white; font-size: 112px; }
.engineering-editorial-v2 [data-chapter="context"] .ed-title-mask:nth-of-type(2) { font-size: 46px; margin-left: 26%; }
.engineering-editorial-v2 [data-chapter="context"] .ed-caption { max-width: none; text-align: right; }

.engineering-editorial-v2 [data-chapter="loop"] .ed-composition { row-gap: 0; }
.engineering-editorial-v2 [data-chapter="loop"] .ed-kicker { grid-column: 1 / 4; grid-row: 1; }
.engineering-editorial-v2 [data-chapter="loop"] .ed-plate { grid-column: 1 / 8; grid-row: 1; margin-top: 108px; }
.engineering-editorial-v2 [data-chapter="loop"] .ed-chapter-title { grid-column: 8 / 13; grid-row: 1; padding-top: 172px; font-size: 116px; text-align: right; }
.engineering-editorial-v2 [data-chapter="loop"] .ed-title-mask:nth-of-type(2) { font-size: 38px; margin: 0; }

.engineering-editorial-v2 [data-chapter="graph"] .ed-kicker { grid-column: 7 / 13; text-align: right; }
.engineering-editorial-v2 [data-chapter="graph"] .ed-kicker span { max-width: none; }
.engineering-editorial-v2 [data-chapter="graph"] .ed-plate { grid-column: 1 / 7; grid-row: 1; margin-top: 58px; }
.engineering-editorial-v2 [data-chapter="graph"] .ed-chapter-title { grid-column: 8 / 13; padding-top: 136px; font-size: 100px; }
.engineering-editorial-v2 [data-chapter="graph"] .ed-title-mask:nth-of-type(2) { font-size: 38px; margin: 0; }

.engineering-editorial-v2 [data-chapter="harness"] .ed-kicker { grid-column: 1 / 4; }
.engineering-editorial-v2 [data-chapter="harness"] .ed-plate { grid-column: 5 / 10; margin-top: 140px; }
.engineering-editorial-v2 [data-chapter="harness"] .ed-chapter-title { grid-column: 1 / 13; align-self: start; margin: 0; padding-top: 44px; text-align: center; font-size: 126px; color: #fff; mix-blend-mode: difference; z-index: 3; }
.engineering-editorial-v2 [data-chapter="harness"] .ed-title-mask:nth-of-type(2) { margin: 230px 0 0; font-size: 68px; text-align: left; }
.engineering-editorial-v2 [data-chapter="harness"] .ed-caption { width: 180px; margin-left: auto; }

/* Prose keeps its DOM reading order while the page opens into three zones. */
.engineering-editorial-v2 .ev-stair { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 76px; margin-bottom: 100px; }
.engineering-editorial-v2 .ev-stair-step:nth-child(2) { margin-top: 140px; }
.engineering-editorial-v2 .ev-stair-step:nth-child(3) { margin-top: 280px; }
.engineering-editorial-v2 :is(.ev-stair-step, .ev-column) > p { font: 400 15px/1.85 var(--engineering-sans); color: #37352f; margin: 0 0 18px; }
.engineering-editorial-v2 .ev-instructions { margin-top: 72px; margin-bottom: 92px; }
.engineering-editorial-v2 .ev-instructions > h3 { font: 400 48px/1.2 var(--ed-serif); max-width: 500px; margin: 0 0 46px; }
.engineering-editorial-v2 .ev-instruction-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.engineering-editorial-v2 .ev-instruction-columns > :nth-child(2) { padding-top: 72px; }
.engineering-editorial-v2 .ev-instruction-columns > :nth-child(3) { padding-top: 144px; }
.engineering-editorial-v2 .ev-spread { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px 28px; margin-top: 48px; margin-bottom: 80px; }
.engineering-editorial-v2 .ev-column { min-width: 0; }
.engineering-editorial-v2 .ev-column > h4 { font: 400 27px/1.25 var(--ed-serif); margin: 0 0 24px; color: #333; text-wrap: balance; }
.engineering-editorial-v2 :is(.ev-shots, .ev-routes) > .ev-column:nth-child(1) { grid-column: 1 / 5; }
.engineering-editorial-v2 :is(.ev-shots, .ev-routes) > .ev-column:nth-child(2) { grid-column: 5 / 9; margin-top: 68px; }
.engineering-editorial-v2 :is(.ev-shots, .ev-routes) > .ev-column:nth-child(3) { grid-column: 9 / 13; margin-top: 136px; }
.engineering-editorial-v2 .ev-shots > .ev-column { padding-top: 18px; border-top: 1px solid var(--ev-rule); }
.engineering-editorial-v2 .ev-duet > .ev-column:nth-child(1) { grid-column: 1 / 6; }
.engineering-editorial-v2 .ev-duet > .ev-column:nth-child(2) { grid-column: 8 / 13; margin-top: 100px; }
.engineering-editorial-v2 .ev-duet > .ev-column:nth-child(1) > h4 { font-style: italic; }
.engineering-editorial-v2 .ev-duet-offset > .ev-column:nth-child(1) { grid-column: 2 / 7; }
.engineering-editorial-v2 .ev-duet-offset > .ev-column:nth-child(2) { grid-column: 9 / 13; margin-top: 150px; }
.engineering-editorial-v2 .ev-duet-loop > .ev-column:nth-child(1) { grid-column: 1 / 5; }
.engineering-editorial-v2 .ev-duet-loop > .ev-column:nth-child(2) { grid-column: 6 / 12; margin-top: 78px; }
.engineering-editorial-v2 .ev-spread > .lesson { grid-column: 1 / 13; width: min(880px, 100%); margin: 8px auto 0; }
.engineering-editorial-v2 .ev-routes > .ev-column { margin-top: 0; }
.engineering-editorial-v2 .ev-routes > .ev-column:nth-child(2) { margin-top: 160px; }
.engineering-editorial-v2 .ev-routes > .ev-column:nth-child(3) { margin-top: 60px; }

/* Statements are the author's actual paragraphs, not additional repeated copy. */
.engineering-editorial-v2 .ev-pull { padding: 64px 0; margin-top: 76px; margin-bottom: 76px; }
.engineering-editorial-v2 .ev-pull > p { margin: 0 auto; font: 400 44px/1.25 var(--ed-serif); max-width: 960px; color: #303936; text-wrap: balance; }
.engineering-editorial-v2 .ev-pull-opening { border-block: 1px solid var(--ev-rule); padding: 74px 54px; }
.engineering-editorial-v2 .ev-pull-opening > p { font-size: 52px; text-align: center; }
.engineering-editorial-v2 .ev-pull-question { border-top: 1px solid var(--ev-rule); }
.engineering-editorial-v2 .ev-pull-question > p { max-width: 780px; margin-right: 0; font-style: italic; }
.engineering-editorial-v2 .ev-pull-trace { padding: 64px 96px; background: #eff3f1; }
.engineering-editorial-v2 .ev-pull-trace > p { font-size: 40px; }
.engineering-editorial-v2 .ev-pull-graph > p { max-width: 860px; margin-left: 0; font-size: 50px; }
.engineering-editorial-v2 .ev-pull-harness { border-block: 1px solid var(--ev-rule); }
.engineering-editorial-v2 .ev-pull-harness > p { text-align: center; font-size: 48px; }
.engineering-editorial-v2 .ev-last-word { margin-top: 80px; margin-bottom: 80px; }
.engineering-editorial-v2 .ev-last-word > p { font: 400 54px/1.25 var(--ed-serif); text-align: center; max-width: 780px; margin-inline: auto; }

/* Existing stickers get their own entry layer; dragging stays on the button. */
.engineering-editorial-v2 .ev-sticker-passage { position: relative; padding: 96px 230px 100px; margin-top: 80px; margin-bottom: 64px; }
.engineering-editorial-v2 .ev-sticker-entry { position: absolute; width: 112px; z-index: 2; }
.engineering-editorial-v2 .ev-sticker-entry > .folder-sticker { position: relative; inset: auto; width: 100%; }
.engineering-editorial-v2 .ev-sticker-0 { left: 36px; top: 74px; }
.engineering-editorial-v2 .ev-sticker-1 { right: 46px; top: 190px; }
.engineering-editorial-v2 .ev-sticker-2 { left: 92px; bottom: 80px; }
.engineering-editorial-v2 .ev-sticker-passage > h3 { font: 400 38px/1.2 var(--ed-serif); }
.engineering-editorial-v2 .ev-sticker-passage > p { margin-bottom: 18px; }
.engineering-editorial-v2 .ev-archive-passage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; position: relative; margin-top: 80px; margin-bottom: 80px; padding-block: 48px; }
.engineering-editorial-v2 .ev-archive-passage > :is(h3, p) { grid-column: 6 / 13; }
.engineering-editorial-v2 .ev-archive-passage > h3 { font: 400 42px/1.2 var(--ed-serif); margin: 0 0 26px; }
.engineering-editorial-v2 .ev-archive-passage > p { font: 400 1rem/1.7 var(--engineering-sans); margin: 0 0 20px; }
.engineering-editorial-v2 .ev-archive-entry { grid-column: 2 / 5; grid-row: 1 / 4; align-self: center; }
.engineering-editorial-v2 .ev-print-right > :is(h3, p) { grid-column: 1 / 8; }
.engineering-editorial-v2 .ev-print-right > .ev-archive-entry { grid-column: 9 / 12; }
.engineering-editorial-v2 .ev-archive-print { position: relative; inset: auto; width: 100%; padding: 0; }
.engineering-editorial-v2 .ev-archive-print .sticker-art { background: white; padding: 8px 8px 22px; box-shadow: 0 5px 16px #24352d20; filter: none; }
.engineering-editorial-v2 .ev-archive-print img { position: static; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }

/* Interludes change the scale of the page, rather than repeat a thumbnail + note. */
.engineering-editorial-v2 .ed-interlude { margin-top: 100px; margin-bottom: 100px; }
.engineering-editorial-v2 .ed-interlude-portrait .ed-interlude-art { grid-column: 2 / 6; }
.engineering-editorial-v2 .ed-interlude-portrait .ed-interlude-note { grid-column: 7 / 13; }
.engineering-editorial-v2 .ed-interlude-portrait .ed-interlude-note p { font-size: 64px; }
.engineering-editorial-v2 .ed-interlude-wide:has(img[src*="saturn"]) { display: grid; grid-template-columns: 1fr; position: relative; }
.engineering-editorial-v2 .ed-interlude-wide:has(img[src*="saturn"]) .ed-interlude-art { grid-column: 1; grid-row: 1; }
.engineering-editorial-v2 .ed-interlude-wide:has(img[src*="saturn"]) .ed-interlude-note { grid-column: 1; grid-row: 1; z-index: 2; width: 62%; padding: 60px; align-self: center; }
.engineering-editorial-v2 .ed-interlude-wide:has(img[src*="saturn"]) .ed-interlude-note p { color: white; font-size: 58px; }
.engineering-editorial-v2 .ed-interlude-wide:has(img[src*="saturn"]) .ed-overline { color: white; }
.engineering-editorial-v2 .ed-interlude-closing { position: relative; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; }
.engineering-editorial-v2 .ed-interlude-closing .ed-interlude-art { grid-column: 5 / 13; grid-row: 1; max-width: none; }
.engineering-editorial-v2 .ed-interlude-closing .ed-interlude-note { grid-column: 1 / 6; grid-row: 1; padding: 0 30px 140px 0; z-index: 2; }
.engineering-editorial-v2 .ed-interlude-closing .ed-interlude-note p { font-size: 72px; color: #314139; }

@media (min-width: 801px) and (max-width: 1480px) {
    .engineering-editorial-v2 { --v2-distance: .35; }
}
@media (min-width: 801px) and (max-width: 1250px) {
    .engineering-editorial-v2 [data-chapter="loop"] .ed-chapter-title { font-size: 88px; }
    .engineering-editorial-v2 [data-chapter="graph"] .ed-chapter-title { font-size: 80px; }
    .engineering-editorial-v2 [data-chapter="harness"] .ed-chapter-title { font-size: 104px; }
    .engineering-editorial-v2 .ev-sticker-passage { padding-inline: 150px; }
    .engineering-editorial-v2 .ev-sticker-entry { width: 90px; }
    .engineering-editorial-v2 .ev-sticker-2 { left: 30px; }
    .engineering-editorial-v2 .ev-stair, .engineering-editorial-v2 .ev-instruction-columns { gap: 30px; }
}
@media (max-width: 800px) {
    .engineering-editorial-v2 [data-v2-enter] { transform: translateY(var(--v2-y, 0px)); }
    .engineering-editorial-v2 .ed-chapter { margin-top: 86px; margin-bottom: 52px; }
    .engineering-editorial-v2 .ed-rule { margin-bottom: 34px; }
    .engineering-editorial-v2 .ed-chapter .ed-composition { display: flex; flex-direction: column; gap: 0; }
    .engineering-editorial-v2 .ed-chapter .ed-kicker { position: static; color: #555; text-align: left; margin-bottom: 26px; padding: 0; }
    .engineering-editorial-v2 .ed-chapter .ed-kicker span { color: #888; }
    .engineering-editorial-v2 .ed-chapter .ed-chapter-title { position: static; width: 100%; margin: 0 0 30px; padding: 0; font-size: 68px; color: #252b2b; mix-blend-mode: normal; text-align: left; }
    .engineering-editorial-v2 .ed-chapter .ed-title-mask:nth-of-type(2) { margin: 0; font-size: 38px; text-align: left; }
    .engineering-editorial-v2 .ed-chapter .ed-plate { width: 100%; margin: 0; order: 2; }
    .engineering-editorial-v2 [data-chapter="harness"] .ed-plate { max-width: 340px; align-self: center; }
    .engineering-editorial-v2 [data-chapter="context"] .ed-chapter-title { text-align: right; }
    .engineering-editorial-v2 [data-chapter="context"] .ed-title-mask:nth-of-type(2) { text-align: right; }
    .engineering-editorial-v2 [data-chapter="loop"] .ed-chapter-title { text-align: center; font-size: 82px; }
    .engineering-editorial-v2 [data-chapter="loop"] .ed-title-mask:nth-of-type(2) { text-align: center; }
    .engineering-editorial-v2 :is(.ev-stair, .ev-instruction-columns, .ev-spread) { display: block; }
    .engineering-editorial-v2 :is(.ev-stair-step, .ev-column) { margin: 0 0 38px !important; padding-top: 0 !important; }
    .engineering-editorial-v2 :is(.ev-stair, .ev-instructions, .ev-spread) { margin-top: 40px; margin-bottom: 48px; }
    .engineering-editorial-v2 .ev-instructions > h3 { font-size: 38px; }
    .engineering-editorial-v2 .ev-stair-step:nth-child(2) { margin-left: 8% !important; }
    .engineering-editorial-v2 .ev-stair-step:nth-child(3) { margin-right: 8% !important; }
    .engineering-editorial-v2 .ev-pull { margin-block: 50px; padding: 40px 0; }
    .engineering-editorial-v2 .ev-pull > p { font-size: 34px; }
    .engineering-editorial-v2 .ev-pull-trace { padding: 34px 24px; }
    .engineering-editorial-v2 .ev-sticker-passage { padding: 110px 0; margin-top: 42px; margin-bottom: 32px; }
    .engineering-editorial-v2 .ev-sticker-entry { width: 74px; }
    .engineering-editorial-v2 .ev-sticker-0 { left: 20px; top: 0; }
    .engineering-editorial-v2 .ev-sticker-1 { right: 60px; top: 0; }
    .engineering-editorial-v2 .ev-sticker-2 { left: auto; right: 46px; bottom: 0; }
    .engineering-editorial-v2 .ev-archive-passage { grid-template-columns: 1fr; margin-block: 52px; padding: 0; }
    .engineering-editorial-v2 .ev-archive-passage > :is(h3, p) { grid-column: 1; }
    .engineering-editorial-v2 .ev-archive-passage > h3 { font-size: 32px; }
    .engineering-editorial-v2 .ev-archive-passage > .ev-archive-entry { grid-column: 1; grid-row: auto; width: 160px; justify-self: end; margin: 24px 28px 12px; }
    .engineering-editorial-v2 .ed-interlude-wide:has(img[src*="saturn"]) { display: flex; flex-direction: column; }
    .engineering-editorial-v2 .ed-interlude-wide:has(img[src*="saturn"]) .ed-interlude-note { width: 100%; padding: 0; }
    .engineering-editorial-v2 .ed-interlude-wide:has(img[src*="saturn"]) .ed-interlude-note p { color: #314139; font-size: 38px; }
    .engineering-editorial-v2 .ed-interlude-wide:has(img[src*="saturn"]) .ed-overline { color: #888; }
    .engineering-editorial-v2 .ed-interlude-closing { display: flex; flex-direction: column; }
    .engineering-editorial-v2 .ed-interlude-closing .ed-interlude-note { padding: 0; }
    .engineering-editorial-v2 .ed-interlude-closing .ed-interlude-note p { font-size: 48px; }
    .engineering-editorial-v2 .ev-last-word > p { font-size: 38px; }
}
@media (max-width: 540px) {
    .engineering-editorial-v2 .ed-chapter .ed-chapter-title { font-size: 50px; }
    .engineering-editorial-v2 .ed-chapter .ed-title-mask:nth-of-type(2) { font-size: 32px; }
    .engineering-editorial-v2 .ev-pull > p { font-size: 30px; }
    .engineering-editorial-v2 .ev-column > h4 { font-size: 25px; }
    .engineering-editorial-v2 .ev-last-word > p { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .engineering-editorial-v2 [data-v2-enter] { transform: none !important; opacity: 1 !important; filter: none !important; }
}
