/* Echolect Poetry head: the album cover is the source, rings are the echo, the words come back in other languages. */
.pal-field .pagehead.ec-head{position:relative;margin-top:24px;padding:22px 22px 34px;background:var(--pp,#FCF3CF);border:2px solid var(--ink,#201B0F);
  box-shadow:6px 6px 0 var(--ink,#201B0F);display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start}
.pal-field .pagehead.ec-head::before{content:"";position:absolute;top:-14px;right:-10px;width:58px;height:58px;border-radius:50%;
  background:var(--b1,#A854B9);border:2px solid var(--ink,#201B0F);pointer-events:none;z-index:1}
.pal-field .pagehead.ec-head::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:18px;pointer-events:none;--wc:var(--b1,#A854B9);
  background:radial-gradient(circle at 6.5px 9px,transparent 5.4px,var(--wc) 5.6px 7.6px,transparent 7.8px) 0 0/26px 9px repeat-x,
             radial-gradient(circle at 19.5px 0,transparent 5.4px,var(--wc) 5.6px 7.6px,transparent 7.8px) 0 9px/26px 9px repeat-x}
.ec-head .eyebrow{color:var(--ink,#201B0F);display:inline-block;border-bottom:4px solid var(--b2,#FAD50C);padding-bottom:1px}
.ec-head .ec-copy{min-width:0}
.ec-head .ec-copy p{color:var(--ink-soft,#554C32)}
.ec-head h1{overflow-wrap:anywhere}

.ec-stage{position:relative;display:block;width:100%;height:230px;margin:30px 0 0;padding:0;overflow:hidden;cursor:pointer;
  border:2px solid var(--ink,#201B0F);background:var(--pp2,#ECECDD);box-shadow:4px 4px 0 var(--b2,#FAD50C);
  font:inherit;color:var(--ink,#201B0F);touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.ec-stage:focus-visible{outline:3px solid var(--ink,#201B0F);outline-offset:3px}
.ec-rest,.ec-ring{position:absolute;left:50%;top:50%;border-radius:50%;pointer-events:none}
.ec-rest{border:3px solid var(--b1,#A854B9);width:var(--d);height:var(--d);margin:calc(var(--d) / -2) 0 0 calc(var(--d) / -2);opacity:.55;
  animation:ec-breathe 5.5s ease-in-out infinite;animation-delay:var(--w,0s)}
.ec-rest:nth-of-type(1){--d:120px;border-color:var(--b1,#A854B9);--w:0s}
.ec-rest:nth-of-type(2){--d:170px;border-color:var(--b2,#FAD50C);--w:-1.4s}
.ec-rest:nth-of-type(3){--d:220px;border-color:var(--b3,#B9653E);--w:-2.8s}
.ec-rest:nth-of-type(4){--d:270px;border-color:var(--b4,#7A945A);--w:-4.1s}
.ec-ring{left:var(--x,50%);top:var(--y,50%);width:24px;height:24px;translate:-50% -50%;border:3px solid var(--rc,#A854B9);
  animation:ec-ring 1.9s ease-out forwards;animation-delay:var(--rd,0s);opacity:0}
.ec-cover{position:absolute;left:50%;top:50%;width:92px;height:92px;margin:-46px 0 0 -46px;border-radius:50%;object-fit:cover;
  border:3px solid var(--ink,#201B0F);background:var(--pp,#FCF3CF);box-shadow:3px 3px 0 var(--ink,#201B0F);pointer-events:none;transition:scale .2s}
.ec-stage:hover .ec-cover{scale:1.06}
.ec-stage:active .ec-cover{scale:.94}
.ec-word{position:absolute;left:var(--wx);top:var(--wy);translate:-50% -50%;opacity:0;pointer-events:none;
  font:700 clamp(13px,3.4vw,17px)/1 var(--mono),sans-serif;color:var(--ink,#201B0F);background:var(--wb,#FAD50C);border:2px solid var(--ink,#201B0F);padding:3px 7px 4px;white-space:nowrap}
.ec-word:nth-of-type(1){--wx:20%;--wy:24%;--wb:#FAD50C;--o:1;--d:.18s}
.ec-word:nth-of-type(2){--wx:80%;--wy:28%;--wb:#F2A3C4;--o:.92;--d:.42s}
.ec-word:nth-of-type(3){--wx:15%;--wy:52%;--wb:#C9B3DD;--o:.84;--d:.66s}
.ec-word:nth-of-type(4){--wx:85%;--wy:54%;--wb:#A7B58D;--o:.74;--d:.9s}
.ec-word:nth-of-type(5){--wx:28%;--wy:77%;--wb:#FCAF2C;--o:.64;--d:1.14s}
.ec-word:nth-of-type(6){--wx:72%;--wy:79%;--wb:#7ABEA8;--o:.54;--d:1.38s}
.ec-stage.is-ping .ec-word{animation:ec-word 2.6s ease-out both;animation-delay:var(--d)}
.ec-hint{position:absolute;left:0;right:0;bottom:7px;text-align:center;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft,#554C32);pointer-events:none;
  background:linear-gradient(transparent,var(--pp2,#ECECDD) 60%);padding-top:10px}
@keyframes ec-breathe{0%,100%{scale:.92;opacity:.4}50%{scale:1.04;opacity:.7}}
@keyframes ec-ring{0%{width:24px;height:24px;opacity:.9}100%{width:320px;height:320px;opacity:0}}
@keyframes ec-word{0%{opacity:0;scale:.6}18%{opacity:var(--o,1);scale:1}70%{opacity:calc(var(--o,1) * .7);scale:1}100%{opacity:0;scale:1.08}}
@media (max-width:760px){
  .pal-field .pagehead.ec-head{grid-template-columns:minmax(0,1fr);gap:8px;padding:18px 14px 34px;box-shadow:4px 4px 0 var(--ink,#201B0F)}
  .pal-field .pagehead.ec-head::before{width:42px;height:42px;top:-10px;right:-6px}
  .ec-head h1{padding-right:40px}
  .ec-stage{height:190px;margin-top:6px}
  .ec-rest:nth-of-type(4){display:none}
}
@media (prefers-reduced-motion:reduce){
  .ec-rest{animation:none;opacity:.5}
  .ec-ring{display:none}
  .ec-cover{transition:none}
  .ec-stage:hover .ec-cover,.ec-stage:active .ec-cover{scale:1}
  .ec-stage.is-ping .ec-word{animation:none;opacity:var(--o,1)}
}
@media (forced-colors:active){.pal-field .pagehead.ec-head::before,.pal-field .pagehead.ec-head::after{display:none}}
