/* edition-signoff.css -- Edition sign-off blocks + animated "Work In Progress"
   badge for AcreetionOS (testing redesign).
   Design language: pill-nav.css tokens (near-black glass, #2ecc71 green,
   pill radii). Signature treatments: Natalie's purple signature reuses the
   K9Desktop treatment built for her (Great Vibes script, purple #c084fc
   family, flourish underline, soft glow, slight -2deg tilt). Darren's is the
   same script treatment in dark green and black. Great Vibes is self-hosted
   (great-vibes-latin-400-normal.woff2), matching the site's font pattern. */
@font-face{
  font-family:"Great Vibes";
  src:url("great-vibes-latin-400-normal.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}

/* ---------- Animated "Work In Progress" badge ---------- */
.wip-badge{
  --wip-amber:#f39c12;
  display:inline-flex; align-items:center; gap:.5em;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
  font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:#ffd88a; background:rgba(243,156,18,.14);
  border:1px solid rgba(243,156,18,.55); border-radius:999px;
  padding:.34em .85em; vertical-align:middle; white-space:nowrap;
  position:relative; overflow:hidden; isolation:isolate;
  animation:wipPulse 2.4s ease-in-out infinite;
}
.wip-badge::before{
  content:""; flex:0 0 auto; width:.52em; height:.52em; border-radius:999px;
  background:var(--wip-amber);
  animation:wipDot 2.4s ease-in-out infinite;
}
.wip-badge::after{
  content:""; position:absolute; top:0; bottom:0; left:0; width:45%;
  background:linear-gradient(100deg, transparent, rgba(255,216,138,.28), transparent);
  transform:translateX(-140%) skewX(-18deg);
  animation:wipSheen 2.8s ease-in-out infinite; pointer-events:none;
}
@keyframes wipPulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(243,156,18,0), 0 0 8px rgba(243,156,18,.12); }
  50%{ box-shadow:0 0 0 3px rgba(243,156,18,.14), 0 0 20px rgba(243,156,18,.38); }
}
@keyframes wipDot{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.55; transform:scale(.78); }
}
@keyframes wipSheen{
  0%{ transform:translateX(-140%) skewX(-18deg); }
  55%,100%{ transform:translateX(320%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce){
  .wip-badge, .wip-badge::before, .wip-badge::after{ animation:none !important; }
  .wip-badge::after{ display:none; }
}

/* ---------- Sign-off block ---------- */
.signoff{
  --sig-purple:#c084fc; --sig-purple-bright:#d8b4fe; --sig-purple-deep:#a855f7;
  --sig-dgreen:#1e9e50; --sig-dgreen-deep:#14532d;
  margin-top:1.25rem; padding:1.1rem 1.25rem 1.2rem;
  background:var(--pill-glass, rgba(16,24,19,.78));
  border:1px solid var(--pill-line, rgba(46,204,113,.25));
  border-radius:16px; color:var(--pill-ink, #f2f5f2);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
}
.signoff-note{ margin:0 0 .9rem; font-size:.95rem; line-height:1.55; color:#cfdccf;
  display:flex; align-items:center; gap:.7rem; flex-wrap:wrap; }
.signoff-sigs{ display:flex; flex-wrap:wrap; gap:1.1rem 2.5rem; align-items:flex-start; }
.sig-unit{ display:inline-flex; flex-direction:column; gap:3px; }
.sig-name{
  font-family:"Great Vibes","Segoe Script",cursive; font-weight:400;
  font-size:2.1rem; line-height:1.05; white-space:nowrap;
  display:inline-block; transform:rotate(-2deg); position:relative;
  padding:0 6px 5px;
}
.sig-name::after{
  content:""; position:absolute; left:4px; right:4px; bottom:0; height:2px; border-radius:999px;
}
.sig-natalie{
  color:var(--sig-purple);
  text-shadow:0 0 20px rgba(168,85,247,.4), 0 2px 10px rgba(168,85,247,.25);
}
.sig-natalie::after{
  background:linear-gradient(90deg, transparent, var(--sig-purple-deep), var(--sig-purple-bright), transparent);
}
.sig-darren{
  color:var(--sig-dgreen);
  text-shadow:0 0 18px rgba(0,0,0,.55), 0 2px 10px rgba(20,83,45,.45);
}
.sig-darren::after{
  background:linear-gradient(90deg, transparent, #000, var(--sig-dgreen-deep), #000, transparent);
}
.sig-role{ font-size:.78rem; line-height:1.4; color:var(--pill-muted, #9fb3a6); }
.signoff-actions{ margin-top:1.05rem; display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.signoff-watch{
  background:var(--pill-green, #2ecc71); color:#07130b; font-weight:700; text-decoration:none;
  font-size:.92rem; padding:11px 18px; border-radius:999px; min-height:44px;
  display:inline-flex; align-items:center;
  box-shadow:0 8px 26px rgba(46,204,113,.35);
}
.signoff-watch:hover{ background:var(--pill-green-hi, #4be389); color:#07130b; text-decoration:none; }
.signoff a:focus-visible{ outline:2px solid var(--pill-green-hi, #4be389); outline-offset:2px; }

/* Compact variant used inside the homepage edition carousel slides */
.signoff--slide{ margin-top:2px; padding:.85rem 1rem .95rem; border-radius:14px; }
.signoff--slide .sig-name{ font-size:1.65rem; }
.signoff--slide .signoff-sigs{ gap:.8rem 1.8rem; }
.signoff--slide .signoff-actions{ margin-top:.8rem; }
.signoff--slide .signoff-watch{ padding:9px 15px; font-size:.86rem; min-height:40px; }
#editions-carousel .signoff-watch{ color:#07130b; }
#editions-carousel .signoff-watch:hover{ color:#07130b; text-decoration:none; }

/* Follow-progress link used where a download button was removed */
.follow-progress{
  color:var(--pill-green, #2ecc71); font-weight:700; text-decoration:none;
  display:inline-flex; align-items:center; min-height:44px;
}
.follow-progress:hover{ color:var(--pill-green-hi, #4be389); text-decoration:underline; text-underline-offset:4px; }
