/* Back-to-top button: shared by every page. Mobile keeps the round "↑ Top" button; desktop shows a labeled pill. */
.ep-to-top{position:fixed;right:24px;bottom:24px;z-index:45;display:grid;place-items:center;width:56px;height:56px;padding:0;border:1px solid var(--ep-ink,#182d43);border-radius:50%;background:var(--ep-ink,#182d43);color:var(--ep-ivory,#fbf8f2);box-shadow:0 12px 25px #182d4330;cursor:pointer}
.ep-to-top span{font:400 23px/1 Georgia,serif}
.ep-to-top small{margin-top:-8px;font:800 7px/1 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.ep-to-top[hidden]{display:none}
.ep-to-top:focus-visible{outline:3px solid var(--ep-terra,#b65d43);outline-offset:3px}
@media(min-width:768px){
  .ep-to-top{right:28px;bottom:28px;width:auto;height:48px;padding:0 20px 0 16px;border-radius:24px;grid-auto-flow:column;gap:10px;transition:background .2s ease,border-color .2s ease,transform .2s ease}
  .ep-to-top span{font-size:19px}
  .ep-to-top small{margin:0;font-size:11px;letter-spacing:.16em}
  .ep-to-top:hover{background:var(--ep-terra,#b65d43);border-color:var(--ep-terra,#b65d43);transform:translateY(-2px)}
}
@media(max-width:767px){.ep-to-top{right:16px;bottom:16px;width:52px;height:52px}}
@media(prefers-reduced-motion:reduce){.ep-to-top{transition:none}}
