/* Editorial case studies: shared rhythm, activated only on converted pages. */
.case-detail.editorial-story-page {display:block;}
.editorial-story-page > .case-primary-visual{width:100%;max-width:1120px;margin:8px auto 0;}
.editorial-story-page .case-film-frame{padding:0;border:0;border-radius:18px;box-shadow:none;background:transparent;}
.editorial-story-page .case-film-frame::before{display:none;}
.editorial-story-page .case-film-frame video{border:0;border-radius:18px;box-shadow:none;}
.editorial-story-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.editorial-story-action{display:flex;justify-content:center;margin:28px auto 14px;}
.editorial-story-try{display:inline-flex;align-items:center;justify-content:center;min-height:60px;min-width:180px;padding:0 36px;border:1px solid #ffc49c70;border-radius:999px;background:var(--case-color,#fff8d4);color:#18171a;font-size:18px;font-weight:600;line-height:1.2;text-decoration:none;}
.editorial-story-try:hover{filter:brightness(1.08);}
.editorial-story-try:focus-visible,.editorial-story-media a:focus-visible{outline:2px solid #fff;outline-offset:5px;}
.editorial-story{max-width:1120px;margin:28px auto 0;width:100%;}
.editorial-story-step{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,5vw,76px);align-items:center;padding:clamp(30px,5vw,70px) 0;border-top:1px solid #ffffff20;}
.editorial-story-reverse .editorial-story-copy{order:2;}
.editorial-story-copy p{font-size:clamp(15px,1.2vw,18px);line-height:1.65;color:#d5cdd9;margin:0;max-width:52ch;}
.editorial-story-media{min-width:0;margin:0;}
.editorial-story-media a{display:block;border-radius:18px;}
.editorial-story-media :is(img,video){display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:18px;border:0;box-shadow:none;background:#17171b;}
@media(max-width:760px){.editorial-story{margin-top:16px;}.editorial-story-step{grid-template-columns:minmax(0,1fr);gap:24px;}.editorial-story-reverse .editorial-story-copy{order:0;}}

/* Hemingway keeps readable, uncropped interface captures and its existing demo. */
.case-detail.hemingway-story-page .case-film-frame{padding:0;border:0;border-radius:18px;background:transparent;box-shadow:none;}
.case-detail.hemingway-story-page .case-primary-visual{width:min(100%,860px);max-width:860px;}
.hemingway-story-pair{display:grid;gap:22px;}
.hemingway-story-page .editorial-story-media img{aspect-ratio:auto;}

.case-detail.hemingway-story-page[data-project-id="hemingway"] .case-primary-visual .case-film-frame video{aspect-ratio:16/9;}
.hemingway-story-page .editorial-story-media video{aspect-ratio:80/53;}
