/* Phase 02: all enhancements stay inside the Editor section. */
.hp-editor { padding-bottom:var(--hp-section-space); }
.hp-editor .hp-artwork-slot { width:min(920px,100%); aspect-ratio:940/330; margin:clamp(32px,3vw,44px) auto 0; }
.hp-editor .hp-artwork-slot svg { display:block; width:100%; height:auto; overflow:visible; }
@media(max-width:760px) { .hp-editor .hp-artwork-slot { margin-top:28px; } }
.hp-editor .hp-artwork-slot svg { pointer-events:none; }

/* Landscape tablets: leave a visible continuation cue below the hero. */
@media (min-width:768px) and (max-width:1440px) and (max-height:820px) and (orientation:landscape) and (pointer:coarse) {
 .hp-main #editor.hp-editor { padding-top:24px;padding-bottom:20px; }
 .hp-main #editor .hp-artwork-slot {
   margin-top:16px;
   width:min(920px,100%,max(320px,calc((100svh - 390px) * 2.84848)));
 }
}
/* Keep the compact landscape hero typography proportional to its artwork. */
@media (min-width:768px) and (max-width:1440px) and (max-height:820px) and (orientation:landscape) and (pointer:coarse) {
 body.hp-body .hp-main #editor.hp-editor #editorTitle { font-size:clamp(40px,4.2vw,52px); }
 body.hp-body .hp-main #editor.hp-editor .hp-heading .hp-subtitle { font-size:clamp(19px,1.7vw,22px);line-height:1.3; }
 body.hp-body .hp-main #editor.hp-editor .hp-actions .hp-button { min-height:44px;padding:10px 20px;font-size:13px;gap:14px; }
}
/* Hero actions share the homepage's rounded dark-glass control treatment. */
body.hp-body #editor.hp-editor .hp-actions .hp-button {
 border-radius:999px;
 background:linear-gradient(160deg,#ffffff05,transparent),#14212de8;
 border-color:#788797;
 color:#f5f7fa;
 box-shadow:inset 0 1px 1px #ffffff14,inset 0 -1px 0 rgba(192,209,224,.12);
}
body.hp-body #editor.hp-editor .hp-actions .hp-button-secondary {
 background:linear-gradient(160deg,#ffffff05,transparent),#0c151ee8;
 border-color:#67758480;
}
body.hp-body #editor.hp-editor .hp-actions .hp-button:hover {
 background-color:#243340;border-color:#a5b3c0;
}
/* Background is a pointer shortcut; typography keeps normal text selection. */
.hp-editor {cursor:pointer;}
.hp-editor .hp-heading :is(h1,h2,h3,p) {cursor:text;}
/* Bring the PLM name into the brand's bright blue. */
body.hp-body .hp-main #editorTitle > span {
 color:#1bbcff;
 text-shadow:0 0 24px rgba(27,188,255,.2);
 transition:color .28s ease,text-shadow .28s ease;
}
body.hp-body .hp-main #editorTitle > span:is(:hover,[data-plm-pen-hover]) {
 color:#d5f3ff;
 text-shadow:0 0 18px rgba(213,243,255,.32),0 0 36px rgba(27,188,255,.22);
}
@media (prefers-reduced-motion:reduce) {
 body.hp-body .hp-main #editorTitle > span {transition:none;}
}
